diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-04-25 19:52:15 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-04-25 19:52:15 +0000 |
commit | ba436e33cdba4f0a5da3e7992277f248340b98a6 (patch) | |
tree | 2e3b5f2b9e0a48ee22c442a0fc98aa5ffda2f7b5 /bfd/elfcode.h | |
parent | 2e03ce186124f700f0f7a64886546e4fb7ca9624 (diff) | |
download | gdb-ba436e33cdba4f0a5da3e7992277f248340b98a6.zip gdb-ba436e33cdba4f0a5da3e7992277f248340b98a6.tar.gz gdb-ba436e33cdba4f0a5da3e7992277f248340b98a6.tar.bz2 |
* elfcode.h (write_relocs): Undo patch of Apr 10; breaks Solaris.
Diffstat (limited to 'bfd/elfcode.h')
-rw-r--r-- | bfd/elfcode.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h index ae36a18..114eb8d 100644 --- a/bfd/elfcode.h +++ b/bfd/elfcode.h @@ -1201,17 +1201,6 @@ write_relocs (abfd, sec, xxx) dst_rela.r_offset = ptr->address; sym = *ptr->sym_ptr_ptr; - - /* If SYM is a section symbol for an input section, which - has been combined with other similar input sections (ld -r), - then adjust the addend by the output_offset of sym->section. - - Apparently elf_symbol_from_bfd_symbol doesn't provide a 1:1 - mapping from bfd symbol to elf symbols in this case. */ - if ((sym->flags & BSF_SECTION_SYM) - && sym->section) - ptr->addend += sym->section->output_offset; - if (sym == last_sym) n = last_sym_idx; else |