summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/rtld.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rtld-elf/rtld.c')
-rw-r--r--libexec/rtld-elf/rtld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c
index 72b312f..443767d 100644
--- a/libexec/rtld-elf/rtld.c
+++ b/libexec/rtld-elf/rtld.c
@@ -3551,7 +3551,7 @@ r_debug_state(struct r_debug* rd, struct link_map *m)
* even when marked __noinline. However, gdb depends on those
* calls being made.
*/
- __asm __volatile("" : : : "memory");
+ __compiler_membar();
}
/*
@@ -3564,7 +3564,7 @@ _r_debug_postinit(struct link_map *m)
{
/* See r_debug_state(). */
- __asm __volatile("" : : : "memory");
+ __compiler_membar();
}
/*
OpenPOWER on IntegriCloud