mailing list of musl libc
 help / color / mirror / code / Atom feed
682123201fbbb73b5c55b180aa144b0fe8376e85 blob 554 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
 
#ifdef __loongarch_soft_float
#define FP_SUFFIX "-sf"
#else
#define FP_SUFFIX ""
#endif

#define LDSO_ARCH "loongarch64"  FP_SUFFIX

#define TPOFF_K         0

#define REL_PLT         R_LARCH_JUMP_SLOT
#define REL_COPY        R_LARCH_COPY
#define REL_DTPMOD      R_LARCH_TLS_DTPMOD64
#define REL_DTPOFF      R_LARCH_TLS_DTPREL64
#define REL_TPOFF       R_LARCH_TLS_TPREL64
#define REL_RELATIVE    R_LARCH_RELATIVE
#define REL_SYMBOLIC    R_LARCH_64

#define CRTJMP(pc,sp) __asm__ __volatile__( \
	"move $sp, %1 ; jr %0" : : "r"(pc), "r"(sp) : "memory" )
debug log:

solving 68212320 ...
found 68212320 in https://inbox.vuxu.org/musl/fde95bef-50c7-8723-3905-df834723b0cc@loongson.cn/ ||
	https://inbox.vuxu.org/musl/a5e11238-0da1-7ce2-c61b-11980a430f1d@loongson.cn/

applying [1/2] https://inbox.vuxu.org/musl/fde95bef-50c7-8723-3905-df834723b0cc@loongson.cn/
diff --git a/arch/loongarch64/reloc.h b/arch/loongarch64/reloc.h
new file mode 100644
index 00000000..68212320

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

skipping https://inbox.vuxu.org/musl/a5e11238-0da1-7ce2-c61b-11980a430f1d@loongson.cn/ for 68212320
index at:
100644 682123201fbbb73b5c55b180aa144b0fe8376e85	arch/loongarch64/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).