aboutsummaryrefslogtreecommitdiff
path: root/bfd/libaout.h
AgeCommit message (Collapse)AuthorFilesLines
1993-04-28add new field for subformat (for hp300 work)Ken Raeburn1-3/+11
1992-11-28* aout-target.h, aoutf1.h, trad-core.c, coffcode.h, libaout.h:John Gilmore1-34/+81
Eliminate all PROTO calls, replace with PARAMS for readability. * aoutx.h: Add type to callback parameter. * coff-mips.c: Don't call trad-core.h, not needed. * trad-core.c: Incorporate trad-core.h declarations. Fix comments. * trad-core.h: Eliminate, unused.
1992-10-15* aout-adobe.c, aoutf1.h, archive.c, bout.c, coff-rs6000.c,John Gilmore1-5/+4
coffcode.h, elf.c, ieee.c, libaout.h, libbfd.c, oasys.c, sco-core.c: Lint: Second argument of bfd_seek is always file_ptr. Third argument is SEEK_SET or SEEK_CUR. Result is always 0 or -1.
1992-10-09Linker now works for go32; other changes keep it from breaking the otherMark Eichin1-4/+12
platforms (new backend_data "exec_header_not_counted") (from p3.)
1992-06-16[time to file a PR on cvs...]Ken Raeburn1-67/+55
Various changes to get linker working again for a.out: * don't set/adjust section file positions or vmas more than once * use correct page size and segment size when calculating them * deal with some variations in a.out implementations Tested on sun4 and sun4->sun3 so far, will be testing further but needed to get wider exposure&testing. See ChangeLog for details. Also: * coffcode.h (coff_write_relocs): Write out swapped reloc, not pre-swapped version. * hosts/sparc.h (abort, exit): Hide these names if compiling with gcc version 2, to avoid warnings.
1991-11-22 Moved bfd_stab_name() and bfd_stab_names[]Per Bothner1-0/+4
from syms.c to new file stab-syms.c. Renamed to aout_stab_name() and aout_stab_names[]. Also, since GNU extended type codes such as N_SETT are no longer in ../include/stab.def, include them manually.
1991-11-21* libaout.h (WORK_OUT_FILE_POSITIONS): One more try at thisJohn Gilmore1-3/+5
rather complicated seeming problem. Eliminate LOGICAL_ versions, just make N_XXX work by excluding the header from the text segment. * aoutx.h: Fix comments to match.
1991-10-16* host-aout.c: New strategy. We use common code, include files,John Gilmore1-30/+100
and data structures to handle the file, but set a few parameters from the host's config file (page size, text start addr, etc). * libaout.h: Define HP BSD machine types.
1991-10-05* bfd.c: Remove strerror() to libiberty.John Gilmore1-20/+29
* elf.c: Remove elf_set_section_contents, use generic one. Lint. * libbfd-in.h, libbfd.c: Add bfd_generic_set_section_contents. * libbfd.c (bfd_generic_{get,set}_section_contents): Check that last byte of transfer, not first byte, is within the section. * host-aout.c: Remove `BSD' archive support. Lint. * archures.c: Rename `struct bfd_arch_info_struct' to `struct bfd_arch_info'. Rename `typedef bfd_arch_info_struct_type' to `bfd_arch_info_type'. All uses changed. * reloc.c: Rename `bfd_reloc_status_enum_type' to `bfd_reloc_status_type'. Rename `bfd_reloc_code_enum_real_type' to `bfd_reloc_code_real_type'. (This seems to be a misnomer, it needs a better name.) All uses changed. * targets.c: Rename `enum target_flavour_enum' to `enum target_flavour', and remove the `_enum' from all of the enum values themselves. All uses changed. * configure.in, config/h-i386mach: i386 mach host. * config/t-i386-aout: Use host-aout.c. * trad-core.c: Give it its own xvec's to make it independent of other file formats. * ecoff.c, host-aout.c: Remove refs to trad-core. * config/t-dec3100, t-hp300bsd, t-tahoe, t-vax: Define TRAD_CORE. * targets.c: #ifdef TRAD_CORE, include it in the vector.
1991-05-29Rename liba.out.h to libaout.h for brain death file systems. Change callers.John Gilmore1-0/+2
1991-05-29Merge in changes from gdb-3.95 release into mainstream of BFD development.John Gilmore1-33/+137
Support defaulted (search all) targets and specific (only check one) targets.
1991-05-10Split up a.out handlers into generic and target-specific.John Gilmore1-28/+77
Remove close_and_cleanup. Lint.
1991-05-02Merge devo/bfd with GDB's bfd.John Gilmore1-6/+2
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.
1991-04-15Merged in some changes from Intel,Steve Chamberlain1-2/+2
Added some more prototypes.
1991-03-21Initial revisionDavid Henkel-Wallace1-0/+80