From: Andreas Schwab Date: Wed, 26 Jul 2006 19:56:16 +0000 (+0000) Subject: * elfxx-ia64.c (elfNN_ia64_choose_gp): Use rawsize if set. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f72c3e6bda3ba0dfc0b707a8a8ce12055793591c;p=binutils-gdb.git * elfxx-ia64.c (elfNN_ia64_choose_gp): Use rawsize if set. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c8400e7fec8..0b9613de143 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2006-07-26 Andreas Schwab + + * elfxx-ia64.c (elfNN_ia64_choose_gp): Use rawsize if set. + 2006-07-26 Alan Modra * elf.c (elf_modify_segment_map): Delete empty PT_LOAD segments. diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c index 32dea4c6149..11bba4e883c 100644 --- a/bfd/elfxx-ia64.c +++ b/bfd/elfxx-ia64.c @@ -4366,7 +4366,7 @@ elfNN_ia64_choose_gp (abfd, info) continue; lo = os->vma; - hi = os->vma + os->size; + hi = os->vma + (os->rawsize ? os->rawsize : os->size); if (hi < lo) hi = (bfd_vma) -1;