summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rtld-elf')
-rw-r--r--libexec/rtld-elf/Symbol.map2
-rw-r--r--libexec/rtld-elf/rtld.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/libexec/rtld-elf/Symbol.map b/libexec/rtld-elf/Symbol.map
index e82b1d4..5ea7d7e 100644
--- a/libexec/rtld-elf/Symbol.map
+++ b/libexec/rtld-elf/Symbol.map
@@ -30,5 +30,5 @@ FBSDprivate_1.0 {
_rtld_atfork_post;
_rtld_addr_phdr;
_rtld_get_stack_prot;
- _rtld_debug_postinit;
+ _r_debug_postinit;
};
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