* elf32-sparc.c (elf32_sparc_relocate_section): Revert
2001-09-14 change.
This commit is contained in:
parent
c629eae01a
commit
1fbc4a84a3
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2001-12-07 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* elf.c (_bfd_elf_rela_local_sym): Only call
|
* elf.c (_bfd_elf_rela_local_sym): Only call
|
||||||
|
|
|
@ -1493,7 +1493,7 @@ elf32_sparc_relocate_section (output_bfd, info, input_bfd, input_section,
|
||||||
}
|
}
|
||||||
else
|
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_info = ELF32_R_INFO (0, R_SPARC_RELATIVE);
|
||||||
outrel.r_addend = relocation + rel->r_addend;
|
outrel.r_addend = relocation + rel->r_addend;
|
||||||
|
|
Loading…
Add table
Reference in a new issue