summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-30 21:14:05 +0100
committerRich Felker <dalias@aerifal.cx>2016-01-30 20:55:22 -0500
commitc18d05f0e8909ec54252b251c441b5dd903268f8 (patch)
treefcd14fe46d4ffb07c89c698404392449c05ec120 /arch
parent831e9d9efa61566a25c1dcdbd28f55daeea4dd32 (diff)
downloadmusl-c18d05f0e8909ec54252b251c441b5dd903268f8.tar.gz
ldso: fix GDB dynamic linker info on MIPS
GDB is looking for a pointer to the ldso debug info in the data of the ..rld_map section. Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/reloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/reloc.h b/arch/mips/reloc.h
index 9b40e3da..8c52df09 100644
--- a/arch/mips/reloc.h
+++ b/arch/mips/reloc.h
@@ -24,7 +24,7 @@
#define REL_TPOFF R_MIPS_TLS_TPREL32
#define NEED_MIPS_GOT_RELOCS 1
-#define DYNAMIC_IS_RO 1
+#define DT_DEBUG_INDIRECT DT_MIPS_RLD_MAP
#define ARCH_SYM_REJECT_UND(s) (!((s)->st_other & STO_MIPS_PLT))
#define CRTJMP(pc,sp) __asm__ __volatile__( \