OSDN Git Service

* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Fix PT_DYNAMIC
authorrsandifo <rsandifo>
Thu, 14 Aug 2003 09:30:34 +0000 (09:30 +0000)
committerrsandifo <rsandifo>
Thu, 14 Aug 2003 09:30:34 +0000 (09:30 +0000)
code to work with 64-bit bfds.

bfd/ChangeLog
bfd/elfxx-mips.c

index ad8cee8..3870478 100644 (file)
@@ -1,3 +1,8 @@
+2003-08-14  Richard Sandiford  <rsandifo@redhat.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Fix PT_DYNAMIC
+       code to work with 64-bit bfds.
+
 2003-08-14  Alan Modra  <amodra@bigpond.net.au>
 
        * dep-in.sed: Remove libintl.h.
index 99e9fbc..2ff4941 100644 (file)
@@ -7474,7 +7474,7 @@ _bfd_mips_elf_modify_segment_map (abfd)
          unsigned int i, c;
          struct elf_segment_map *n;
 
-         low = 0xffffffff;
+         low = ~(bfd_vma) 0;
          high = 0;
          for (i = 0; i < sizeof sec_names / sizeof sec_names[0]; i++)
            {