aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
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/elfxx-mips.c
parentf86103b73078976875f1f242f82021f8a1f6c95a (diff)
downloadgdb-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/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c2
1 files changed, 1 insertions, 1 deletions
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++)
{