These changes cut the size of libbfd.a on a Sun4 by about 11%.
authorIan Lance Taylor <ian@airs.com>
Fri, 8 Jan 1993 21:11:21 +0000 (21:11 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 8 Jan 1993 21:11:21 +0000 (21:11 +0000)
commit075caafd65ac9b68ac028914f6fdeef43c1450a2
treef4f225c3e4f3b79e8fc1d114ebc334a1aebb9a73
parent003acb2d960fb7f32cfcb859d8fb00632a1494b0
These changes cut the size of libbfd.a on a Sun4 by about 11%.
Somewhat more could be done.

Fri Jan  8 15:47:53 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)

* coffcode.h: Moved many generic functions into coffgen.c.  Moved
swapping functions into coffswap.h for ECOFF use.  Moved
relocation functions, only used by h8300 and z8k, into reloc16.c.
Added hooks for coffgen.c functions to backend data structure, and
added hook functions.  Still more could be done.
* coffswap.h: New file to hold COFF swapping routines.
* coffgen.c: New file to hold generic COFF functions.
* reloc16.c: New file to hold h8300 and z8k specific relocation
functions.
* libcoff-in.h: Added declarations for functions in coffgen.c.
* libcoff.h: Rebuilt to incorporate changes.
* coff-h8300.c: Function name changes.
* coff-z8k.c: Function name changes.  Use coff_reloc16_extra_cases
hook rather than defining EXTRA_CASES.
* Makefile.in: Build new files coffgen and reloc16.  Added
dependencies of coff-*.o on coffswap.h and seclet.h.
bfd/.Sanitize
bfd/coff-z8k.c
bfd/coffcode.h
bfd/coffgen.c [new file with mode: 0644]
bfd/coffswap.h [new file with mode: 0644]
bfd/libcoff-in.h [new file with mode: 0644]
bfd/libcoff.h
bfd/reloc16.c [new file with mode: 0644]