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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
 
#if __FDPIC__
#define ABI_SUFFIX "-fdpic"
#else
#define ABI_SUFFIX ""
#endif

#define LDSO_ARCH "xtensa" ABI_SUFFIX

#define TPOFF_K 0

#define REL_PLT         R_XTENSA_JMP_SLOT
#define REL_GOT         R_XTENSA_GLOB_DAT

#if __FDPIC__
#define REL_SYMBOLIC	R_XTENSA_SYM32
#define REL_TPOFF	R_XTENSA_TLS_TPOFF
#define REL_TLSDESC	R_XTENSA_TLSDESC
#define REL_FUNCDESC	R_XTENSA_FUNCDESC
#define REL_FUNCDESC_VAL R_XTENSA_FUNCDESC_VALUE

#define DL_FDPIC 1
#define DL_NOMMU_SUPPORT 1

#define CRTJMP(pc,sp) do { \
	register size_t a4 __asm__("a4") = ((size_t *)(sp))[-2]; \
	__asm__ __volatile__( "mov a1, %1 ; jx %0" \
	: : "r"(pc), "r"(sp), "r"(a4) : "memory" ); } while(0)

#define GETFUNCSYM(fp, sym, got) __asm__ ( \
	"movi %0, " #sym "@GOTOFFFUNCDESC ; add %0, %0, %1" \
	: "=&a"(*fp) : "a"(got) : "memory" )
#endif
debug log:

solving cd7a455a2d9c ...
found cd7a455a2d9c in https://inbox.vuxu.org/musl/20240328200319.4016902-2-jcmvbkbc@gmail.com/ ||
	https://inbox.vuxu.org/musl/20240506180112.1045944-2-jcmvbkbc@gmail.com/

applying [1/2] https://inbox.vuxu.org/musl/20240328200319.4016902-2-jcmvbkbc@gmail.com/
diff --git a/arch/xtensa/reloc.h b/arch/xtensa/reloc.h
new file mode 100644
index 000000000000..cd7a455a2d9c

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

skipping https://inbox.vuxu.org/musl/20240506180112.1045944-2-jcmvbkbc@gmail.com/ for cd7a455a2d9c
index at:
100644 cd7a455a2d9c517e27920d358be363afd4510ada	arch/xtensa/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).