From: Jakub Jelinek Date: Fri, 7 Dec 2001 11:14:12 +0000 (+0000) Subject: * elf32-sparc.c (elf32_sparc_relocate_section): Revert X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1fbc4a84a3764dd04760128c5666348c0fa070eb;p=binutils-gdb.git * elf32-sparc.c (elf32_sparc_relocate_section): Revert 2001-09-14 change. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a87aa9faf05..e313bb3a72a 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2001-12-07 Jakub Jelinek + + * elf32-sparc.c (elf32_sparc_relocate_section): Revert + 2001-09-14 change. + 2001-12-07 Jakub Jelinek * elf.c (_bfd_elf_rela_local_sym): Only call diff --git a/bfd/elf32-sparc.c b/bfd/elf32-sparc.c index 6a82d72f513..d540efed9d9 100644 --- a/bfd/elf32-sparc.c +++ b/bfd/elf32-sparc.c @@ -1493,7 +1493,7 @@ elf32_sparc_relocate_section (output_bfd, info, input_bfd, input_section, } else { - if (r_type == R_SPARC_32 || r_type == R_SPARC_UA32) + if (r_type == R_SPARC_32) { outrel.r_info = ELF32_R_INFO (0, R_SPARC_RELATIVE); outrel.r_addend = relocation + rel->r_addend;