summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/sparc64/rtld_start.S
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rtld-elf/sparc64/rtld_start.S')
-rw-r--r--libexec/rtld-elf/sparc64/rtld_start.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/rtld-elf/sparc64/rtld_start.S b/libexec/rtld-elf/sparc64/rtld_start.S
index 146c6314..58bdd1b 100644
--- a/libexec/rtld-elf/sparc64/rtld_start.S
+++ b/libexec/rtld-elf/sparc64/rtld_start.S
@@ -71,8 +71,9 @@ END(.rtld_start)
* Find the address of _DYNAMIC by disassembling a call instruction to it.
* Binutils may not fill in the GOT as expected on other architectures.
*/
+.weak _DYNAMIC
-ENTRY(rtld_dynamic)
+ENTRY(rtld_dynamic_addr)
save %sp, -CCFSZ, %sp
call 1f
nop
@@ -82,7 +83,7 @@ ENTRY(rtld_dynamic)
sra %o0, 0, %o0
ret
restore %o0, %o7, %o0
-END(rtld_dynamic)
+END(rtld_dynamic_addr)
/*
* We have two separate entry points to the runtime linker.
OpenPOWER on IntegriCloud