From c18d05f0e8909ec54252b251c441b5dd903268f8 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 30 Jan 2016 21:14:05 +0100 Subject: 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 --- arch/mips/reloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/mips/reloc.h') 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__( \ -- cgit v1.2.1