diff options
author | Jakub Jelinek <jakub@redhat.com> | 2001-12-07 11:14:12 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2001-12-07 11:14:12 +0000 |
commit | 1fbc4a84a3764dd04760128c5666348c0fa070eb (patch) | |
tree | 9123f0c375be09a60fa844905720f633894e4b76 | |
parent | c629eae01a0ff6a72882b1a7aad636d38c98bc50 (diff) | |
download | gdb-1fbc4a84a3764dd04760128c5666348c0fa070eb.zip gdb-1fbc4a84a3764dd04760128c5666348c0fa070eb.tar.gz gdb-1fbc4a84a3764dd04760128c5666348c0fa070eb.tar.bz2 |
* elf32-sparc.c (elf32_sparc_relocate_section): Revert
2001-09-14 change.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-sparc.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a87aa9f..e313bb3 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 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 _bfd_merged_section_offset if merge_info is non-NULL. (_bfd_elf_rel_local_sym, _bfd_elf_section_offset): New. diff --git a/bfd/elf32-sparc.c b/bfd/elf32-sparc.c index 6a82d72..d540efe 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; |