From: Richard Henderson Date: Sat, 1 Mar 2003 02:44:45 +0000 (+0000) Subject: * elfxx-ia64.c (elfNN_ia64_relax_section): Correct bounds X-Git-Tag: gprof-pre-ansify-2004-05-26~2460 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=497134e72ecca34af44719fad7f993f0667c1f94;p=pf3gnuchains%2Fpf3gnuchains4x.git * elfxx-ia64.c (elfNN_ia64_relax_section): Correct bounds for ltoff22x relaxation. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0e87d08c72..869d5c56b3 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2003-02-28 Richard Henderson + + * elfxx-ia64.c (elfNN_ia64_relax_section): Correct bounds + for ltoff22x relaxation. + 2003-03-01 Alan Modra * bfd-in.h (_bfd): Don't define. diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c index 22c3416843..6678dd6aa3 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)