diff options
author | John van Groningen | 2013-07-18 12:02:11 +0000 |
---|---|---|
committer | John van Groningen | 2013-07-18 12:02:11 +0000 |
commit | e3d8b345141ae2d9cc7d590cdad4d53f2e3b3c4e (patch) | |
tree | a858ed38f757b217d33645f4f49b78ac397ccaa6 | |
parent | use @PLT to call clib functions if code is position independent (diff) |
store offset to e__system__dind instead of address if code is position independent
-rw-r--r-- | astartup.asm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/astartup.asm b/astartup.asm index 69ce5cc..292b8c1 100644 --- a/astartup.asm +++ b/astartup.asm @@ -3345,7 +3345,11 @@ eval_fill: lea rax,e__system__eaind+0 jmp rax db 0,0,0 + ifdef PIC + dd e__system__dind-. + else dd e__system__dind + endif dd -2 e__system__nind: __indirection: |