summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2012-04-23 00:54:06 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2012-04-23 00:54:06 +0000
commit81487b906838c16f3b92d10125a8d0bb5962dc25 (patch)
tree257e8a532b044c89d2cf2d9a60391f8505b98047 /libexec/rtld-elf
parent265701f4926b78a7c0cc8a21dfa20cd2e5d5b03d (diff)
downloadFreeBSD-src-81487b906838c16f3b92d10125a8d0bb5962dc25.zip
FreeBSD-src-81487b906838c16f3b92d10125a8d0bb5962dc25.tar.gz
Fix a missed file in r234580: replace the now-obsolete powerpc_mb() with
regular mb().
Diffstat (limited to 'libexec/rtld-elf')
-rw-r--r--libexec/rtld-elf/powerpc/reloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rtld-elf/powerpc/reloc.c b/libexec/rtld-elf/powerpc/reloc.c
index 979e43e..40a19ea 100644
--- a/libexec/rtld-elf/powerpc/reloc.c
+++ b/libexec/rtld-elf/powerpc/reloc.c
@@ -38,7 +38,7 @@
#include <string.h>
#include <unistd.h>
#include <machine/cpu.h>
-#include <machine/cpufunc.h>
+#include <machine/atomic.h>
#include <machine/md_var.h>
#include "debug.h"
@@ -499,7 +499,7 @@ reloc_jmpslot(Elf_Addr *wherep, Elf_Addr target, const Obj_Entry *defobj,
jmptab = obj->pltgot + JMPTAB_BASE(N);
jmptab[reloff] = target;
- powerpc_mb(); /* Order jmptab update before next changes */
+ mb(); /* Order jmptab update before next changes */
if (reloff < PLT_EXTENDED_BEGIN) {
/* for extended PLT entries, we keep the old code */
OpenPOWER on IntegriCloud