aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-ia64.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-03-01 02:44:45 +0000
committerRichard Henderson <rth@redhat.com>2003-03-01 02:44:45 +0000
commit484a4f9ca605beb9de7336b5fab941fa5c160fc1 (patch)
tree574017335cde87edcd80e45a7260fa7970c7e160 /bfd/elfxx-ia64.c
parent4242fe84e5b1bf7bfd214d1d33bf5e3b78c008f5 (diff)
downloadgdb-484a4f9ca605beb9de7336b5fab941fa5c160fc1.zip
gdb-484a4f9ca605beb9de7336b5fab941fa5c160fc1.tar.gz
gdb-484a4f9ca605beb9de7336b5fab941fa5c160fc1.tar.bz2
* elfxx-ia64.c (elfNN_ia64_relax_section): Correct bounds
for ltoff22x relaxation.
Diffstat (limited to 'bfd/elfxx-ia64.c')
-rw-r--r--bfd/elfxx-ia64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index 22c3416..6678dd6 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -978,8 +978,8 @@ elfNN_ia64_relax_section (abfd, sec, link_info, again)
}
/* If the data is out of range, do nothing. */
- if ((bfd_signed_vma) (symaddr - gp) >= 0x400000
- ||(bfd_signed_vma) (symaddr - gp) < -0x400000)
+ if ((bfd_signed_vma) (symaddr - gp) >= 0x200000
+ ||(bfd_signed_vma) (symaddr - gp) < -0x200000)
continue;
if (r_type == R_IA64_LTOFF22X)