aboutsummaryrefslogtreecommitdiff
path: root/bfd/opncls.c
AgeCommit message (Collapse)AuthorFilesLines
1993-07-06Stricter prototyping, to force type conversions between 64-bit target andKen Raeburn1-48/+61
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.
1992-05-02new_bfd_contained_in : Inherit target->defaulted from parentSteve Chamberlain1-3/+6
1991-12-12 * makefile.dos, configdj.bat: New files from DJSteve Chamberlain1-69/+146
* cache.c: fopen with "b" is needed for DOS. * ieee.c: environ renamed to envi to stop an include file conflict. * opncls.c: more fopens with "b"
1991-11-12 * aoutx.h (NAME(aout,find_nearest_line)): Handle the casePer Bothner1-6/+58
of two N_SO stabs, one for directory, and one for filename. * bfd-in.h (print_vma): Factor out duplicate definition. Exit a little more gracefully when malloc returns NULL. * libbfd.c: New function bfd_xmalloc (malloc wrapper). * opncls.c, syms.c, bout.c, aoutx.h: Replace malloc by bfd_xmalloc. * libbfd.h: Rre-generated due to libbfd.c update.
1991-09-26Lint (saber actually).John Gilmore1-37/+5
1991-08-19Fixed minor typos.Roland Pesch1-1/+1
1991-08-19Mon Aug 19 13:48:22 1991 Roland H. Pesch (pesch at cygint.cygnus.com)Roland Pesch1-28/+29
* 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-04Now full of documentation. Yum Yum.Steve Chamberlain1-10/+75
1991-05-29Merge in changes from gdb-3.95 release into mainstream of BFD development.John Gilmore1-23/+18
Support defaulted (search all) targets and specific (only check one) targets.
1991-05-21Removed #define obstack_alloc xmalloc pending correct solutionSteve Chamberlain1-1/+1
1991-05-21Changed obstack_chunk_alloc to xmallocSteve Chamberlain1-1/+1
1991-05-21*** empty log message ***Steve Chamberlain1-4/+20
1991-05-11Cleanups of interface, including close_and_cleanup and write_contentsJohn Gilmore1-2/+8
transfer vector changes. See ChangeLog.
1991-05-04Saber C cleanup. Fix horrid bug in opncls.c in which an obstack isJohn Gilmore1-6/+5
initialized on the stack and then copied into its own allocated space. (Wow, Steve, you're twisted...)
1991-05-03Avoid making a machine-dependent (probably wrong) declaration of mallocJohn Gilmore1-2/+0
and free. Depend on the sysdep.h file to do that for us.
1991-05-02Merge Per Bothner's MIPS changes from 31 March 1991 (bfd-0.5.2-patch1a)John Gilmore1-0/+2
and make the result compile and run on the DEC 3100. It still has trouble running but it can handle opening exec and symbol files in ecoff format.
1991-05-02Merge devo/bfd with GDB's bfd.John Gilmore1-21/+25
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-25Fix minor pointer type problems that "cc" complains about.John Gilmore1-1/+1
1991-04-23*** empty log message ***Steve Chamberlain1-1/+1
1991-04-23*** empty log message ***Steve Chamberlain1-4/+56
1991-04-15Merged in some changes from Intel,Steve Chamberlain1-15/+15
Added some more prototypes.
1991-03-21Initial revisionDavid Henkel-Wallace1-0/+281