summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@nildram.co.uk>2003-08-14 09:30:34 +0000
committerRichard Sandiford <rsandifo@nildram.co.uk>2003-08-14 09:30:34 +0000
commitbcc85679eeb855d5f97561e8bfd234eed1745fc5 (patch)
tree5d50a81a4cd9d5575ceeef2264df61a541a2a264
parent11dbd09e8cda446d4917e7e5ba7d9bc5b011a727 (diff)
downloadbinutils-redhat-bcc85679eeb855d5f97561e8bfd234eed1745fc5.tar.gz
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Fix PT_DYNAMIC
code to work with 64-bit bfds.
-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 ad8cee8ecf..3870478e3d 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 99e9fbc0f7..2ff49417ea 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++)
{