Merge devo/bfd with GDB's bfd.
authorJohn Gilmore <gnu@cygnus>
Thu, 2 May 1991 04:11:40 +0000 (04:11 +0000)
committerJohn Gilmore <gnu@cygnus>
Thu, 2 May 1991 04:11:40 +0000 (04:11 +0000)
commitfc7233808a1d88db99a5181e1ee0f6865f8f5206
tree2f0626920d2d237a52aae12eccd0d5b8dd54ec1c
parentff37ea550b842cdb18aca531e5e705c03d4eed72
Merge devo/bfd with GDB's bfd.

Remove obstack.h to ../include and obstack.c to ../libiberty.
Move COFF symbol swapping code to coffswap.c where GDB can call it but it
won't be duplicated if we have N different COFF targets.
Add support for traditional Unix core files (with a upage).  This support
is from an Ultrix port, but is probably slightly broken now.
Improve bfd_release's of obstack'd items on error returns.
gcc -Wall fixes.
Handle section alignment slightly better in coff, and comment where it
needs more work (on page-aligning virtual vs file addresses for DPAGED).
Use set_tdata everywhere that tdata is set, to avoid "cast to the left
of assignment" problems with some compilers.
Move bfd_alloc, bfd_zalloc, bfd_realloc, and bfd_release into libbfd.h
(from bfd.h) since they are internal routines.
Remove the redundant suffix "_struct" from struct tags.
Set symbol count early in file reading, before slurping in the syms,
for GDB's use.
16 files changed:
bfd/aout.c
bfd/archive.c
bfd/archures.c
bfd/bfd.c
bfd/cache.c
bfd/coff-code.h
bfd/coff-i960.c
bfd/coff-mips.c
bfd/libaout.h
bfd/libbfd.c
bfd/libbfd.h
bfd/libcoff.h
bfd/libieee.h
bfd/liboasys.h
bfd/opncls.c
bfd/sunos.c
This page took 0.026773 seconds and 4 git commands to generate.