diff options
author | Alan Modra <amodra@gmail.com> | 2004-05-22 01:56:31 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-05-22 01:56:31 +0000 |
commit | 753731eef094e983fab58faf7c7c5e8090de6e1b (patch) | |
tree | fbb781352bd805dad317c126df1f62b7f5188e2a /bfd/elf64-alpha.c | |
parent | a55491f7c4c7f716fcad92b8ad0acd4f757bc218 (diff) | |
download | gdb-753731eef094e983fab58faf7c7c5e8090de6e1b.zip gdb-753731eef094e983fab58faf7c7c5e8090de6e1b.tar.gz gdb-753731eef094e983fab58faf7c7c5e8090de6e1b.tar.bz2 |
* merge.c (_bfd_merged_section_offset): Remove "addend" param.
* libbfd-in.h (_bfd_merged_section_offset): Adjust prototype.
* libbfd.h: Regenerate.
* elf.c (_bfd_elf_rela_local_sym): Adjust call.
(_bfd_elf_rel_local_sym): Likewise.
* elflink.c (_bfd_elf_link_sec_merge_syms): Likewise.
(elf_link_input_bfd): Likewise.
* elf32-ppc.c (ppc_elf_relax_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relax_section): Likewise.
(elfNN_ia64_relocate_section): Likewise.
Diffstat (limited to 'bfd/elf64-alpha.c')
-rw-r--r-- | bfd/elf64-alpha.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c index 01c66b5..21785d5 100644 --- a/bfd/elf64-alpha.c +++ b/bfd/elf64-alpha.c @@ -4381,8 +4381,7 @@ elf64_alpha_relocate_section (output_bfd, info, input_bfd, input_section, _bfd_merged_section_offset (output_bfd, &msec, elf_section_data (sec)-> sec_info, - sym->st_value + ent->addend, - (bfd_vma) 0); + sym->st_value + ent->addend); ent->addend -= sym->st_value; ent->addend += msec->output_section->vma + msec->output_offset |