diff options
| author | Rich Felker <dalias@aerifal.cx> | 2015-04-19 20:50:03 -0400 |
|---|---|---|
| committer | Rich Felker <dalias@aerifal.cx> | 2015-04-19 20:50:03 -0400 |
| commit | 646cb9a4a04e5ed78e2dd928bf9dc6e79202f609 (patch) | |
| tree | 75a0c54e02ba8a9623cb5e40ff0942614a696067 /src/setjmp | |
| parent | remove potentially PIC-incompatible relocations from x86_64 and x32 asm (diff) | |
| download | grovel-646cb9a4a04e5ed78e2dd928bf9dc6e79202f609.tar.gz grovel-646cb9a4a04e5ed78e2dd928bf9dc6e79202f609.tar.xz | |
remove invalid PLT calls from sh asm
these are perfectly fine with ld-time symbol binding, but if the calls
go through a PLT thunk, they are invalid because the caller does not
setup a GOT register. use a hidden alias to bypass the issue.
Diffstat (limited to 'src/setjmp')
| -rw-r--r-- | src/setjmp/sh/setjmp.s | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/setjmp/sh/setjmp.s b/src/setjmp/sh/setjmp.s index 49e2d985..ffde8687 100644 --- a/src/setjmp/sh/setjmp.s +++ b/src/setjmp/sh/setjmp.s @@ -1,9 +1,12 @@ +.global ___setjmp +.hidden ___setjmp .global __setjmp .global _setjmp .global setjmp .type __setjmp, @function .type _setjmp, @function .type setjmp, @function +___setjmp: __setjmp: _setjmp: setjmp: |
