Mark functions as such. This means we call them directly rather than have

the dynamic linker copy them, but not relocate them at the new location.
This allows us to run sqlite3 without it crashing.

Sponsored by:	ABT Systems Ltd
This commit is contained in:
Andrew Turner 2015-10-27 22:24:57 +00:00
parent ba99cc0b86
commit 4dd6ed5ce6

View File

@ -39,7 +39,7 @@
#define _C_LABEL(x) x
#define ENTRY(sym) \
.text; .globl sym; .align 2; sym:
.text; .globl sym; .align 2; .type sym,#function; sym:
#define EENTRY(sym) \
.globl sym; sym:
#define END(sym) .size sym, . - sym