diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2014-05-07 17:21:22 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2014-05-07 17:21:22 +0000 |
| commit | 7a61fc5a8eaa79ad84d8844ca26cead31b62fb29 (patch) | |
| tree | dfdb435ab0a397f493d19cfc4df80c49edc7794b /libexec | |
| parent | 665484d8f0c735d367ecdfc53aa49c19060703b1 (diff) | |
Notes
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/rtld-elf/Symbol.map | 2 | ||||
| -rw-r--r-- | libexec/rtld-elf/rtld.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libexec/rtld-elf/Symbol.map b/libexec/rtld-elf/Symbol.map index e82b1d45297d..5ea7d7e171f6 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 72b312f337b9..443767d99ba4 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(); } /* |
