Commit Graph

637 Commits

Author SHA1 Message Date
Steve Chamberlain
9fda1a399c New documentation style 1991-11-30 21:41:22 +00:00
Fred Fish
05b261a334 Add h-i386v4.h to Sanitize file. Check in new h-i386v4.h. 1991-11-30 04:22:57 +00:00
Fred Fish
f8b4dadf65 Initial revision 1991-11-30 04:22:56 +00:00
Fred Fish
eb8983c9ca Fix bug in elf.c (missing "break" statements in cases), add ncr and
SVR4 i386 support to configuration.
1991-11-30 04:20:07 +00:00
Per Bothner
3721706073 Two small bug-fixes (affecting ar and nm). 1991-11-29 20:31:57 +00:00
John Gilmore
17e9960f57 Add COFF_SWAP_TABLE to it (oops) 1991-11-27 22:05:28 +00:00
Steve Chamberlain
c9301d7bcf coff-i386.c
Fixed the RTYPETOHOWTO -> TYPE2HOWTO
coff-mips.c coff-rs6000.c
	Can't read relocs, so provide empty macro
1991-11-27 21:57:48 +00:00
John Gilmore
3377d4d2a1 Fiddle diddle descriptor 1991-11-27 19:28:39 +00:00
Steve Chamberlain
b4e42a642c Initial revision 1991-11-27 18:35:48 +00:00
Steve Chamberlain
71e3403212 Added h8 1991-11-27 16:58:22 +00:00
Steve Chamberlain
3b4f1a5d05 * Makefile.in: added coff-h8300
* configure.in: now h8 is a coff target
	* cpu-h8300.c: fix various disassembly problems
	* libcoff.h: took out some code which has been #0ed for a long
	time.
	* targets.c: added h8 coff
	* coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c
	added new macro RTYPE2HOWTO to take a load of #ifdefs out of
	coffcode.h
	* coffcode.h: Started to change the way machine dependencies are
	handled, from the nest of #ifdefs to macros defined in the
	including coff-<foo>.c
1991-11-27 16:56:08 +00:00
John Gilmore
e6e265ce3a Fix hp300bsd entry point problem. 1991-11-23 03:20:41 +00:00
John Gilmore
853f0a7030 * coff-mips.c, coffcode.h: Peter Schauer's patch to kludge in
nonstandard MIPS sections (.rdata, .sdata, etc).
1991-11-22 23:02:29 +00:00
John Gilmore
f8adc62df4 const lint 1991-11-22 19:09:03 +00:00
John Gilmore
de0da6cee0 ALIGN -> BFD_ALIGN 1991-11-22 16:48:27 +00:00
John Gilmore
8c4a1ace3d ALIGN->BFD_ALIGN 1991-11-22 16:45:04 +00:00
John Gilmore
1e310759ec Lint 1991-11-22 16:22:01 +00:00
John Gilmore
f39eae7baa Lint 1991-11-22 16:14:23 +00:00
Per Bothner
7de245d362 Moved bfd_stab_name() and bfd_stab_names[]
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-22 05:00:08 +00:00
Per Bothner
c3a1a56bda Initial revision 1991-11-22 04:59:56 +00:00
John Gilmore
98d4310737 * libaout.h (WORK_OUT_FILE_POSITIONS): One more try at this
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-11-21 19:52:23 +00:00
John Gilmore
400184f0fd Remove echo. 1991-11-21 02:04:02 +00:00
John Gilmore
9ba6d81f63 Avoid duplicate echo. 1991-11-21 01:56:17 +00:00
Per Bothner
a89f7423b4 * targets.c: Make the default target_vector contain
just &DEFAULT_VECTOR.  This makes executables a lot smaller.
	Old behavior can be gotten by defining ALL_TARGETS.
	* aoutf1.h, demo64.c, i386aout.c, newsos3.c, sunos.c:
	Factored out common code into new file aout-target.h.
	Saves a lot of duplicate code for a.out variants.
1991-11-17 21:38:05 +00:00
Roland Pesch
2090ba8351 Quit moving *-in.h into and out of doc subdir. Doc subdir knows how
to find them.
1991-11-15 20:26:52 +00:00
Roland Pesch
fafbc31929 Repairs for srcdir/objdir separation.
Individual targets for proto-header files.
1991-11-15 20:22:15 +00:00
Per Bothner
c9f19dac96 * aoutx.h (NAME(aout,print_symbol)): Fix thinko.
* syms.c (bfd_stab_names):  Turn on new GNU_EXTRA_STABS macro
	to include names of N_SETT etc.
1991-11-15 03:53:14 +00:00
Fred Fish
f8a754829c Remove line containing only a leading tab. Such lines cause some versions
of "make" to choke, including SVR4 versions.
1991-11-15 03:44:04 +00:00
Per Bothner
811b9ab218 Add Makefile.in, configure.in. Remove Makefile. 1991-11-15 03:29:15 +00:00
Fred Fish
58df00e9aa Add minimal support for reading ELF symbol files and generating canonical bfd
symbol tables.  Also change the names of some functions.
1991-11-15 03:26:58 +00:00
Fred Fish
7d68537f73 Trivial change to comment to remove redundant "to". 1991-11-15 03:14:20 +00:00
Steve Chamberlain
fb3851d4d4 Added harris 1991-11-14 15:24:43 +00:00
Steve Chamberlain
da9471d47b Get prototype of memchr right 1991-11-14 04:35:42 +00:00
Steve Chamberlain
2bf92e47a9 Install bfd.h into destdir/include 1991-11-14 04:35:20 +00:00
K. Richard Pixley
38dc9747fe Now works in objdir/subdirs. 1991-11-14 03:14:12 +00:00
Roland Pesch
a28c84e830 Removed '-' prefix from Makefile invocation of makeinfo. Not needed
(til next time someone breaks it; I want a bugreport then).
1991-11-14 00:23:20 +00:00
K. Richard Pixley
8792d41421 added staging stuff & install target 1991-11-14 00:17:45 +00:00
K. Richard Pixley
f259290f0d take care of doc subdir, too 1991-11-14 00:16:05 +00:00
Roland Pesch
a9773c8993 Repair info node-pointer bug. 1991-11-13 23:06:07 +00:00
Sean Eric Fagan
bf61dec7d8 Changed 'i386_coff' to 'i386-coff' to match the real file's name. 1991-11-13 22:19:33 +00:00
K. Richard Pixley
40c0f22d98 Initial revision 1991-11-13 20:00:07 +00:00
Steve Chamberlain
56b10d6dee * ieee.c: (ieee_object_p) cast NULL correctly.
* configure.in: added harris host
1991-11-13 19:27:21 +00:00
Steve Chamberlain
d14a8a061e Initial revision 1991-11-13 19:25:56 +00:00
Steve Chamberlain
6ea296a6fd *** empty log message *** 1991-11-13 17:10:23 +00:00
Steve Chamberlain
c2ce073867 Various changes from David Wood. 1991-11-13 17:09:33 +00:00
John Gilmore
5685fb5005 Just use #undef, not #define foo foo 1991-11-12 15:22:22 +00:00
Steve Chamberlain
080f6324d6 Mon Nov 11 20:30:18 1991 Steve Chamberlain (sac at cygnus.com)
* Makefile.in: standardize on MINUS_G to disable debugging
	* coff-m88k.c: create coff armaps instead of bsd ones.
	* opncls.c (bfd_close_all_done), (bfd_close): Mask out random bits
	when calling chmod.
1991-11-12 04:32:57 +00:00
Fred Fish
4807bcf9a3 Additions to support ELF formatted core files. 1991-11-12 03:12:26 +00:00
Per Bothner
ff7ce1700b * aoutx.h (NAME(aout,find_nearest_line)): Handle the case
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-11-12 02:46:26 +00:00
Fred Fish
f135f137a9 Document use of elf_big_vec as DEFAULT_VECTOR. 1991-11-09 21:51:52 +00:00
Fred Fish
a6c1d73165 Don't try to create a bfd section for the first ELF section header table
entry, since it is just a placeholder with no name.
1991-11-09 21:48:15 +00:00
John Gilmore
285dbe1917 * coff-rs6000.c, config/mh-rs6000: Make it work on archive and
core files, when compiling native.
* hosts/h-rs6000.h:  Define FASCIST_FDOPEN for bfd_fdopenr.
1991-11-09 11:13:02 +00:00
John Gilmore
00a76e06c9 Define FASCIST_FDOPEN. 1991-11-09 11:11:09 +00:00
Steve Chamberlain
85e0c72139 Thu Nov 7 11:03:55 1991 Steve Chamberlain (sac at rtl.cygnus.com)
* coffcode.h: Defined new macros [PUT|GET]LINENO_LNNO for
	manipulation of lnno fields in lineno structs in a coff-<f>.h
	independent way. Override it in coff-<f>.h to your favourite
	number if you don't have a 16bit lnno field. (coff_swap_lineno_in)
	(coff_swap_lineno_out): modified to use the new macros.
1991-11-07 19:06:38 +00:00
Steve Chamberlain
d60f7e4804 Added default_reloc_type_lookup to arch_info 1991-11-05 22:18:59 +00:00
Steve Chamberlain
a53047e8a6 Added h-delta88 1991-11-05 20:55:45 +00:00
K. Richard Pixley
40773f7f3f find include files 1991-11-05 00:06:29 +00:00
Steve Chamberlain
e181b631aa Added ctor.c (I remembered this time) 1991-11-04 00:37:06 +00:00
Steve Chamberlain
cad28227e3 added ctor.c 1991-11-04 00:36:30 +00:00
Steve Chamberlain
a7bae57e32 Added ctor.c 1991-11-04 00:36:13 +00:00
Steve Chamberlain
522e0ead63 Sat Nov 2 14:26:03 1991 Steve Chamberlain (steve at cygnus.com)
* Makefile.in: Added ctor.c
	* archures.c (bfd_default_arch_struct) added
	bfd_default_reloc_type_lookup.
	* coffcode.h: removed a load of #if 0ed code.
	(coff_compute_file_section_positions): now works out the section
	alignment and size correctly in all cases.
	(coff_get_symtab): looks for contructor symbols and calls the
	right function when they're found. (coff_canonicalize_reloc):
	knows when a section is full of contructors and does the right
	thing.
	* cpu-m88k.c: Added default_reloc_type lookup to the architecture
	description.
	* libbfd-in.h: (bfd_default_reloc_type_lookup) defun  added.
	* libcoff.h: removed #if 0ed code
	* reloc.c: (bfd_reloc_code_real_type) added BFD_RELOC_CTOR for
	arch independent contructtor relocation type.
	(bfd_reloc_type_lookup): removed the comment "this will go away"
	since it won't. (bfd_howto_32): stolen from 88k, this is a 32bit
	reloc which is used when BFD_RELOC_CTOR falls through to give a
	default 32bit reloc for contructors.
	(bfd_default_reloc_type_lookup): added.
	* aoutf1.h: fixed SEGMENT_SIZE typo.
1991-11-04 00:35:19 +00:00
Per Bothner
e18e24af07 * bfd-in.h (bfd_print_symbol_type_hopw enum): Add new option
bfd_print_symbol_nm, for use by nm.
	* aoutx.h (NAME(aout,print_symbol)):  Add code for new
	bfd_print_symbol_nm option, to print in nm format.
	* coffcode.h (coff_print_symbol), ieee.c (ieee_print_symbol)
	oasys.c (oasys_print_symbol):  Provide stub implementations
	for bfd_print_symbol_nm.
	* syms.c:  New function bfd_decode_symclass, used by nm printer.
	New function bfd_stab_name to look up string name of stab code.
1991-11-03 22:47:50 +00:00
Per Bothner
7100c892fd Get rid of MISSING_VFPRINTF, since libiberty provides one. 1991-11-03 22:46:06 +00:00
Steve Chamberlain
7a25e728e7 Now include ctor.c in the right places. 1991-11-02 22:37:35 +00:00
Steve Chamberlain
e5e193c742 Initial revision 1991-11-02 22:37:07 +00:00
John Gilmore
6d7c88c3d0 * coff-rs6000.c: Change name to "aixcoff-rs6000", to avoid
matching prefix "coff".
* coffcode.h (coff_swap_aux_in, coff_swap_aux_out):  Handle
rs/6000 csect records.
1991-11-01 02:24:43 +00:00
Steve Chamberlain
da6745fd68 * coff-m88k.c, targets.c: change name of m88k_bcs to m88kbcs 1991-10-28 01:18:01 +00:00
Steve Chamberlain
01dd1b2b47 Sun Oct 27 16:56:58 1991 Steve Chamberlain (steve at cygnus.com)
* configure.in: add motorola delta88 cases
	* libbfd.h, libbfd-in.h, archive.c, ieee.c, elf.c, srec.c: fix
	write_armap prototype
	* libbfd.c: add doc on bfd_write_bigendian_4byte_int
1991-10-28 01:08:51 +00:00
Steve Chamberlain
2f192e9b95 Initial revision 1991-10-28 01:00:06 +00:00
John Gilmore
156e38523a * Rename COFF-related files in `coff-ARCH.c' form.
coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c,
coff-mips.c, coff-rs6000.c to be exact.
1991-10-25 10:17:52 +00:00
John Gilmore
4a29cb1e7e * Makefile.in: Only supply TARGET_DEFAULTS to targets.c, reducing
make output clutter.
1991-10-25 09:49:37 +00:00
John Gilmore
db138ce2a7 Update doc on how to define an architecture for "mh" change. 1991-10-25 08:03:08 +00:00
John Gilmore
cc97dfbba7 RS/6000 support 1991-10-25 07:16:59 +00:00
John Gilmore
ba9137fe2d Initial revision 1991-10-25 07:16:56 +00:00
John Gilmore
cbdc790909 RS/6000 support, by Metin G. Ozisik, Mimi Phûông-Thåo Võ, and John Gilmore. 1991-10-25 07:06:02 +00:00
John Gilmore
ae9cce45ff Updates to h-vaxult.h from David Taylor. 1991-10-25 02:21:52 +00:00
Steve Chamberlain
7e993cab28 Removed some debug 1991-10-25 02:13:56 +00:00
Steve Chamberlain
4b39ad32c1 Now uses mt- and mh- rather than tmake and hmake files 1991-10-24 21:36:40 +00:00
Fred Fish
e0796d2213 Add partial support for ELF format corefiles. Still needs code to extract
register values from corefiles and make them available to bfd clients.
1991-10-24 10:26:26 +00:00
Fred Fish
7b71de814a In config/t-m68k-elf, set DEFAULT_VECTOR to elf_big_vec. 1991-10-24 09:16:41 +00:00
Fred Fish
dcc23cb9aa Document changes to some bfd config files. 1991-10-24 09:06:06 +00:00
John Gilmore
30ff2d72e0 Remove malloc/free decls covered in stdlib.h. From David Taylor. 1991-10-22 00:49:54 +00:00
Steve Chamberlain
33a782f1d2 * coffcode.h (coff_compute_section_file_positions): make it pad
section size out if there are alignment restrictions so that the
	image will be ok on a system where section positions are worked
	out by accumulating sizes rather than from the section headers.
1991-10-21 23:58:49 +00:00
Steve Chamberlain
14dd454bea Changed minimum section alignment 1991-10-21 22:55:06 +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
Per Bothner
35c90743a0 Make perror arg be CONST to avoid warning,
and remove duplicate declaration of perror.
1991-10-17 22:31:26 +00:00
John Gilmore
b271fff21f * hosts/h-tahoe.h: Add FASCIST_FDOPEN and NO_CORE_COMMAND; revamp HOST_*, etc.
* hosts/h-i386v.h:  Use <utime.h>, not <sys/utime.h>, unlike POSIX.
1991-10-17 06:04:35 +00:00
John Gilmore
a3ae208f8a sparc-64 to sparc-ll 1991-10-16 21:41:27 +00:00
Per Bothner
314f3eeda3 * archive.c (bsd_write_argmap): The size of the ranlib structures
should not include teh size field itself.
	* aoutx.h, libaout.h (NAME(aout, sizeof_headers)):  Use
	adata(abfd)->exec_bytes_size field instead of constant macro,
	because aoutx.h compiles to a simple .o file shared by
	all 32-bits a.out targets.
1991-10-16 19:50:08 +00:00
John Gilmore
282effc79f Allow i386-sco-sysv.
Updates from my internet testing for gdb-4.2.
1991-10-16 18:59:59 +00:00
John Gilmore
0fa4f690d6 * host-aout.c: New strategy. We use common code, include files,
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-16 18:57:16 +00:00
John Gilmore
637942e4db * trad-core.c: Pass the u.u_ar0 value as the negative of the
virtual-memory-address of the .reg section.  We can't just make a
section for "all the regs and nothing else" because only GDB knows
exactly where the regs are (scattered around the upage and stack).
Clean up memory allocation.  Remove big- and little-endian
vectors, replace with single vector; this only runs on the host,
in host byte order.  Replace byteswap routines with aborts in case
anyone calls them.
* targets.c:  There's only one trad_core_vec now.
* aoutf1.h (sunos_core_file_p):  VMA of .reg* now needs to be 0.
1991-10-16 18:56:07 +00:00
John Gilmore
52bcb9e3ca sparc-64 to sparc-ll 1991-10-16 01:45:32 +00:00
John Gilmore
a928109bf0 Convert dec3100 to decstation. 1991-10-16 01:10:42 +00:00
John Gilmore
7b02b4ed6f * hosts/h-amix.h (free): Fix prototype.
* aoutx.h:  Don't use NULL as an integer, for braindead systems
that declare it as (void *)0.  (From Peter Schauer.)
1991-10-15 23:41:17 +00:00
John Gilmore
8c8af913b2 * hosts/h-amix.h (free): Fix prototype. 1991-10-15 21:52:18 +00:00
Per Bothner
90c7c72088 Add hosts directory. 1991-10-15 07:29:13 +00:00
Per Bothner
fd671dc421 * aoutx.h (NAME(aout,set_section_contents)): Try to handle the
various kinds of alignments for the various kinds of
	magic numbers.
1991-10-15 00:24:03 +00:00
John Gilmore
a7a7b848a5 Don't assume . is on the path. 1991-10-14 21:23:05 +00:00
John Gilmore
fa744079c1 Update for new bfd/hosts. 1991-10-12 07:38:07 +00:00
John Gilmore
f02be00a6d * Makefile.in: Avoid Sun Make VPATH bugs.
* targets.c:  Declare trad_core vectors extern.
1991-10-12 05:45:57 +00:00
Per Bothner
71fa3b0161 * coffcode.h: Moved ALIGN macro to libbfd.h. Removed i960_align.
* libbfd.h: Moved ALIGN macro here.
	* bout.c (b_out_callback): Replace i960_align by align_power.

	* libaout.h (struct aoutdata):  Added fields page_size,
	segment_size and exec_bytes_size.  These help generic code
	(in aoutx.h and libaout.h) to figure out where to align
	the various segments in a demand paged file.
	* libaout.h (WRITE_HEADER):  Use new (struct aoutdata) fields
	to decide if the exec header counts in a_text (text segment size).
	Also, assume D_PAGED flag is set; don't set it here.
	* bout.c (b_out_callback): Add initialization of
	adata fields page_size, segment_size, and exec_bytes_size.
	* host-aout.c (NAME(host_aout, callback) and
	NAME(host_aout,mkobject): Ditto.
	* i386aout.c (aout386_callback) and new aout386_mkobject): Ditto.
	* newos3.c (newsos3_callback) and new newsos_mkobject): Ditto.
	* aoutf1.c (sunos4_callback) and new sunos_mkobject): Ditto.
	* aoutx.h (NAME(aout,some_aout_object_p)): Don't subtract
	EXEC_BYTES_SIZE from the a_test size; this is only appropriate
	for some systems (mainly sunos), so do it in the callback instead.
	Same routine: Add stuff to the THIS_IS_ONLY_DOCUMENTATION comment.
	* aoutx.h (NAME(aout,set_section_contents): Change the way
	filepos and size of sections are carried out to support
	older styles of demand paged executables.
1991-10-11 20:45:29 +00:00
Steve Chamberlain
0d74098420 * bfd-in.h: Added more macros to COFF_SWAP_TABLE.
* bfd.c: Added macros to enable gas to swap coff records.
	* coffcode.h: Make the coff_swap_*_out routines return the number
	of bytes swapped, and cleaned up their prototypes.
	* configure.in: Added ebmon/coff support
	* ecoff.c: Changed null definitions of coff_swap_*_out to conform
	to new prototypes
	* targets.c: Added new entry points for coff swapping
1991-10-11 19:39:29 +00:00
John Gilmore
23d44ec958 Remove refs to ../include/sysdep.h. 1991-10-11 12:48:25 +00:00
John Gilmore
2c3f93e56d Initial revision 1991-10-11 10:45:56 +00:00
John Gilmore
5b2765bf13 Restructure configuration scheme for bfd, binutils, ld.
* include/sys/h-*.h:  Move to bfd/hosts/h-*.h.
* configure.in:  Revise to symlink sysdep.h to hosts/h-xxx.h.
Change some config names to match other dirs.
* *.c:  Include bfd.h before sysdep.h, so ansidecl and PROTO()
get defined first.
* Makefile.in:  Use -I. to get sysdep.h.
* trad-core.c:  Don't disable the whole file if SUN4_SYS.
* config/:  Rename some config files to match up h-*.h names.
Remove all the HOST_SYS definitions from the config files.
* hosts/h-amix.h, h-i386v.h:  Define POSIX_UTIME, not USG.
* hosts/h-hp9000.h:  Remove USG comment.
* hosts/h-rs6000.h:  Include <stdlib.h> for malloc.
* hosts/h-news.h, h-sparc-64.h:  New config files that had
previously been kludged in the <sysdep.h> file.
1991-10-11 10:43:34 +00:00
John Gilmore
06d0bdef53 * hosts/h-amix.h, h-i386v.h: Define POSIX_UTIME, not USG.
* hosts/h-hp9000.h:  Remove USG comment.
* hosts/h-rs6000.h:  Include <stdlib.h> for malloc.
* hosts/h-news.h, h-sparc-64.h:  New config files that had
previously been kludged in the <sysdep.h> file.
1991-10-11 10:41:22 +00:00
John Gilmore
239326c84f Restructure configuration scheme for bfd, binutils, ld.
Use -I. to get sysdep.h.
1991-10-11 10:29:54 +00:00
John Gilmore
bbc8d4849f Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. 1991-10-11 10:11:37 +00:00
John Gilmore
600d486408 Remove dead N_TXTOFF override.
Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first.
1991-10-11 10:09:28 +00:00
John Gilmore
dd4646ca3a Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first.
Don't ever call trad_unix_core_file_p from here.
1991-10-11 10:08:58 +00:00
John Gilmore
6a46902732 * Makefile.in: Rename XDEPFILES.
* trad-core.c:  Document how to use it nowadays.
* i386aout.c, newsos3.c:  Clean up.
* i386coff.c:  Allow 386 coff files to be used as core files too
(for reading core files from embedded systems).
1991-10-11 04:51:42 +00:00
John Gilmore
b7de6963d4 Add i386aout.c 1991-10-08 22:31:52 +00:00
Per Bothner
569ef29be1 Added MISSING_VFPRINTF 1991-10-08 22:30:57 +00:00
John Gilmore
243f4d0af1 Add errno, for binutils. 1991-10-08 22:28:10 +00:00
Roland Pesch
a6fe7eeb1e doc/Makefile: stop hiding complaints from makeinfo. 1991-10-08 19:20:58 +00:00
Roland Pesch
92c78ee6ea * reloc.c, section.c, syms.c, targets.c: correct info-node
structure in *doc* comments.
1991-10-08 19:20:35 +00:00
John Gilmore
733ac8407d * 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.
1991-10-07 02:16:22 +00:00
John Gilmore
23e667ae67 h-amix.h 1991-10-05 06:18:50 +00:00
John Gilmore
c167d2a673 howto.c, configure, config.sub gone. 1991-10-05 06:16:44 +00:00
John Gilmore
9e2dad8ed4 * bfd.c: Remove strerror() to libiberty.
* 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-10-05 05:18:08 +00:00
Steve Chamberlain
d997da5f3e *** empty log message *** 1991-10-05 00:42:03 +00:00
Steve Chamberlain
b2c91bd95e Fri Oct 4 17:38:03 1991 Steve Chamberlain (steve at cygnus.com)
* reloc.c: Extended NEWHOWTO macro
	* ieee.c: Changed the way 8bit pcrel is done
	* cpu-h8300.c: got the registers in the right order
1991-10-05 00:39:21 +00:00
Roland Pesch
9393e96e0d Specify TEXINPUTS when calling TeX so right texinfo.tex is used. 1991-10-04 23:44:08 +00:00
John Gilmore
89cbb7064f Add 386 Mach host support. 1991-10-04 08:28:03 +00:00
John Gilmore
76d3134876 Initial revision 1991-10-04 08:27:35 +00:00
John Gilmore
278bf2c0c3 * bfd-in.h, libbfd-in.h, doc/Makefile, doc/tolibbfd, doc/intobfd:
Remove refs to howto.c, since Steve forgot.
1991-10-04 02:49:40 +00:00
John Gilmore
f004165ea5 * bfd-in.h: enum boolean => enum bfd_boolean for SVR4. Gumby's
prediction is vindicated!

* bfd-in.h, libbfd-in.h, doc/Makefile, doc/tolibbfd, doc/intobfd:
Remove refs to howto.c, since Steve forgot.
1991-10-04 02:49:06 +00:00
John Gilmore
ea3768dc45 Add elf.c 1991-10-03 22:23:56 +00:00
Steve Chamberlain
2cf44d7be5 * fixed prototype for reloc_type_lookup 1991-10-03 15:41:11 +00:00
Steve Chamberlain
a55612c73e * elf.c: took the abort out of set_arch_mach so that objdump -i will
still work. Now allows any architecture/machine to be set.
1991-10-03 14:51:20 +00:00
Steve Chamberlain
9ce0058ca6 *** empty log message *** 1991-10-03 14:49:10 +00:00
K. Richard Pixley
5a168a17ee resync 1991-10-02 04:15:56 +00:00
K. Richard Pixley
b9fe720d06 steves h8 patches 1991-10-02 04:01:08 +00:00
John Gilmore
3f85ebce78 * Makefile.in, configure.in, targets.c, elf.c: Add preliminary
ELF support good enough for GDB.
* configure.in, config/h-amix, config/t-m68k-elf:  Handle
m68k-cbm-svr4 host and target.
1991-10-01 19:46:47 +00:00
John Gilmore
2d996e5dc9 Initial revision 1991-10-01 19:26:34 +00:00
Steve Chamberlain
30d2c06f1d *** empty log message *** 1991-10-01 18:29:28 +00:00
John Gilmore
995ee059a1 Avoid depending on number of initializers. 1991-10-01 13:37:14 +00:00
John Gilmore
2ccc238359 Vax Ultrix changes from David Taylor <taylor@think.com>. 1991-10-01 12:08:20 +00:00
John Gilmore
d2b833bc89 * sys/h-vaxult.h: Make it work. (David Taylor <taylor@think.com>) 1991-10-01 12:00:11 +00:00
Steve Chamberlain
11d9b7f5a6 * bfd-in.h VERSION, change version number to 0.18, this makes a
gap, but now is the same as the linker version number.
1991-10-01 04:20:02 +00:00
Steve Chamberlain
e568362218 Added new macro NEWHOWTO 1991-10-01 03:58:36 +00:00
Steve Chamberlain
11fdd52003 Modified to generate the right includes for the new files 1991-10-01 03:57:46 +00:00
Steve Chamberlain
e738d5d264 added:
* amdcoff.c: (a29k_reloc) fix error message.
1991-10-01 03:56:32 +00:00
Steve Chamberlain
63ffe5ef86 Insert the incidentals and things I forgot to ci last time, same log message:
Mon Sep 30 15:13:46 1991  Steve Chamberlain  (steve at cygnus.com)

	* cpu-a29k.c, cpu-i386.c, cpu-m68k.c, cpu-mips.c, cpu-vax.c,
	cpu-h8300.c, cpu-i960.c, cpu-m88k.c, cpu-sparc.c: added. These
	files will eventually contain processor specific bits for bfd,
	like strange relocation information and dis/assembly.  So far only
	the H8 has been even partially done.  This work also ties in with
	the change in handling architectures.

	* amdcoff.c: (a29k_reloc) fix error message.

	* aout-f1.h: (choose_reloc_size) now calls bfd_get_arch to
	discover the architecture of the bfd. (sunos4_callback) calls the
	function bfd_set_arch_mach rather than stuffing stuff directly
	into the bfd. (sunos4_write_object_contents), changed names of
	accessor functions.

	* aoutx.h: (set_arch_mach) now calls bfd_default_set_arch_mach to
	setup the environment.

	* archive.c: (bfd_slurp_coff_armap) coff archives always have the
	headers in big endian format, regardless of the endianess of the
	host or target.

	* archures.c: totally changed. Now an architecture is represented
	with a pointer to an info structure rather than an enumerated type
	and a long. The old info is available as two elements in the
	structure.  Future enhancements to architecure support will
	involve pointers to methods being placed into the info structure.

	* bfd.c: changed the definition of the bfd structure for the new
	architecture stuff.

	* bout.c: (b_out_set_arch_mach) changed to use the new
	architecture mechanism.

	* coffcode.h: (coff_set_arch_mach, coff_set_flags) changed to use
	the new architecture mechanism.

	* configure.in: added h8 stuff.

	* ieee.c: too many changes to note.  Now ieee files written with
	bfd gas and ld can be read by gld and ieee only linkers and
	simulators.

	* libbfd.c, libbfd.h: changed prototype of bfd_write.

	* newsos3.c: (newos3_callback) now calls bfd_set_arch_mach rather
	than fixing the structure directly.

	* oasys.c: (oasys_object_p) now calls bfd_default_set_arch_mach rather
	than fixing the structure directly.

	* opncls.c: (new_bfd) makes sure that bfd_init has been called
	before opening a bfd.

	* srec.c: (srec_set_arch_mach) now calls bfd_default_set_arch_mach
	rather than fixing the structure directly.

	* targets.c: (target_vector) now by defining SELECT_VECS (perhaps
	in the t/hmake file) a user can select which backends they want
	linked with bfd without changing the source.

	* init.c: new, looks after initializing modules.

	* howto.c: for future use, will allow an application to work out
	what cookie to use as a handle on a relcoatio howto.
1991-10-01 03:55:40 +00:00
K. Richard Pixley
a26878d1fa Exploit the new executable config.status 1991-10-01 03:46:00 +00:00
Steve Chamberlain
4e6f9223b1 Mon Sep 30 15:13:46 1991 Steve Chamberlain (steve at cygnus.com)
* cpu-a29k.c, cpu-i386.c, cpu-m68k.c, cpu-mips.c, cpu-vax.c,
	cpu-h8300.c, cpu-i960.c, cpu-m88k.c, cpu-sparc.c: added. These
	files will eventually contain processor specific bits for bfd,
	like strange relocation information and dis/assembly.  So far only
	the H8 has been even partially done.  This work also ties in with
	the change in handling architectures.

	* aout-f1.h: (choose_reloc_size) now calls bfd_get_arch to
	discover the architecture of the bfd. (sunos4_callback) calls the
	function bfd_set_arch_mach rather than stuffing stuff directly
	into the bfd. (sunos4_write_object_contents), changed names of
	accessor functions.

	* aoutx.h: (set_arch_mach) now calls bfd_default_set_arch_mach to
	setup the environment.

	* archive.c: (bfd_slurp_coff_armap) coff archives always have the
	headers in big endian format, regardless of the endianess of the
	host or target.

	* archures.c: totally changed. Now an architecture is represented
	with a pointer to an info structure rather than an enumerated type
	and a long. The old info is available as two elements in the
	structure.  Future enhancements to architecure support will
	involve pointers to methods being placed into the info structure.

	* bfd.c: changed the definition of the bfd structure for the new
	architecture stuff.

	* bout.c: (b_out_set_arch_mach) changed to use the new
	architecture mechanism.

	* coffcode.h: (coff_set_arch_mach, coff_set_flags) changed to use
	the new architecture mechanism.

	* configure.in: added h8 stuff.

	* ieee.c: too many changes to note.  Now ieee files written with
	bfd gas and ld can be read by gld and ieee only linkers and
	simulators.

	* libbfd.c, libbfd.h: changed prototype of bfd_write.

	* newsos3.c: (newos3_callback) now calls bfd_set_arch_mach rather
	than fixing the structure directly.

	* oasys.c: (oasys_object_p) now calls bfd_default_set_arch_mach rather
	than fixing the structure directly.

	* opncls.c: (new_bfd) makes sure that bfd_init has been called
	before opening a bfd.

	* srec.c: (srec_set_arch_mach) now calls bfd_default_set_arch_mach
	rather than fixing the structure directly.

	* targets.c: (target_vector) now by defining SELECT_VECS (perhaps
	in the t/hmake file) a user can select which backends they want
	linked with bfd without changing the source.

	* init.c: new, looks after initializing modules.

	* howto.c: for future use, will allow an application to work out
	what cookie to use as a handle on a relcoatio howto.
1991-10-01 03:43:43 +00:00
Steve Chamberlain
e89f2fbe00 Initial revision 1991-10-01 03:43:11 +00:00
John Gilmore
387cbb2bff * srec.c: Better error checking, partly from Peter Schauer.
(srec_object_p):  Avoid assuming any file that starts with 'S' is
an S-record file!  (Check for 3 uppercase-hex digits after it.)
(ISHEX):  Define new macro for checking supposedly hex characters.
(pass_over):  Treat as EOF any S-record line that:
    *  doesn't have hex in either size character
    *  produces a size larger than 0x7F
    *  has an unrecognized type number
1991-09-30 20:50:18 +00:00
John Gilmore
06d751608c Typos. 1991-09-28 14:10:47 +00:00
John Gilmore
fb3be09b66 Lint (saber actually). 1991-09-26 22:28:46 +00:00
Per Bothner
ac0167e878 * libaout.h (WRITE_HEADERS): Set header's a_text field always.
* newsos3.c: Fixed two types: newos3 -> newsos3.
1991-09-26 18:40:30 +00:00
Per Bothner
d0a27c3b8e Fix bfd_perform_relocation to handle pc-relative relocs better. 1991-09-26 18:26:28 +00:00
John Gilmore
8215bbacd0 Undo precipitous changes. 1991-09-20 03:44:17 +00:00
Sean Eric Fagan
b1c86ef190 *** empty log message *** 1991-09-19 22:28:00 +00:00
Steve Chamberlain
f3d70fe521 Stuff for new machiens 1991-09-19 21:05:02 +00:00
Steve Chamberlain
33638b1c2e Initial revision 1991-09-19 21:04:59 +00:00
Steve Chamberlain
c430e8638d *** empty log message *** 1991-09-19 20:54:31 +00:00
Stu Grossman
549d4382b7 Initial revision 1991-09-17 23:41:34 +00:00
Stu Grossman
acd551ee63 sgi/irix config stuff. 1991-09-17 06:57:44 +00:00
Stu Grossman
5e4953bc10 Put back definition of offsetof. Only define it if it's not defined on this
system.
1991-09-17 01:27:55 +00:00
Stu Grossman
8cc8fd6945 Remove o_offsetof BS. Use local def if available. 1991-09-16 23:48:33 +00:00
John Gilmore
f48e264778 Missing quote fries it. 1991-09-13 06:16:32 +00:00
John Gilmore
e3e3d88a30 Ultracomputer 1991-09-13 03:56:25 +00:00
John Gilmore
12bf20326d Propagate 1991-09-13 02:19:57 +00:00
John Gilmore
126334ae30 * configure.in: Handle a29k-*-* hosts, and targets
a29k-*-coff, a29k-*-aout, and a29k-*-sym1.
1991-09-13 01:49:40 +00:00
John Gilmore
96e0dd9633 Initial revision 1991-09-12 21:13:48 +00:00
Roland Pesch
b5493bc4c8 Thu Sep 12 14:07:22 1991 Roland H. Pesch (pesch at cygint.cygnus.com)
* Makefile.in: $(MAKE) for make, $(docdir) for doc
	* doc/Makefile: redundant dependencies for Sun-make VPATH bug
1991-09-12 21:08:51 +00:00
Roland Pesch
ff2e185071 Per J Gilmore's advice, include redundant dependencies to get around
Sun-make VPATH bug.
1991-09-12 21:04:21 +00:00
John Gilmore
f053b34fe8 * aoutf1.h (sunos4_core_file_p): Release the right storage in error case.
(sunos4_core_file_matches_executable_p):  Fix header comparison.
* aoutx.h:  Avoid shifts of 32 bits, undefined in C.  Lint.
* bout.c, icoff.c, ieee.c, libbfd.c, oasys.c:  gcc -O -W lint.
1991-09-11 04:49:53 +00:00
John Gilmore
12e7087f53 Allow GDB to patch object files.
Makefile.in:  Add crude dependencies.
1991-09-04 07:52:46 +00:00
K. Richard Pixley
01f0a88e4c Added "recover"'ability. 1991-09-04 03:59:15 +00:00
Steve Chamberlain
10effd407e Fixed the line break as a test for cvs ci. 1991-09-03 22:43:19 +00:00
K. Richard Pixley
48543e053a "recover" aoutx.h 1991-09-03 22:21:30 +00:00
Steve Chamberlain
c67056970a *** empty log message *** 1991-09-03 20:48:27 +00:00
Stu Grossman
7307c104b3 Retract last edit. System type should determine whether this file gets loaded
at all.
1991-08-31 02:01:17 +00:00
Stu Grossman
9712c6e200 Merge in irix support. 1991-08-31 00:54:16 +00:00
John Gilmore
20ccfb0996 paperwork handled for AMD Coff. 1991-08-29 00:35:06 +00:00
John Gilmore
dec35cbe8c Add none. 1991-08-23 23:31:39 +00:00
K. Richard Pixley
8b204e6ea4 add email address for bugs and additions. 1991-08-23 22:38:25 +00:00
John Gilmore
68b7021279 * configure.in: Tix typo.
* ecoff.c:  If compiling for DEC3100, use trad_unix core files,
        else dummy out the core file support.
        * trad-core.c (trad_unix_core_file_p):  If HOST_DATA_START_ADDR is
        specified, use it to locate the data section.
        * coffcode.h (coff_write_symbols):  Declare buffer as bfd_bytes
        rather than as chars (lint).
1991-08-23 20:55:23 +00:00
John Gilmore
08059d8470 Initial revision 1991-08-23 09:06:52 +00:00
John Gilmore
4f8b86271e Make SunOS core files work right -- from both sun3 and sun4.
Also, make them work on any other host system.
1991-08-23 07:24:32 +00:00
Stu Grossman
7d003262a7 saber 1991-08-23 05:26:06 +00:00
K. Richard Pixley
69e87de278 Minor config polish. 1991-08-23 04:50:56 +00:00
K. Richard Pixley
a71bfbcc75 Minor polish & config mapping. 1991-08-23 03:31:44 +00:00
Roland Pesch
aa69ff846c Make info file compileable and (barely) navigable. More cleanup needed. 1991-08-22 21:25:20 +00:00
Roland Pesch
0b09cb5b8c Initial revision 1991-08-22 21:25:16 +00:00
Steve Chamberlain
86835b0121 *** empty log message *** 1991-08-22 20:23:12 +00:00
Steve Chamberlain
80d29884b8 Initial revision 1991-08-22 19:56:14 +00:00
Roland Pesch
d51d16c8e6 *** empty log message *** 1991-08-22 18:32:01 +00:00
Roland Pesch
5699626214 bfd.texinfo: some cleanup, reincorporated more intro matter from bfd.doc
bfd.c, targets.c: minor rewording of doc segments
1991-08-22 18:26:59 +00:00
John Gilmore
80d8c0258f Add hp 300 BSD. 1991-08-22 08:01:20 +00:00
John Gilmore
fa5578031d New config.sub 1991-08-22 07:31:21 +00:00
John Gilmore
901c5bfd54 Improve our Sanity. 1991-08-22 07:20:49 +00:00
K. Richard Pixley
4dfe09da09 Three part names, etc. 1991-08-22 07:15:49 +00:00
K. Richard Pixley
4f18392953 Initial revision 1991-08-22 07:15:48 +00:00
Roland Pesch
a7f538ebd1 Wed Aug 21 14:33:06 1991 Roland H. Pesch (pesch at cygint.cygnus.com)
* Makefile.in: use targets "bfd.dvi" and "bfd.ps" instead of
	texdoc and psdoc; make these depend on generated .texi's

	* scanit, (new) unPROTO: turn PROTO macros into ANSI declarations in
	doc

	* bfd.c, reloc.c, syms.c: minor spelling/wording fixes in doc
	portions
1991-08-22 00:13:22 +00:00
Roland Pesch
ab6db9b498 Initial revision 1991-08-22 00:13:19 +00:00
Roland Pesch
dd260c230b Wed Aug 21 14:33:06 1991 Roland H. Pesch (pesch at cygint.cygnus.com)
* Makefile.in, awkscan-ip, awkscan-p, intobfd,
	libbfd.h, libcoff.h, tolibcoff; new bfd-in.h, libbfd-in.h,
	libcoff-in.h: (a) use separate files for invariant parts of bfd.h,
	libbfd.h, and libcoff.h; (b) in generated parts of same, use less
	obtrusive marks indicating .c origins.

	* bfd.texinfo: generalize most references to linker
1991-08-21 21:37:39 +00:00
John Gilmore
c6e7b0ede0 Declare dependency even for optional modules. 1991-08-21 04:07:18 +00:00
Roland Pesch
a92b9db33c Tue Aug 20 15:18:02 1991 Roland H. Pesch (pesch at cygint.cygnus.com)
* Makefile.in: include core.p in PROTOS (building better bfd.h)
	* archures.c: remove empty foo() definition (crept in at vn1.9)
1991-08-20 22:23:49 +00:00
K. Richard Pixley
f0b9c97662 revisiting error messages 1991-08-20 04:56:47 +00:00
Roland Pesch
188d6d224e Fixed minor typos. 1991-08-19 23:03:12 +00:00
Roland Pesch
6724ff46c8 Mon Aug 19 13:48:22 1991 Roland H. Pesch (pesch at cygint.cygnus.com)
* 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-08-19 20:52:38 +00:00
Steve Chamberlain
d33cfbd8c1 *** empty log message *** 1991-08-17 00:23:43 +00:00
Steve Chamberlain
fd1860075e *** empty log message *** 1991-08-17 00:22:24 +00:00
Steve Chamberlain
d3f2a82c81 *** empty log message *** 1991-08-17 00:20:52 +00:00
Steve Chamberlain
39db05ea11 *** empty log message *** 1991-08-17 00:19:43 +00:00
Steve Chamberlain
c618de01c1 Documentation 1991-08-17 00:17:15 +00:00
Steve Chamberlain
90f3f3e2b0 Initial revision 1991-08-17 00:16:57 +00:00
Steve Chamberlain
3a26c0cd00 Doc changes 1991-08-17 00:09:20 +00:00
Steve Chamberlain
0b5311ca6d Initial revision 1991-08-17 00:01:23 +00:00
K. Richard Pixley
21c9f6261a Added fatal checks for missing host and target makefile fragments. 1991-08-14 22:10:12 +00:00
John Gilmore
1fc712b856 *** empty log message *** 1991-08-14 02:25:22 +00:00
Steve Chamberlain
7a8b18b6ab Fixed bug where stringtable size wasn't being swapped. 1991-08-08 23:48:27 +00:00
K. Richard Pixley
7f281dcbe4 Correcting a prototype for gcc. 1991-08-06 20:35:15 +00:00
K. Richard Pixley
4101d86838 Host-level GNUmakefiles. 1991-08-06 19:12:55 +00:00
Steve Chamberlain
88dfcd6832 Added support for constructors, warnings and indirects 1991-08-01 23:35:05 +00:00
Steve Chamberlain
e961483fd7 *** empty log message *** 1991-08-01 14:37:51 +00:00
Steve Chamberlain
283dd2d43f Initial revision 1991-08-01 14:37:46 +00:00
John Gilmore
fab4b2d308 Forgot one more place to remove amdcoff.c reference (sigh). 1991-08-01 05:33:39 +00:00
Steve Chamberlain
d1c6102119 Makefile, libcoff:
The stuff after the comment /* THE FOLLOWING IS EXTRACTED ... */ is
removed from the header files, so the header files broke themselves.
This is now fixed because the description is split over two lines. Not
a great way. I'll fix it better soon.

bfd.doc bfd.texinfo. Merged what was usefull into bfd.texinfo and
deleted bfd.doc.
1991-08-01 02:38:17 +00:00
John Gilmore
3c123e2406 Delete CVS.adm from the release! 1991-08-01 01:27:44 +00:00
John Gilmore
96d3844040 Remove archures.h 1991-07-31 22:28:30 +00:00
Roland Pesch
fd64402540 Fixed copyright notices (FSF, not Cygnus; invoke, rather than refer to
an included copy of, GPL).
1991-07-31 21:54:56 +00:00
Steve Chamberlain
ed0a73950b Updated TODO.
Wrote a small Memory Usage section in bfd.texinfo
1991-07-31 20:19:16 +00:00
John Gilmore
de02577e97 Remove amdcoff.c (and its name from Makefile.in) by default, because
its copyright is not yet assigned to FSF.
1991-07-31 17:37:02 +00:00
John Gilmore
3c8a3c56e4 * all files: update copyright notices for GPL version 2.
Install header comments and attribute most modules to their
	authors.  BFD's name is now officially "Binary File Descriptor",
	so remove any conflicting perjoratives.
1991-07-31 16:58:05 +00:00
John Gilmore
6dadbcb63c Some of these things are already done. More are probably done,
but I am not sure.  Check w/Steve.
1991-07-31 08:30:37 +00:00
John Gilmore
990778eefa It's the Binary, not Big, file descriptor library. 1991-07-31 08:08:36 +00:00
John Gilmore
446545dd85 Better sanitize aoutx.h too! 1991-07-31 07:54:31 +00:00
Steve Chamberlain
67c060c306 Fixed memory trampling problem 1991-07-31 00:37:09 +00:00
Steve Chamberlain
3a278e0450 *** empty log message *** 1991-07-27 01:31:02 +00:00
Steve Chamberlain
f4d2c0bb48 *** empty log message *** 1991-07-27 01:24:40 +00:00
Steve Chamberlain
87059abb6b *** empty log message *** 1991-07-27 01:14:16 +00:00
John Gilmore
fcab31c12a Add h-rtbsd.h. 1991-07-24 00:59:57 +00:00
John Gilmore
21a56d6d5e Roll in configure that handles GDB. 1991-07-20 00:56:41 +00:00
Steve Chamberlain
ac677dad95 Patches from David Wood 1991-07-19 15:29:16 +00:00
Steve Chamberlain
c1c70e6894 Initial revision 1991-07-19 15:29:14 +00:00
Steve Chamberlain
2f8d9c1c08 * newsos3.c, targets.c, coffcode.h: new patches from David
Wood
1991-07-19 15:17:55 +00:00
Steve Chamberlain
81f3996f75 *** empty log message *** 1991-07-19 14:21:19 +00:00
Steve Chamberlain
d25efc25a6 *** empty log message *** 1991-07-16 21:38:39 +00:00
Steve Chamberlain
8fd6eb087b Added #define for special gdb coff entry points 1991-07-16 16:12:29 +00:00
Steve Chamberlain
ee32cba6ce *** empty log message *** 1991-07-16 13:46:17 +00:00
Steve Chamberlain
fb1c44811d *** empty log message *** 1991-07-16 00:39:03 +00:00
Steve Chamberlain
a4c407e5b9 *** empty log message *** 1991-07-16 00:35:56 +00:00
Steve Chamberlain
2013f9b4e1 Initial revision 1991-07-15 23:43:15 +00:00
Steve Chamberlain
a737c70bde *** empty log message *** 1991-07-15 23:41:06 +00:00
Steve Chamberlain
41f50af07b * aoutf1.h archive.c bfd.c coffcode.h core.c ecoff.c ieee.c
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-15 23:30:28 +00:00
John Gilmore
8acc9e0558 Avoid "statement not reached" error. 1991-07-09 02:36:38 +00:00
Steve Chamberlain
27d9b689bf Added core.c prototypes to bfd.h 1991-07-06 23:46:01 +00:00
John Gilmore
295cce3ca6 Use set_tdata to set the ieee tdata field, avoiding casting left of
assignment.
1991-07-06 08:37:45 +00:00
John Gilmore
ca18a446bc Add comment about commented-out bfd_release calls. 1991-07-06 02:33:08 +00:00
Steve Chamberlain
6f7912b9fb Modified fctnl proto 1991-07-04 17:00:42 +00:00
Steve Chamberlain
7a276b09e5 *** empty log message *** 1991-07-04 16:56:17 +00:00
Steve Chamberlain
6f715d66ad Now full of documentation. Yum Yum. 1991-07-04 16:52:56 +00:00
Steve Chamberlain
985fca1293 Initial revision 1991-07-04 16:52:19 +00:00
Steve Chamberlain
e6129e2bc2 Made it better 1991-06-14 20:50:29 +00:00
K. Richard Pixley
a01bf1fbc1 added support for binary comparisons. 1991-06-09 20:27:20 +00:00
Sean Eric Fagan
2099685bad Added code to deal with filenames less than 9 characters in a COFF file. 1991-06-07 19:37:42 +00:00
Steve Chamberlain
357a1f38a5 *** empty log message *** 1991-06-07 01:32:45 +00:00
John Gilmore
141c97eac7 Remove coff-code.h and liba.out.h, add libaout.h. 1991-05-31 11:22:12 +00:00
Steve Chamberlain
3df049722c *** empty log message *** 1991-05-30 23:57:00 +00:00
Steve Chamberlain
2700c3c75a *** empty log message *** 1991-05-30 22:33:01 +00:00
John Gilmore
924bbb3815 Remove coff-code.h in favor of coffcode.h. 1991-05-29 02:52:34 +00:00
John Gilmore
359f1dee91 Rename liba.out.h to libaout.h for brain death file systems. Change callers. 1991-05-29 02:44:10 +00:00
John Gilmore
8c1891af65 Fix up .Sanitize file, remove files that are not referenced. 1991-05-29 02:40:08 +00:00
John Gilmore
a5b00362e8 Undo Bothner changes that depend on pointer representation. 1991-05-29 00:38:52 +00:00
John Gilmore
c0e5039e64 Merge in changes from gdb-3.95 release into mainstream of BFD development.
Support defaulted (search all) targets and specific (only check one)
targets.
1991-05-29 00:20:02 +00:00
K. Richard Pixley
45021feed4 I think this gets symdefs right for at least sunos. Also now swaps
symdefs.
1991-05-27 20:58:20 +00:00
K. Richard Pixley
6c18e39366 fixed a bug in multiple targets 1991-05-27 20:54:50 +00:00
Steve Chamberlain
8c556488d1 Updated
#
1991-05-25 01:58:08 +00:00
Steve Chamberlain
67099990bc Fixed to compile on kithrup 1991-05-25 01:52:23 +00:00
Steve Chamberlain
517496c5bc Initial revision 1991-05-25 01:51:54 +00:00
Steve Chamberlain
20fdc627fa Added 386 support! 1991-05-25 01:51:10 +00:00
K. Richard Pixley
08942d11c0 Initial revision 1991-05-23 21:14:00 +00:00
K. Richard Pixley
0fd8d5d963 Initial revision 1991-05-23 17:10:40 +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
b75ea0ea93 *** empty log message *** 1991-05-22 14:27:39 +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
55a970944c Removed #define obstack_alloc xmalloc pending correct solution 1991-05-21 20:19:08 +00:00
Steve Chamberlain
3b69c2cc91 Changed obstack_chunk_alloc to xmalloc 1991-05-21 15:59:33 +00:00
Steve Chamberlain
4b3720f441 *** empty log message *** 1991-05-21 15:57:42 +00:00
Steve Chamberlain
7ed4093abc *** empty log message *** 1991-05-21 00:14:16 +00:00
John Gilmore
c4cd3fc62e Initial revision 1991-05-19 22:34:40 +00:00
Steve Chamberlain
a3bb31a043 Initial revision 1991-05-18 02:58:02 +00:00
Steve Chamberlain
19b03b7aa4 *** empty log message *** 1991-05-18 02:57:45 +00:00
K. Richard Pixley
1b494bfa15 ar called through parametarizable macro. 1991-05-14 16:30:22 +00:00
K. Richard Pixley
c422030318 see devo/configure 1.11 1991-05-14 14:14:40 +00:00
Steve Chamberlain
a14b9e8aa1 *** empty log message *** 1991-05-13 21:03:08 +00:00
Steve Chamberlain
1a602d6e61 * sunos.c: (choose_reloc_size) added: (sunos4_callback) calls
choose_reloc_size. (sunos4_write_object_contents) now calls
	choose_reloc_size so outputs relocs correctly, also calculates the
	size of the sections correctly.
* aout.c: (look in the rrgs I hate VI)


~
~
~
~

1991-05-13 21:02:56 +00:00
Steve Chamberlain
c42538adaf *** empty log message *** 1991-05-13 20:26:24 +00:00
Steve Chamberlain
fb030779ae *** empty log message *** 1991-05-13 19:56:07 +00:00
Steve Chamberlain
99a2aa2cb5 *** empty log message *** 1991-05-13 17:14:49 +00:00
Steve Chamberlain
10be52bffd *** empty log message *** 1991-05-12 07:31:23 +00:00
Steve Chamberlain
8e3c8f4755 *** empty log message *** 1991-05-11 02:22:21 +00:00
Steve Chamberlain
22ddf9bcc5 Initial revision 1991-05-11 02:22:13 +00:00
John Gilmore
e10d93eda2 Sony NEWS port and modularization of a.out code. Cleanup of
close_and_cleanup, write_contents, and jump vectors.
1991-05-11 00:48:27 +00:00