Commit Graph

16 Commits

Author SHA1 Message Date
John Gilmore f8e0194018 * aout-adobe.c, aoutf1.h, archive.c, bout.c, coff-rs6000.c,
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-15 09:00:09 +00:00
John Gilmore 1e310759ec Lint 1991-11-22 16:22:01 +00:00
Steve Chamberlain f58809fd41 * targets.c (proto write_armap). Changed orl_count to unsigned.
* opncls.c (bfd_close_all_done). Added so that generative
	programs like gas can close a bfd without causing bfd confusion.
	* libbfd.h (changed becuase of protos)
	* amdcoff.c: messed with the way that jmp displacements are
	calcualated. This may not yet be totally correct.
	* archive.c (coff_write_armap): rewrote the way that ranlibs are
	written out.
	* coffcode.h (fixup_symbol_value): now doesn't core dump if a non
	abs symbol has no section (like a register symbol).
	(coff_write_symbol) now zeros auxent before filling it up to help
	with sensitive applications.
	* libbfd.c (bfd_write_bigendian_4byte_int): added.
1991-10-21 16:42:54 +00:00
Steve Chamberlain 6f715d66ad Now full of documentation. Yum Yum. 1991-07-04 16:52:56 +00:00
Steve Chamberlain 5ad1d83042 Not only compiles, but spells _do_getl64 right too 1991-05-22 15:04:00 +00:00
Steve Chamberlain 0f2687577f * libbfd.c: Now compiles
* coffcode.h: removed all put_x_<sizes>
1991-05-22 14:59:10 +00:00
Steve Chamberlain 536b27a506 Changed #ifdef __GNUC__ to #ifdef HOST_64_BIT
Added DEFUNS
1991-05-22 14:26:59 +00:00
Steve Chamberlain 7ed4093abc *** empty log message *** 1991-05-21 00:14:16 +00:00
John Gilmore 2203f786c8 Add bfd_generic_get_section_contents. 1991-05-09 23:48:26 +00:00
Steve Chamberlain d0ec7a8ee4 Various portability lints.
Fixed reloc bug in ieee and oasys.
1991-05-08 19:21:48 +00:00
Jim Kingdon ede87e2901 Make arg to zalloc a bfd_size_type not a size_t 1991-05-03 01:59:25 +00:00
John Gilmore 23b0b55855 Merge Per Bothner's MIPS changes from 31 March 1991 (bfd-0.5.2-patch1a)
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-02 23:10:23 +00:00
John Gilmore fc7233808a 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.
1991-05-02 04:11:40 +00:00
Steve Chamberlain 301dfc71d4 Stuff 1991-04-17 23:19:27 +00:00
Steve Chamberlain 9846338e68 Merged in some changes from Intel,
Added some more prototypes.
1991-04-15 15:25:16 +00:00
David Henkel-Wallace 4a81b56152 Initial revision 1991-03-21 21:11:25 +00:00