Commit Graph

230 Commits

Author SHA1 Message Date
Jim Kingdon
6418521d71 fix typo in name of elf32-generic.c 1993-06-21 17:27:37 +00:00
Fred Fish
8d936d1f5b Add elf32-generic.c to list of files to keep. 1993-06-21 15:27:00 +00:00
Jim Kingdon
2c4f2c7296 * Makefile.in: Add elf32-{mips,m88k}.
elf32-{mips,m88k}.c: New files.
	targets.c (target_vector): Include bfd_elf32_{mips,m88k}_vec.
1993-06-18 16:07:34 +00:00
Ken Raeburn
4bf86ecb11 oops -- keep elf64.c too 1993-06-04 00:21:04 +00:00
Ken Raeburn
cef91d759c keep new files 1993-06-02 20:25:43 +00:00
Fred Fish
ef7e172e5c Add elfcode.h to list of things to keep. 1993-05-30 14:32:12 +00:00
Ken Raeburn
b9653d8165 first cut at new maybe-64bit-handling configuration 1993-05-27 19:57:15 +00:00
K. Richard Pixley
87756e15db added things-to-lose sections 1993-05-27 06:44:29 +00:00
Stu Grossman
aef0bd9996 Add i386lynx.c. 1993-05-24 21:04:09 +00:00
Ken Raeburn
c268b400ad keep hp300hpux and hppa-elf files 1993-04-29 16:10:34 +00:00
Steve Chamberlain
9faacb925f Support for Hitachi SH 1993-04-27 01:17:32 +00:00
Steve Chamberlain
5f8f6d56f2 Support for the alpha 1993-04-24 02:10:09 +00:00
Ken Raeburn
044c1ba9e5 aout-mipsbsd -> mipsbsd 1993-03-23 20:21:47 +00:00
Ian Lance Taylor
16788ca9fd Removed obsolete Makefile.dos. 1993-03-09 18:16:38 +00:00
Ken Raeburn
4743848f07 keep new elf files 1993-03-02 17:36:08 +00:00
David D. Zuhn
372c8dcf81 no more v9 code in aoutx.h 1993-02-13 08:56:24 +00:00
Steve Chamberlain
ff975a2c4c H8/500 support 1993-02-04 20:59:55 +00:00
Ian Lance Taylor
a3b3dbdda5 Thu Feb 4 12:35:02 1993 Ian Lance Taylor (ian@cygnus.com)
* libecoff.h: New file.  Defines ECOFF backend data for gdb.
	* coff-mips.c: Now includes libecoff.h.
	(ecoff_data_type): Moved to libecoff.h.
	(ecoff_slurp_symbolic_info): Made globally visible so that gdb can
	call it.  If there is ever another ECOFF target, this and the
	swapping functions should be accessed via an ECOFF specific target
	vector.
	Makefile.in (coff-mips.o): Depends on libecoff.h.
1993-02-04 20:47:10 +00:00
John Gilmore
2f15ee07dd Remove "done in" message. 1993-02-03 07:39:55 +00:00
John Gilmore
9dec3920f0 Add aout-mipsbsd.c 1993-02-03 05:24:02 +00:00
Ian Lance Taylor
075caafd65 These changes cut the size of libbfd.a on a Sun4 by about 11%.
Somewhat more could be done.

Fri Jan  8 15:47:53 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)

	* coffcode.h: Moved many generic functions into coffgen.c.  Moved
	swapping functions into coffswap.h for ECOFF use.  Moved
	relocation functions, only used by h8300 and z8k, into reloc16.c.
	Added hooks for coffgen.c functions to backend data structure, and
	added hook functions.  Still more could be done.
	* coffswap.h: New file to hold COFF swapping routines.
	* coffgen.c: New file to hold generic COFF functions.
	* reloc16.c: New file to hold h8300 and z8k specific relocation
	functions.
	* libcoff-in.h: Added declarations for functions in coffgen.c.
	* libcoff.h: Rebuilt to incorporate changes.
	* coff-h8300.c: Function name changes.
	* coff-z8k.c: Function name changes.  Use coff_reloc16_extra_cases
	hook rather than defining EXTRA_CASES.
	* Makefile.in: Build new files coffgen and reloc16.  Added
	dependencies of coff-*.o on coffswap.h and seclet.h.
1993-01-08 21:11:21 +00:00
Ian Lance Taylor
60ac749cab Mon Dec 21 12:40:10 1992 Ian Lance Taylor (ian@cygnus.com)
* Patches from Minh Tran-le <mtranle@paris.intellicorp.com>.
	* configure.in (i386-*-isc*, i386-*-aix*): New targets.
	* configure.host (i386-*-isc*, i386-*-aix*): New hosts.
	* hosts/i386isc.h, config/i386isc.mh: New files for Interactive
	Unix.
	* hosts/i386aix.h, config/i386aix.mh: New files for AIX on PS/2.
	* aix386-core.c: New file for handling core files on AIX on PS/2.
	* targets.c: if AIX386_CORE, use aix386_core_vec.
	* coffcode.h (coff_real_object_p): check for I386SVMAGIC as well
	as I386MAGIC.
1992-12-21 21:17:54 +00:00
Ken Raeburn
a474b5721b trad-core.h is gone 1992-12-08 09:25:47 +00:00
John Gilmore
5a5fa3688c * configure.host: New file, contains mapping of host configs
to host support file names for bfd, binutils, opcodes.
* configure.in:  Use it.
* i386aout.c:  Cleanup, dump TARGET_IS_LITTLE_ENDIAN_P.
* i386bsd.c:  Cleanup, reformat.
* config/i386-bsd.mt:  Comment changes.
* config/i386bsd.mh:  New file for core file support.
* hosts/i386bsd.h:  Merge changes from Peter Schauer.
* bout.c (ALIGN):  Rename to ALIGNER, since system header files
on BSD 4.4 define ALIGN (sigh!).
1992-10-09 11:38:30 +00:00
Fred Fish
256b39e042 Save i386bsd.c since it is now required to build bfd.
(Am I the *only* one that regularly builds sanitized trees and thus
 gets to clean up these things?)
1992-10-08 17:43:08 +00:00
Fred Fish
4846e30f3f Keep aout-adobe.c, need to compile sanitized versions. 1992-09-27 06:15:32 +00:00
Steve Chamberlain
5d74c1e534 Remove sparc-opc.c 1992-09-10 17:22:33 +00:00
Per Bothner
5618ccb8a2 Remove scripts directory. 1992-09-03 22:58:38 +00:00
Ken Raeburn
71c1f4043f Renamed opc-sparc.c to sparc-opc.c for more significant characters in cpu
name under losing file systems ("sparc-op" rather than "opc-spar").
1992-08-28 22:42:58 +00:00
Brendan Kehoe
c7551f7651 Forgot to list the we32k files in .Sanitize. 1992-08-28 21:01:11 +00:00
Steve Chamberlain
d41ab7144e Add basic support for the z8k:
* Makefile.in, archures.c, coffcode.h, configure.in, reloc.c,
	section.c, targets.c,
1992-08-25 22:04:53 +00:00
Ken Raeburn
6bb4c92322 moved sparc opcode table to bfd 1992-08-11 16:57:29 +00:00
David Henkel-Wallace
9e2b3581cb HP host support 1992-07-23 19:44:30 +00:00
Stu Grossman
42c39b6952 Add sco-core.c. 1992-07-14 07:20:02 +00:00
Stu Grossman
afff60cd43 Per, guess what you forgot to do...
Hint:  Add i386linux.c to bfd/.Sanitize...
1992-06-23 05:27:14 +00:00
Stu Grossman
76b731f9ae HPPA BS 1992-06-20 01:00:46 +00:00
Stu Grossman
2403c16456 Save scripts. 1992-06-16 21:49:08 +00:00
Fred Fish
a14b294143 Add tekhex.c 1992-04-18 04:38:26 +00:00
John Gilmore
aee06af3b4 Remove $Log stuff. 1992-04-09 07:06:54 +00:00
Stu Grossman
9ef1e2da7c Keep PORTING 1992-03-31 04:44:32 +00:00
John Gilmore
583f79e974 Add rule for coff-msym. 1992-03-06 08:42:41 +00:00
Per Bothner
cf15d9e97a New file: rs6000-core.c. 1992-03-02 06:39:32 +00:00
Steve Chamberlain
1d535e75df Wed Feb 26 19:40:59 1992 Steve Chamberlain (sac at thepub.cygnus.com)
* bfd.c: lint
	* coff-h8300.c: fix stupid reloc subtraction bug
	* coffcode.h (coff_swap_aux_out): only swap a tvndx by 2 bytes,
	since that's how wide it is. (coff_slurp_symbol_table): always zero out
	the symbol.flags and done_lineno fields.
1992-02-27 03:52:15 +00:00
Steve Chamberlain
13b351cceb DOS file name change 1992-02-21 22:55:08 +00:00
Stu Grossman
dc72b0b679 Add seclet.h to files-to-keep. 1992-01-27 21:48:38 +00:00
Steve Chamberlain
e98e6ec111 Uses the new small reloc type now.
Currently self hosts on sun4 and sun3
1992-01-24 22:44:51 +00:00
Per Bothner
608de555e4 Use aout-target.h more extensively.
Replace Berkeley functions (e.g. bcopy) with ANSI ones (e.g. memcpy).
Other improvements (see ChangeLog).
1991-12-18 23:01:48 +00:00
Steve Chamberlain
be40d9aad1 Added configdos.bat makefile.dos 1991-12-12 03:19:36 +00:00
Steve Chamberlain
71e3403212 Added h8 1991-11-27 16:58:22 +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
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
Steve Chamberlain
e181b631aa Added ctor.c (I remembered this time) 1991-11-04 00:37: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
cc97dfbba7 RS/6000 support 1991-10-25 07:16:59 +00:00
Per Bothner
90c7c72088 Add hosts directory. 1991-10-15 07:29:13 +00:00
John Gilmore
b7de6963d4 Add i386aout.c 1991-10-08 22:31:52 +00:00
John Gilmore
c167d2a673 howto.c, configure, config.sub gone. 1991-10-05 06:16:44 +00:00
John Gilmore
ea3768dc45 Add elf.c 1991-10-03 22:23:56 +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
01f0a88e4c Added "recover"'ability. 1991-09-04 03:59:15 +00:00
K. Richard Pixley
48543e053a "recover" aoutx.h 1991-09-03 22:21:30 +00:00
John Gilmore
20ccfb0996 paperwork handled for AMD Coff. 1991-08-29 00:35:06 +00:00
Steve Chamberlain
86835b0121 *** empty log message *** 1991-08-22 20:23:12 +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
Steve Chamberlain
c618de01c1 Documentation 1991-08-17 00:17:15 +00:00
Steve Chamberlain
e961483fd7 *** empty log message *** 1991-08-01 14:37:51 +00:00
John Gilmore
fab4b2d308 Forgot one more place to remove amdcoff.c reference (sigh). 1991-08-01 05:33:39 +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
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
446545dd85 Better sanitize aoutx.h too! 1991-07-31 07:54:31 +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
a737c70bde *** empty log message *** 1991-07-15 23:41:06 +00:00
Steve Chamberlain
6f715d66ad Now full of documentation. Yum Yum. 1991-07-04 16:52:56 +00:00
John Gilmore
141c97eac7 Remove coff-code.h and liba.out.h, add libaout.h. 1991-05-31 11:22:12 +00:00
John Gilmore
8c1891af65 Fix up .Sanitize file, remove files that are not referenced. 1991-05-29 02:40:08 +00:00
K. Richard Pixley
08942d11c0 Initial revision 1991-05-23 21:14:00 +00:00