Fix a missed file in r234580: replace the now-obsolete powerpc_mb() with

regular mb().
This commit is contained in:
Nathan Whitehorn 2012-04-23 00:54:06 +00:00
parent a4cbf436e7
commit c606eab458

View File

@ -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 */