summaryrefslogtreecommitdiff
path: root/src/ldso
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-04-17 22:16:30 -0400
committerRich Felker <dalias@aerifal.cx>2015-04-17 22:18:06 -0400
commit33615cd5ca4d40286d3000a941f96c5bebdf39fb (patch)
tree4e90afdc450bcd4b8e0d9d9d299a29704d8968b7 /src/ldso
parent64fbd15fc5274d4e87d27496ddfb5d064c056585 (diff)
downloadmusl-33615cd5ca4d40286d3000a941f96c5bebdf39fb.tar.gz
fix sh build regressions in asm
even hidden functions need @PLT symbol references; otherwise an absolute address is produced instead of a PC-relative one.
Diffstat (limited to 'src/ldso')
-rw-r--r--src/ldso/sh/dlsym.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldso/sh/dlsym.s b/src/ldso/sh/dlsym.s
index 15a8dce8..bc8fd679 100644
--- a/src/ldso/sh/dlsym.s
+++ b/src/ldso/sh/dlsym.s
@@ -8,4 +8,4 @@ dlsym:
1: mov.l @r15, r6
.align 2
-L1: .long __dlsym-(1b-.)
+L1: .long __dlsym@PLT-(1b-.)