* elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21M
and PCREL21F like PCREL21B.
This commit is contained in:
parent
fc697c14bd
commit
2f21f25e2b
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-09-09 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21M
|
||||
and PCREL21F like PCREL21B.
|
||||
|
||||
2002-09-04 Kevin Buettner <kevinb@redhat.com>
|
||||
|
||||
* config.bfd (mips*-*-irix6*): Add new ABI vectors. Make n32 default
|
||||
|
|
|
@ -724,7 +724,9 @@ elfNN_ia64_relax_section (abfd, sec, link_info, again)
|
|||
irelend = internal_relocs + sec->reloc_count;
|
||||
|
||||
for (irel = internal_relocs; irel < irelend; irel++)
|
||||
if (ELFNN_R_TYPE (irel->r_info) == (int) R_IA64_PCREL21B)
|
||||
if (ELFNN_R_TYPE (irel->r_info) == (int) R_IA64_PCREL21B
|
||||
|| ELFNN_R_TYPE (irel->r_info) == (int) R_IA64_PCREL21M
|
||||
|| ELFNN_R_TYPE (irel->r_info) == (int) R_IA64_PCREL21F)
|
||||
break;
|
||||
|
||||
/* No branch-type relocations. */
|
||||
|
@ -756,7 +758,9 @@ elfNN_ia64_relax_section (abfd, sec, link_info, again)
|
|||
struct one_fixup *f;
|
||||
bfd_size_type amt;
|
||||
|
||||
if (ELFNN_R_TYPE (irel->r_info) != (int) R_IA64_PCREL21B)
|
||||
if (ELFNN_R_TYPE (irel->r_info) != (int) R_IA64_PCREL21B
|
||||
&& ELFNN_R_TYPE (irel->r_info) != (int) R_IA64_PCREL21M
|
||||
&& ELFNN_R_TYPE (irel->r_info) != (int) R_IA64_PCREL21F)
|
||||
continue;
|
||||
|
||||
/* Get the value of the symbol referred to by the reloc. */
|
||||
|
|
Loading…
Reference in a new issue