summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/reloc.h2
-rw-r--r--arch/x86_64/reloc.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/i386/reloc.h b/arch/i386/reloc.h
index 02b5fa02..3ca9d11d 100644
--- a/arch/i386/reloc.h
+++ b/arch/i386/reloc.h
@@ -1,6 +1,8 @@
#include <string.h>
#include <elf.h>
+#define ETC_LDSO_PATH "/etc/ld-musl-i386.path"
+
#define IS_COPY(x) ((x)==R_386_COPY)
static inline void do_single_reloc(size_t *reloc_addr, int type, size_t sym_val, size_t sym_size, unsigned char *base_addr, size_t addend)
diff --git a/arch/x86_64/reloc.h b/arch/x86_64/reloc.h
index 2db6115d..6642fdd4 100644
--- a/arch/x86_64/reloc.h
+++ b/arch/x86_64/reloc.h
@@ -2,6 +2,8 @@
#include <string.h>
#include <elf.h>
+#define ETC_LDSO_PATH "/etc/ld-musl-x86_64.path"
+
#define IS_COPY(x) ((x)==R_X86_64_COPY)
static inline void do_single_reloc(size_t *reloc_addr, int type, size_t sym_val, size_t sym_size, unsigned char *base_addr, size_t addend)