diff options
author | kib <kib@FreeBSD.org> | 2015-04-12 06:45:40 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-04-12 06:45:40 +0000 |
commit | 39372044850f47dd4bea491cc717b227b8214a46 (patch) | |
tree | 44179ca0f62fcdabf76a69020223ce74137e5250 /libexec/rtld-elf/i386/rtld_start.S | |
parent | 0fe937192c3bb4e05e924beb5bbc3749efc648cc (diff) | |
download | FreeBSD-src-39372044850f47dd4bea491cc717b227b8214a46.zip FreeBSD-src-39372044850f47dd4bea491cc717b227b8214a46.tar.gz |
MFC r280816:
Change default visibility for rtld to hidden, on x86.
Diffstat (limited to 'libexec/rtld-elf/i386/rtld_start.S')
-rw-r--r-- | libexec/rtld-elf/i386/rtld_start.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rtld-elf/i386/rtld_start.S b/libexec/rtld-elf/i386/rtld_start.S index e7df748..87dca0e 100644 --- a/libexec/rtld-elf/i386/rtld_start.S +++ b/libexec/rtld-elf/i386/rtld_start.S @@ -42,7 +42,7 @@ pushl %ecx # Pass address of obj_main pushl %ebx # Pass address of exit proc pushl %eax # Pass initial stack pointer to rtld - call _rtld@PLT # Call rtld(sp); returns entry point + call _rtld # Call rtld(sp); returns entry point addl $16,%esp # Remove arguments from stack popl %edx # Get exit procedure address movl %esi,%esp # Ignore obj_main @@ -78,7 +78,7 @@ _rtld_bind_start: pushl 20(%esp) # Copy reloff argument pushl 20(%esp) # Copy obj argument - call _rtld_bind@PLT # Transfer control to the binder + call _rtld_bind # Transfer control to the binder /* Now %eax contains the entry point of the function being called. */ addl $8,%esp # Discard binder arguments |