mailing list of musl libc
 help / color / mirror / code / Atom feed
8bd90dda6f655ce3998e6a6dae0d587f6d8a68cf blob 790 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
 
#if defined __riscv_float_abi_soft
#define RISCV_FP_SUFFIX "-sf"
#elif defined __riscv_float_abi_single
#define RISCV_FP_SUFFIX "-sp"
#elif defined __riscv_float_abi_double
#define RISCV_FP_SUFFIX ""
#endif

#define RISCV_LDSO_HELPER(x) "riscv" #x
#define RISCV_LDSO(x) RISCV_LDSO_HELPER(x)

#define LDSO_ARCH RISCV_LDSO(__riscv_xlen) RISCV_FP_SUFFIX

#define NO_LEGACY_INITFINI

#define TPOFF_K 0

#define REL_SYMBOLIC    R_RISCV_64
#define REL_PLT         R_RISCV_JUMP_SLOT
#define REL_RELATIVE    R_RISCV_RELATIVE
#define REL_COPY        R_RISCV_COPY
#define REL_DTPMOD      R_RISCV_TLS_DTPMOD64
#define REL_DTPOFF      R_RISCV_TLS_DTPREL64
#define REL_TPOFF       R_RISCV_TLS_TPREL64

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

solving 8bd90dd ...
found 8bd90dd in https://inbox.vuxu.org/musl/20190524144608.5998-1-sir@cmpwn.com/ ||
	https://inbox.vuxu.org/musl/20180928022404.GQ17995@brightrain.aerifal.cx/

applying [1/2] https://inbox.vuxu.org/musl/20190524144608.5998-1-sir@cmpwn.com/
diff --git a/arch/riscv64/reloc.h b/arch/riscv64/reloc.h
new file mode 100644
index 00000000..8bd90dda

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

skipping https://inbox.vuxu.org/musl/20180928022404.GQ17995@brightrain.aerifal.cx/ for 8bd90dda
index at:
100644 8bd90dda6f655ce3998e6a6dae0d587f6d8a68cf	arch/riscv64/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).