summaryrefslogtreecommitdiff
path: root/libexec/ld.so
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-06-05 21:40:59 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-06-05 21:40:59 +0000
commitf8d643525be0de3ab6a9fa5ffbcc4f2344f33950 (patch)
tree64db5a6118cb2db92a04ce980b5002187acc7d73 /libexec/ld.so
parent49f49db00a3396eb3cf130a74bd886153b55de1b (diff)
Argh, revert previous change, for older binutils do not grok the fic() change.
Diffstat (limited to 'libexec/ld.so')
-rw-r--r--libexec/ld.so/hppa/rtld_machine.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libexec/ld.so/hppa/rtld_machine.c b/libexec/ld.so/hppa/rtld_machine.c
index 445ee99275f..73af16eb02e 100644
--- a/libexec/ld.so/hppa/rtld_machine.c
+++ b/libexec/ld.so/hppa/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.21 2010/06/05 17:04:44 miod Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.22 2010/06/05 21:40:58 miod Exp $ */
/*
* Copyright (c) 2004 Michael Shalayeff
@@ -368,8 +368,13 @@ _dl_md_reloc_got(elf_object_t *object, int lazy)
__asm __volatile("fdc 0(%0)" :: "r" (&got[-7]));
__asm __volatile("fdc 0(%0)" :: "r" (&got[-6]));
__asm __volatile("sync");
+#if 0
__asm __volatile("fic 0(%%sr0,%0)" :: "r" (&got[-7]));
__asm __volatile("fic 0(%%sr0,%0)" :: "r" (&got[-6]));
+#else
+ __asm __volatile("fic 0(%0)" :: "r" (&got[-7]));
+ __asm __volatile("fic 0(%0)" :: "r" (&got[-6]));
+#endif
__asm __volatile("sync");
/*