aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd.c
AgeCommit message (Collapse)AuthorFilesLines
1993-07-22 * hpux-core.c: New file; backend for HP/UX style core files.Ian Lance Taylor1-1/+1
* bfd.c (struct _bfd): Renamed hppa_core_data field to hpux_core_data. * bfd-in2.h: Updated. * hppa.c (make_bfd_asection, hppa_core_file_p, hppa_core_file_failing_command, hppa_core_file_failing_signal, hppa_core_file_matches_executable_p): Moved into hpux-core.c. Removed from target vector. * libhppa.h (struct hppa_core_struct and accessor macros): Moved into hpux-core.c. * targets.c: If HPUX_CORE is defined, add hpux_core_vec to target list. * config/hp300.mh (HDEFINES): Set to -DHPUX_CORE. (HDEPFILES): Set to hpux-core.o. * config/hppabsd.mh, config/hppahpux.mh: Likewise. * hosts/hp300.h (HOST_HP300HPUX): Define. * Makefile.in (OPTIONAL_BACKENDS): Added sco-core.o, aix386-core.o, hpux-core.o. (sco-core.o, aix386-core.o, hpux-core.o): New dependencies.
1993-07-20 * bfd.c (union tdata): Add nlm_obj_data;Fred Fish1-0/+1
* targets.c (enum target_flavour): Add bfd_target_nlm_flavour.
1993-07-06Stricter prototyping, to force type conversions between 64-bit target andKen Raeburn1-5/+6
32-bit host values. * libbfd.c (bfd_xmalloc_by_size_t): New function. * opncls.c (bfd_cache_init, bfd_open_file): Add prototypes to declarations. (obstack_chunk_alloc): Use bfd_xmalloc_by_size_t. (new_bfd): Prototype-style definition, using DEFUN. (bfd_alloc_grow, bfd_alloc, bfd_zalloc, bfd_realloc): Size argument is type size_t, not bfd_size_type. * ieee.c (obstack_chunk_alloc): Use bfd_xmalloc_by_size_t. * bfd.c (bfd_default_error_trap, bfd_error_trap, bfd_error_nonrepresentabltrap): Prototypes. * libbfd-in.h (bfd_alloc, bfd_zalloc, bfd_realloc, bfd_alloc_grow): Adjusted prototypes for arg type change. * archive.c (get_elt_at_filepos, do_slurp_bsd_armap, normalize, do_slurp_coff_armap, bfd_construct_extended_name_table): Prototypes.
1993-04-15Thu Apr 15 09:09:18 1993 Jim Kingdon (kingdon@cygnus.com)Jim Kingdon1-10/+55
* bfd-in.h (bfd_error), bfd.c (bfd_errmsgs): Add file_truncated. * format.c (bfd_check_error): Check error return from _bfd_check_format routines. Wed Apr 14 23:48:25 1993 Jim Kingdon (kingdon@cygnus.com) * rs6000-core.c (rs6000coff_core_p): Improve error checking and recognize .data section if present.
1993-01-08Basically a checkpoint.Ian Lance Taylor1-0/+48
Fri Jan 8 15:47:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * bfd.c (struct _bfd): Added ecoff_tdata to tdata union. * targets.c (enum target_flavour): Added bfd_target_ecoff_flavour. * coff-msym.c: Use DEFUN for function definitons. * coff-mips.c: Added code to read and print symbols, and to find line numbers.
1992-12-22* bfd.c: Add struct hppa_core_data to tdata union.Stu Grossman1-0/+1
1992-12-17* bfd.c: Use right name for tekhex tdata struct.John Gilmore1-49/+23
* tekhex.c: Insert leading_char (0) into bfd_target struct. Style. * libcoff.h: Updated to get spacing change from coffcode.h. * trad-core.c: leading_char is 0 (no symbols!), not '_'.
1992-01-28* trad-core.c, bfd.c, ../include/bfd.h: Various fixes for PMAXStu Grossman1-0/+1
core reading.
1992-01-28 New entry point in the transfer vector - bfd_relax_section.Steve Chamberlain1-0/+4
* aout-target.h: add to vector, call generic_relax * bfd-in.h: add to vector * bfd.c: add #define for vector * bout.c: add to vector, call generic_relax * coffcode.h: add to vector, also now has coff specific relax code for the relaxable H8/300 relocs. Also clean up abs section cruft. * elf.c: call generic_relax * ieee.c: call new vector, clean up some bugs due to the creation of bfd_abs_section * libbfd.h: add bfd_generic_relax_section EXFUN * oasys.c: call generic_relax * reloc.c: implement generic_relax * seclet.c: moved much of this into coffcode.h * srec.c: call generic_relax * targets.c: define new transfer vector
1992-01-24Uses the new small reloc type now.Steve Chamberlain1-144/+262
Currently self hosts on sun4 and sun3
1991-11-30Even more documentationSteve Chamberlain1-150/+163
1991-11-22const lintJohn Gilmore1-12/+11
1991-10-25RS/6000 support, by Metin G. Ozisik, Mimi Phûông-Thåo Võ, and John Gilmore.John Gilmore1-0/+23
1991-10-11Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first.John Gilmore1-21/+9
1991-09-19*** empty log message ***Sean Eric Fagan1-8/+9
1991-08-19Fixed minor typos.Roland Pesch1-9/+10
1991-08-19Mon Aug 19 13:48:22 1991 Roland H. Pesch (pesch at cygint.cygnus.com)Roland Pesch1-21/+23
* aoutx.h, archive.c, archures.c, bfd.c, bfd.texinfo, cache.c, coffcode.h, core.c, format.c, libbfd.c, libbfd.h, libcoff.h, opncls.c, reloc.c, section.c, syms.c, targets.c (documentation segments): used BFD (caps) more consistently as a name in discourse, fixed a few other minor typos and uses of fonts
1991-07-16Added #define for special gdb coff entry pointsSteve Chamberlain1-0/+9
1991-07-15* aoutf1.h archive.c bfd.c coffcode.h core.c ecoff.c ieee.cSteve Chamberlain1-1/+1
bfd.texinfo oasys.c opncls.c reloc.c srec.c: More documentation on lint fixes. * amdcoff.c bfd.texinfo Makefile.in : Folded in changes for amd 29k coff by David Wood (wood@lab.ultra.nyu.edu).
1991-07-04Now full of documentation. Yum Yum.Steve Chamberlain1-726/+221
1991-05-29Merge in changes from gdb-3.95 release into mainstream of BFD development.John Gilmore1-26/+38
Support defaulted (search all) targets and specific (only check one) targets.
1991-05-21*** empty log message ***Steve Chamberlain1-50/+53
1991-05-04Saber C cleanup. Fix horrid bug in opncls.c in which an obstack isJohn Gilmore1-7/+0
initialized on the stack and then copied into its own allocated space. (Wow, Steve, you're twisted...)
1991-05-02Merge devo/bfd with GDB's bfd.John Gilmore1-47/+24
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-24Changed the shape of the howto type yet again.Steve Chamberlain1-1/+12
Now m88kbcs support can self host.
1991-04-23*** empty log message ***Steve Chamberlain1-6/+6
1991-04-17Cosmetic changes to bfd_perform_relocationSteve Chamberlain1-98/+111
1991-04-15Merged in some changes from Intel,Steve Chamberlain1-104/+146
Added some more prototypes.
1991-03-21Initial revisionDavid Henkel-Wallace1-0/+882