* elf.c, elfcode.h, libelf.h: Serious reorganization.
authorKen Raeburn <raeburn@cygnus>
Mon, 19 Jul 1993 19:12:59 +0000 (19:12 +0000)
committerKen Raeburn <raeburn@cygnus>
Mon, 19 Jul 1993 19:12:59 +0000 (19:12 +0000)
commit32090b8e4f645bb5c80e8ad9c38cdd21d5b7b7e0
tree525fd70fd35bb281b1b49468ae28baa7a2b613d0
parentda374d80433e0ed482abf11deb8e4c9fbd729b2c
* elf.c, elfcode.h, libelf.h: Serious reorganization.
Deleted `thunk' structure, merged into tdata, duplicate data eliminated.
Rearranged functions, grouping by function.
Broke up many functions in elfcode.h, re-ordered many parts of file writing
to handle unpredictable state of section relocation table as provided by
various applications.
Still needs cleanup: Merge functions back together, split out data structure
with only data that is used only when writing out object file.

* elf.c (bfd_elf_generic_reloc): New function, taken from coff-mips.c.
* elf32-sparc.c (elf_sparc_howto_table): Use it, to work around
bfd_perform_relocation lossage.
bfd/ChangeLog
bfd/elf.c [new file with mode: 0644]
bfd/elf32-sparc.c [new file with mode: 0644]
bfd/elf32-target.h
bfd/elf64-sparc.c
bfd/elfcode.h
bfd/libelf.h