diff options
author | midipix <writeonce@midipix.org> | 2015-06-08 01:06:59 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2015-07-18 20:11:03 -0400 |
commit | c00c94a763b256f7ff8c0e6ae568119cb11995e6 (patch) | |
tree | fedad971fefa3962e29f78e6267df5a987a9cbfe /src/setjmp/nt64 | |
parent | 51d2a078cef514252bd12a1dd16dcfa456b1f296 (diff) | |
download | mmglue-c00c94a763b256f7ff8c0e6ae568119cb11995e6.tar.bz2 mmglue-c00c94a763b256f7ff8c0e6ae568119cb11995e6.tar.xz |
add manual .got entries to assembly files.
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
Diffstat (limited to 'src/setjmp/nt64')
-rw-r--r-- | src/setjmp/nt64/longjmp.s | 6 | ||||
-rw-r--r-- | src/setjmp/nt64/setjmp.s | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/setjmp/nt64/longjmp.s b/src/setjmp/nt64/longjmp.s index f0b8253..21e879b 100644 --- a/src/setjmp/nt64/longjmp.s +++ b/src/setjmp/nt64/longjmp.s @@ -30,3 +30,9 @@ longjmp: mov 0x08(%rcx), %rsp # saved stack pointer mov (%rcx), %rdx # return address jmp *%rdx # return + + .section .got$longjmp + .global __imp_longjmp +__imp_longjmp: + .quad longjmp + .linkonce discard diff --git a/src/setjmp/nt64/setjmp.s b/src/setjmp/nt64/setjmp.s index 3369331..a3988bb 100644 --- a/src/setjmp/nt64/setjmp.s +++ b/src/setjmp/nt64/setjmp.s @@ -25,3 +25,9 @@ setjmp: xor %eax, %eax ret + + .section .got$setjmp,"r" + .global __imp_setjmp +__imp_setjmp: + .quad setjmp + .linkonce discard |