* elf32-sparc.c (elf32_sparc_relocate_section): Revert

2001-09-14 change.
This commit is contained in:
Jakub Jelinek 2001-12-07 11:14:12 +00:00
parent c629eae01a
commit 1fbc4a84a3
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2001-12-07 Jakub Jelinek <jakub@redhat.com>
* elf32-sparc.c (elf32_sparc_relocate_section): Revert
2001-09-14 change.
2001-12-07 Jakub Jelinek <jakub@redhat.com>
* elf.c (_bfd_elf_rela_local_sym): Only call

View file

@ -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;