mailing list of musl libc
 help / color / mirror / code / Atom feed
fb6be3eaf5ebde8969e254eae7fb8279af308985 blob 712 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
 
#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 REL_IRELATIVE   R_X86_64_IRELATIVE

#define CRTJMP(pc,sp) __asm__ __volatile__( \
	"mov %1,%%rsp ; jmp *%0" : : "r"(pc), "r"(sp) : "memory" )

#define GETFUNCSYM(fp, sym, got) __asm__ ( \
	".hidden " #sym "\n" \
	"	lea " #sym "(%%rip),%0\n" \
	: "=r"(*fp) : : "memory" )
debug log:

solving fb6be3ea ...
found fb6be3ea in https://inbox.vuxu.org/musl/20220823184157.42134-1-info@bnoordhuis.nl/
found fac0c0ae in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 fac0c0ae3e779132766a158455e8cbb6c037c723	arch/x86_64/reloc.h

applying [1/1] https://inbox.vuxu.org/musl/20220823184157.42134-1-info@bnoordhuis.nl/
diff --git a/arch/x86_64/reloc.h b/arch/x86_64/reloc.h
index fac0c0ae..fb6be3ea 100644

Checking patch arch/x86_64/reloc.h...
Applied patch arch/x86_64/reloc.h cleanly.

index at:
100644 fb6be3eaf5ebde8969e254eae7fb8279af308985	arch/x86_64/reloc.h

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).