* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Fix PT_DYNAMIC
authorRichard Sandiford <rdsandiford@googlemail.com>
Thu, 14 Aug 2003 09:30:34 +0000 (09:30 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
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 ad8cee8ecfe93d525179e84f312bde434ac57f74..3870478e3d9c0e3be2b31a37e7ef4b9c1a402e8b 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 99e9fbc0f7634c87271cfe5e7d236642d4fc8e1f..2ff49417ea74033bc66e924636ee19b9ef007e33 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++)
            {