From 792b4a532f4367f1bf78b43e7b1096ed0d473949 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Thu, 14 Aug 2003 09:30:34 +0000 Subject: [PATCH] * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Fix PT_DYNAMIC code to work with 64-bit bfds. --- bfd/ChangeLog | 5 +++++ bfd/elfxx-mips.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Fix PT_DYNAMIC + code to work with 64-bit bfds. + 2003-08-14 Alan Modra * 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++) { -- 2.30.2