Commit Graph

627 Commits

Author SHA1 Message Date
Ian Lance Taylor 8e3d11580a Thu Aug 27 17:01:04 1992 Ian Lance Taylor (ian@cygnus.com)
* targets.c, config/i960-bout.mt, hosts/*: added
	HOST_BIG_ENDIAN_DEFAULT_VECTOR and
	HOST_LITTLE_ENDIAN_DEFAULT_VECTOR because bout archive format
	depends on the endianness of the host.  Added #define
	HOST_BIG_ENDIAN_P and #undef HOST_BIG_ENDIAN_P to a number of
	configuration files in hosts/ (it was already in some).
1992-08-28 00:08:13 +00:00
Brendan Kehoe 6697a1a911 Add preliminary support for the we32k (AT&T 3b2). 1992-08-27 22:11:48 +00:00
Brendan Kehoe 98c0c56d67 Add preliminary support for the we32k (AT&T 3b2 family). 1992-08-27 22:09:30 +00:00
Brendan Kehoe 9990f965a2 Add preliminary support for the we32k (AT&T 3b2 and family). 1992-08-27 22:08:01 +00:00
Steve Chamberlain 3be5606231 * bout.c: added support for relaxable alignment relocs.
* seclet.c (rel, seclet_dump_seclet, seclet_dump): get the app to
	pass down pointer to play area rather than use alloca
1992-08-27 00:35:09 +00:00
Steve Chamberlain f21798cad0 * cpu-z8k.c (compatible): made static to reduce name space
polution.
1992-08-26 21:21:20 +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
Steve Chamberlain b5d20c939d Move a patch which got put in the wrong place. 1992-08-25 15:40:52 +00:00
Steve Chamberlain 2677d4b576 * ieee.c (ieee_get_symtab): always null terminate the symbol list,
lint.
1992-08-24 21:53:04 +00:00
Steve Chamberlain 9465d03ed5 * coffcode.h (coff_add_missing_symbols): if symbols don't come
from a coff file (csym is null), dont deref them

	* ieee.c (parse_expression): get the answer right when adding an
	abs+(sec+off), (ieee_generic_stat_arch_elt): call ieee_object_p
	on elts so that filename is filled in.
1992-08-24 19:10:06 +00:00
Ken Raeburn 1412425734 enough align-reloc support for "objdump -r", not enough for linking 1992-08-20 23:13:33 +00:00
Ian Lance Taylor 967d40ca76 Moved in from p3:
Tue Aug 18 12:57:45 1992  Ian Lance Taylor  (ian@cygnus.com)

 	* Makefile.in: added FLAGS_TO_PASS, and used it for all recursive
	invocations of make.  Also, always create installation
	directories.

	* config/apollov68.mh: removed -g from CC definition.
1992-08-18 20:24:22 +00:00
Sean Eric Fagan 1e09a701a3 Need L_SET defined on the apollo, at least under BSD emulation mode. 1992-08-18 19:49:58 +00:00
Michael Tiemann 8fbd7d2698 Support netx configuration (which permits long-only alignment on m68k). 1992-08-18 18:35:50 +00:00
Ken Raeburn 9425505486 * config/decstation.mh (HDEFINES): Specify "-G 4" to avoid
overflowing gp-offset range.
1992-08-17 20:42:16 +00:00
Steve Chamberlain b15aa5129e * srec.c (srec_set_section_contents): don't write out sections
without the LOAD and ALLOC attributes
1992-08-17 19:29:07 +00:00
Ken Raeburn 2b795743bf * archures.c, cpu-m68k.c, cpu-sparc.c: Undo 16 June changes.
* libaout.h (struct aout_backend_data): New callback "set_sizes".
* aout-target.h (callback): Don't set page/seg sizes.
(mkobject): Ditto.
(set_sizes): New routine.
(backend_data): Point to it.
* aoutf1.h (sunos4_set_sizes): Heed architecture when setting sizes.
(sunos4_aout_backend): Point to it.
* aoutx.h (set_arch_mach): Call set_sizes callback.
1992-08-17 16:04:19 +00:00
Per Bothner 582bc90a63 * aout-target.h: Make _bfd_slurp_extended_name_table be
the default.  Given that we *write* the suckers (for long
	archive member names), we really ought to be able to read them!
	* trad-core.c:  Don't include <machine/reg.h>.  It doesn't
	seem to be needed, and many machines don't have it.
1992-08-15 02:27:58 +00:00
Steve Chamberlain 73f30e4908 * coff-m68k.c (vector): read and write archives in coff format. 1992-08-13 16:54:50 +00:00
Ken Raeburn 6bb4c92322 moved sparc opcode table to bfd 1992-08-11 16:57:29 +00:00
Fred Fish 671450818a * bout.c (bfd_reloc_status_type, callj_callback): Cast void*
pointers to bfd_byte* before performing arithmetic on them.  Such
	use with bare void* pointers is a gcc extension.
	* cache.c (bfd_cache_delete):  Forward decl with prototype form.
	* archive (normalize):  Add to CONST to match actual usages with
	CONST.
1992-08-09 06:16:44 +00:00
Fred Fish eafc6d85c6 * configure.in: Recognize i486 host cpu, and use i386-elf
for i486-ncr-sysv4.
1992-08-03 07:36:45 +00:00
Fred Fish 6030489a3a Back out of ill-considered addition of support for SHT_BEPROGBITS. 1992-08-02 15:48:21 +00:00
Fred Fish 3dfa6cfb66 * config/stratus.mt (CC): Remove definition.
* elf.c (bfd_section_from_shdr, elf_section_from_bfd_section,
	section_from_elf_index):  Add SHT_BEPROGBITS case for i860 in
	big endian mode.
	* elf.c (bfd_section_from_shdr):  Test for the possibility that
	section_from_elf_index returns NULL and don't dereference it.
1992-08-01 20:51:09 +00:00
David Henkel-Wallace 9e2b3581cb HP host support 1992-07-23 19:44:30 +00:00
K. Richard Pixley 5ae97f7d26 removed rcsids 1992-07-18 01:34:19 +00:00
K. Richard Pixley 8df9af77ca merged changes from progressive 1992-07-16 23:49:40 +00:00
Steve Chamberlain 31f333a39f * coff-m68k.c: added R_RELLONG_NEG reloc type, and changed
RTYPE2HOWTO to cope with same.
	* reloc.c (bfd_perform_relocation): added support for size of -2
	(subtract a word reloc type). Updated doc.
1992-07-16 23:44:53 +00:00
K. Richard Pixley 5f1b6dd222 removed rcsid 1992-07-16 23:42:42 +00:00
K. Richard Pixley 542afc7675 removed rcsid 1992-07-16 23:28:40 +00:00
Steve Chamberlain b58e918004 * bfd-in.h : add BFD_IS_RELAXABLE flag
* bout.c (bout_swap_exec_header_[in_out]): new field in exec
	header e_relaxable, major hackery in callbacks
	* libaout.h : add space for a_relaxable.
	* seclet.c (rel): don't relax empty sections
1992-07-16 15:12:28 +00:00
Michael Tiemann dd6cc3c938 Add #include <alloca.h> so bfd can be built with native compiler. 1992-07-15 16:06:03 +00:00
Steve Chamberlain dc2239ac77 Extra lint 1992-07-15 14:59:45 +00:00
Stu Grossman b0e15d3364 Add solaris2.h. 1992-07-14 07:21:29 +00:00
Stu Grossman 42c39b6952 Add sco-core.c. 1992-07-14 07:20:02 +00:00
Steve Chamberlain f6681656c1 * archive.c (bsd_write_armap): write the timestamp of the
archive header to be just a little bit later than the timestamp of
	the file, otherwise the linker will complain that the index is
	out of date.
1992-07-08 23:28:21 +00:00
Fred Fish 967e8d7a5a * configure.in: Add m68k-ericsson-*. 1992-07-07 07:24:25 +00:00
Sean Eric Fagan c5ab244b6c Don't really want <sys/file.h> on a SysV system, and need to make sure
a couple of necessary defines are done.
1992-07-04 21:45:42 +00:00
John Gilmore a1f6632789 * syms.h: Define BSF_FILE, update BSF_SECTION_SYM desc.
* elf.c:  Remove unconditional debug printf's.
(elf_write_object_contents, elf_slurp_symbol_table):  Handle
BSF_SECTION_SYM <=> STT_SECTION, BSF_FILE <=> STT_FILE.
(elf_slurp_symbol_table):  Hand out symbols in forward, not
reverse order.  Simplify duplicate code.
1992-07-04 10:38:33 +00:00
Fred Fish 97225e37f7 * elf.c: Remove "(void)" casts from function calls where the
return value is ignored, in accordance with GNU coding standards.
1992-07-04 03:24:37 +00:00
Fred Fish fbc2750e39 * hppa.c: Apply John's standard fix to avoid "empty translation
unit" warnings from some ANSI-C compilers.
1992-06-30 23:50:04 +00:00
Stu Grossman ad486d7771 Declare free() for hpux. 1992-06-25 23:11:26 +00:00
John Gilmore c40dbf26ab * hosts/solaris2.h: Configure same as sysv4. 1992-06-25 11:40:36 +00:00
Fred Fish ec6b2951da * libbfd.h, libbfd-in.h (bfd_seek): Make prototype match definition.
* reloc.c (bfd_default_reloc_type_lookup):  Make cast on return
	type match actual return type.
	* elf_print_symbol (section_name):  Make CONST.
1992-06-24 04:56:01 +00:00
Per Bothner 11be3463ff Add i386linux.h. 1992-06-23 06:20:09 +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
Per Bothner f74d99418e * i386linux.c, hosts/i386linux.h, config/i386-linux.mt:
New files, for Linux (a free Unix clone for 386 machines).
	* Makefile.in, configure.in, targets.c:  Update accordingly.
1992-06-23 01:05:47 +00:00
Steve Chamberlain 800aef7c5c Lint stuff which didn't make it last time 1992-06-22 16:07:05 +00:00
Steve Chamberlain 3860075f3f Fri Jun 19 20:23:21 1992 Steve Chamberlain (sac@thepub.cygnus.com)
Lints for bfd_reloc_code_type->bfd_reloc_code_real_type, and
	correct calling of howto special functions and fixes from Raeburn
	for gas<>bfdness
	* archures.c: nuke bfd_reloc_code_type
	* bout.c, cpu-h8300.c, coff-i960.c, coff-m88k.c: special function lint
	* coffcode.h (styp_to_sec_flags): STYP_INFO is marked as
	SEC_NEVER_LOAD, various other bfdgas newness
	* reloc.c->libbfd.h: change protype of bfd_default_reloc_type_lookup
	* targets.c: change jump table vector to above
1992-06-22 15:42:38 +00:00
John Gilmore 796aae470c * elf.c (bfd_elf_find_section): Mark as INTERNAL_FUNCTION so
its prototype will be included in libbfd.h.  Change result type
to struct * (rather than equivalent typedef) so it can be used in
the prototype, where they typedef won't be known.
* libbfd.h:  Updated version.
1992-06-20 02:04:20 +00:00