diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-04-17 22:16:30 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-04-17 22:18:06 -0400 |
commit | 33615cd5ca4d40286d3000a941f96c5bebdf39fb (patch) | |
tree | 4e90afdc450bcd4b8e0d9d9d299a29704d8968b7 /src/thread | |
parent | 64fbd15fc5274d4e87d27496ddfb5d064c056585 (diff) | |
download | musl-33615cd5ca4d40286d3000a941f96c5bebdf39fb.tar.gz musl-33615cd5ca4d40286d3000a941f96c5bebdf39fb.tar.bz2 musl-33615cd5ca4d40286d3000a941f96c5bebdf39fb.tar.xz musl-33615cd5ca4d40286d3000a941f96c5bebdf39fb.zip |
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/thread')
-rw-r--r-- | src/thread/sh/syscall_cp.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/sh/syscall_cp.s b/src/thread/sh/syscall_cp.s index c783ca05..6b28ddf0 100644 --- a/src/thread/sh/syscall_cp.s +++ b/src/thread/sh/syscall_cp.s @@ -22,7 +22,7 @@ __cp_begin: 1: .align 2 -L1: .long __cancel-(1b-.) +L1: .long __cancel@PLT-(1b-.) 2: mov r5, r3 mov r6, r4 |