diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2003-08-14 09:30:34 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2003-08-14 09:30:34 +0000 |
commit | 792b4a532f4367f1bf78b43e7b1096ed0d473949 (patch) | |
tree | bf1ae6c9d910aac34ed21bf67c438cea36711942 /bfd | |
parent | f86103b73078976875f1f242f82021f8a1f6c95a (diff) | |
download | gdb-792b4a532f4367f1bf78b43e7b1096ed0d473949.zip gdb-792b4a532f4367f1bf78b43e7b1096ed0d473949.tar.gz 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/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elfxx-mips.c | 2 |
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++) { |