* elfxx-ia64.c (elfNN_ia64_choose_gp): Use rawsize if set.

This commit is contained in:
Andreas Schwab 2006-07-26 19:56:16 +00:00
parent 252e386ec7
commit f72c3e6bda
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-07-26 Andreas Schwab <schwab@suse.de>
* elfxx-ia64.c (elfNN_ia64_choose_gp): Use rawsize if set.
2006-07-26 Alan Modra <amodra@bigpond.net.au>
* elf.c (elf_modify_segment_map): Delete empty PT_LOAD segments.

View File

@ -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;