2001-07-02 Daniel Jacobowitz <drow@mvista.com>
authorDaniel Jacobowitz <drow@false.org>
Mon, 2 Jul 2001 19:37:59 +0000 (19:37 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 2 Jul 2001 19:37:59 +0000 (19:37 +0000)
        * solib-svr4.c: Include "elf/mips.h".
        (elf_locate_base): Make DT_MIPS_RLD_MAP block unconditional.

gdb/ChangeLog
gdb/solib-svr4.c

index 28aa211d2142cf63febb119586b9514e8d2f1f2a..e9b569ce8b70bd7604fb869f6bdf237b2f12a4ed 100644 (file)
@@ -1,3 +1,7 @@
+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.
+
 2001-07-02  Jim Blandy  <jimb@redhat.com>
 
        * dwarf2read.c (read_comp_unit, sibling_die, dump_die,
index 1112e2991277c99af6620874b48536cbc799d252..7da14815d11de31b58862c1cbdefb7fd156cf13f 100644 (file)
@@ -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 */