mirror of git://git.musl-libc.org/musl
16 lines
540 B
C
16 lines
540 B
C
#define LDSO_ARCH "x86_64"
|
|
|
|
#define REL_SYMBOLIC R_X86_64_64
|
|
#define REL_OFFSET32 R_X86_64_PC32
|
|
#define REL_GOT R_X86_64_GLOB_DAT
|
|
#define REL_PLT R_X86_64_JUMP_SLOT
|
|
#define REL_RELATIVE R_X86_64_RELATIVE
|
|
#define REL_COPY R_X86_64_COPY
|
|
#define REL_DTPMOD R_X86_64_DTPMOD64
|
|
#define REL_DTPOFF R_X86_64_DTPOFF64
|
|
#define REL_TPOFF R_X86_64_TPOFF64
|
|
#define REL_TLSDESC R_X86_64_TLSDESC
|
|
|
|
#define CRTJMP(pc,sp) __asm__ __volatile__( \
|
|
"mov %1,%%rsp ; jmp *%0" : : "r"(pc), "r"(sp) : "memory" )
|