summaryrefslogtreecommitdiff
path: root/gdb/solib-svr4.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2001-07-02 19:37:59 +0000
committerDaniel Jacobowitz <drow@false.org>2001-07-02 19:37:59 +0000
commitf7856c8f27436188a31447263496cddab9b3f1df (patch)
tree19b8e040a161d40692b5ffe20707025ae0d56d6f /gdb/solib-svr4.c
parentf9aca02d5a02f5a83c52fc22c55d333f2546c0a0 (diff)
downloadbinutils-gdb-f7856c8f27436188a31447263496cddab9b3f1df.tar.gz
2001-07-02 Daniel Jacobowitz <drow@mvista.com>
* solib-svr4.c: Include "elf/mips.h". (elf_locate_base): Make DT_MIPS_RLD_MAP block unconditional.
Diffstat (limited to 'gdb/solib-svr4.c')
-rw-r--r--gdb/solib-svr4.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c
index 1112e299127..7da14815d11 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 */