aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-ia64.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2006-07-26 19:56:16 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2006-07-26 19:56:16 +0000
commitf72c3e6bda3ba0dfc0b707a8a8ce12055793591c (patch)
treed4ca1006ed6d1d5c45253eca7d9a2351de42b91e /bfd/elfxx-ia64.c
parent252e386ec771b81469704f824b676df88c434189 (diff)
downloadgdb-f72c3e6bda3ba0dfc0b707a8a8ce12055793591c.zip
gdb-f72c3e6bda3ba0dfc0b707a8a8ce12055793591c.tar.gz
gdb-f72c3e6bda3ba0dfc0b707a8a8ce12055793591c.tar.bz2
* elfxx-ia64.c (elfNN_ia64_choose_gp): Use rawsize if set.
Diffstat (limited to 'bfd/elfxx-ia64.c')
-rw-r--r--bfd/elfxx-ia64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index 32dea4c..11bba4e 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;