mirror of
git://git.musl-libc.org/musl
synced 2025-03-20 18:09:25 +00:00
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.
This commit is contained in:
parent
64fbd15fc5
commit
33615cd5ca
@ -8,4 +8,4 @@ dlsym:
|
|||||||
1: mov.l @r15, r6
|
1: mov.l @r15, r6
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
L1: .long __dlsym-(1b-.)
|
L1: .long __dlsym@PLT-(1b-.)
|
||||||
|
@ -22,7 +22,7 @@ __cp_begin:
|
|||||||
1:
|
1:
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
L1: .long __cancel-(1b-.)
|
L1: .long __cancel@PLT-(1b-.)
|
||||||
|
|
||||||
2: mov r5, r3
|
2: mov r5, r3
|
||||||
mov r6, r4
|
mov r6, r4
|
||||||
|
Loading…
Reference in New Issue
Block a user