Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/neutrinolabs/librfxcodec.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.asm')
-rw-r--r--src/common.asm7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/common.asm b/src/common.asm
index d498b9f..e90589d 100644
--- a/src/common.asm
+++ b/src/common.asm
@@ -56,8 +56,7 @@ section .note.GNU-stack noalloc noexec nowrite progbits
%undef lsym
%ifdef ASM_ARCH_AMD64
-%macro get_GOT 0
-%endmacro
+; amd64; don't define or call RETRIEVE_RODATA
%define lsym(name) rel name
%endif
@@ -66,7 +65,7 @@ section .note.GNU-stack noalloc noexec nowrite progbits
%ifdef PIC
; i386 ELF PIC
%define use_elf_pic 1
-%macro get_GOT 0
+%macro RETRIEVE_RODATA 0
call ..@get_GOT
%%getgot:
add ebx, _GLOBAL_OFFSET_TABLE_ + $$ - %%getgot wrt ..gotpc
@@ -85,7 +84,7 @@ section .note.GNU-stack noalloc noexec nowrite progbits
%endif
%ifndef lsym
-%macro get_GOT 0
+%macro RETRIEVE_RODATA 0
%endmacro
%define lsym(name) name
%endif