summaryrefslogtreecommitdiff
path: root/bfd
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
commit532726eaa0453ac27b221066d45155843a9ab6e2 (patch)
tree09df8dcc3017614f16cdb77e750805ac783b16ee /bfd
parent0f993ab74b4522b7a246b3e849b145bb5e7e8857 (diff)
downloadgdb-532726eaa0453ac27b221066d45155843a9ab6e2.tar.gz
* 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 ad8cee8ecfe..3870478e3d9 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 99e9fbc0f76..2ff49417ea7 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++)
{