Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/libexec/ld.elf_so Pull up following revision(s) (requeste...
details: https://anonhg.NetBSD.org/src/rev/6339268cf763
branches: netbsd-7
changeset: 799061:6339268cf763
user: snj <snj%NetBSD.org@localhost>
date: Mon Mar 09 07:56:43 2015 +0000
description:
Pull up following revision(s) (requested by skrll in ticket #569):
libexec/ld.elf_so/rtld.c: revision 1.175
HPPA hack for a problem where gdb doesn't see _rtld_debug_state when
it's a single bv,n %r0(%rp) instruction.
The nullify confuses something.
diffstat:
libexec/ld.elf_so/rtld.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 453fd365b5d5 -r 6339268cf763 libexec/ld.elf_so/rtld.c
--- a/libexec/ld.elf_so/rtld.c Mon Mar 09 07:54:12 2015 +0000
+++ b/libexec/ld.elf_so/rtld.c Mon Mar 09 07:56:43 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtld.c,v 1.173 2014/03/18 16:05:34 joerg Exp $ */
+/* $NetBSD: rtld.c,v 1.173.4.1 2015/03/09 07:56:43 snj Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: rtld.c,v 1.173 2014/03/18 16:05:34 joerg Exp $");
+__RCSID("$NetBSD: rtld.c,v 1.173.4.1 2015/03/09 07:56:43 snj Exp $");
#endif /* not lint */
#include <sys/param.h>
@@ -1420,6 +1420,9 @@
void
_rtld_debug_state(void)
{
+#if defined(__hppa__)
+ __asm volatile("nop" ::: "memory");
+#endif
/* Prevent optimizer from removing calls to this function */
__insn_barrier();
Home |
Main Index |
Thread Index |
Old Index