From f7856c8f27436188a31447263496cddab9b3f1df Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 2 Jul 2001 19:37:59 +0000 Subject: 2001-07-02 Daniel Jacobowitz * solib-svr4.c: Include "elf/mips.h". (elf_locate_base): Make DT_MIPS_RLD_MAP block unconditional. --- gdb/ChangeLog | 4 ++++ gdb/solib-svr4.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 28aa211..e9b569c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2001-07-02 Daniel Jacobowitz + * solib-svr4.c: Include "elf/mips.h". + (elf_locate_base): Make DT_MIPS_RLD_MAP block unconditional. + 2001-07-02 Jim Blandy * dwarf2read.c (read_comp_unit, sibling_die, dump_die, diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index 1112e29..7da1481 100644 --- a/gdb/solib-svr4.c +++ b/gdb/solib-svr4.c @@ -37,6 +37,7 @@ #else #include "elf/external.h" #include "elf/common.h" +#include "elf/mips.h" #endif #include "symtab.h" @@ -623,7 +624,6 @@ elf_locate_base (void) (bfd_byte *) x_dynp->d_un.d_ptr); return dyn_ptr; } -#ifdef DT_MIPS_RLD_MAP else if (dyn_tag == DT_MIPS_RLD_MAP) { char *pbuf; @@ -637,7 +637,6 @@ elf_locate_base (void) return 0; return extract_unsigned_integer (pbuf, sizeof (pbuf)); } -#endif } } else /* 64-bit elf */ -- cgit v1.1