aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2003-08-14 09:30:34 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2003-08-14 09:30:34 +0000
commit792b4a532f4367f1bf78b43e7b1096ed0d473949 (patch)
treebf1ae6c9d910aac34ed21bf67c438cea36711942 /bfd
parentf86103b73078976875f1f242f82021f8a1f6c95a (diff)
downloadfsf-binutils-gdb-792b4a532f4367f1bf78b43e7b1096ed0d473949.zip
fsf-binutils-gdb-792b4a532f4367f1bf78b43e7b1096ed0d473949.tar.gz
fsf-binutils-gdb-792b4a532f4367f1bf78b43e7b1096ed0d473949.tar.bz2
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Fix PT_DYNAMIC
code to work with 64-bit bfds.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfxx-mips.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ad8cee8..3870478 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index 99e9fbc..2ff4941 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -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++)
{