mailing list of musl libc
 help / color / mirror / code / Atom feed
822b1a60f1982e04cd855b00c7225bb4899fefaa blob 750 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
 
#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" )

#define GETFUNCSYM(fp, sym, got) __asm__ ( \
	".hidden " #sym "\n" \
	".align 8 \n" \
	"	la.local $t1, "#sym" \n" \
	"	move %0, $t1 \n" \
	: "=r"(*(fp)) : : "memory" )
debug log:

solving a4482b48 ...
found a4482b48 in https://inbox.vuxu.org/musl/4cb6e3a.2f0.18b0d3f81eb.Coremail.huajingyun@loongson.cn/ ||
	https://inbox.vuxu.org/musl/20240125174353.GW22081@brightrain.aerifal.cx/ ||
	https://inbox.vuxu.org/musl/3838b2d6-8330-33b5-fd87-8af3404a29dc@loongson.cn/

applying [1/3] https://inbox.vuxu.org/musl/4cb6e3a.2f0.18b0d3f81eb.Coremail.huajingyun@loongson.cn/
diff --git a/arch/loongarch64/reloc.h b/arch/loongarch64/reloc.h\r
new file mode 100644\r
index 00000000..a4482b48\r

1:7: trailing whitespace.
#ifdef __loongarch_soft_float\r
1:8: trailing whitespace.
#define FP_SUFFIX "-sf"\r
1:9: trailing whitespace.
#else\r
1:10: trailing whitespace.
#define FP_SUFFIX ""\r
1:11: trailing whitespace.
#endif\r
Checking patch arch/loongarch64/reloc.h...
Applied patch arch/loongarch64/reloc.h cleanly.
warning: squelched 22 whitespace errors
warning: 27 lines add whitespace errors.

skipping https://inbox.vuxu.org/musl/20240125174353.GW22081@brightrain.aerifal.cx/ for a4482b48
skipping https://inbox.vuxu.org/musl/3838b2d6-8330-33b5-fd87-8af3404a29dc@loongson.cn/ for a4482b48
index at:
100644 822b1a60f1982e04cd855b00c7225bb4899fefaa	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).