Commit Graph

649 Commits

Author SHA1 Message Date
Ken Raeburn 292dc23953 fix uninitialized pointer when reading relocs 1992-09-18 16:33:16 +00:00
Ian Lance Taylor dc999ad933 Fri Sep 11 15:37:06 1992 Ian Lance Taylor (ian@cygnus.com)
* coffcode.h (coff_renumber_symbols): set the last renumbered
	symbol pointer to NULL, as expected by coff_write_linenumbers.
	(coff_write_relocs): apparently a non-zero addend is OK for reloc
	type R_IHCONST used on the 29k.
1992-09-11 22:43:53 +00:00
John Gilmore c00bab93f0 * opncls.c (bfd_fdopenr): Determine whether to fdopen for
update, based on how the underlying file was opened.  Obsoletes
FASCIST_FDOPEN.
* hosts/rs6000.h, hosts/tahoe.h, hosts/vaxbsd.h:  Remove
all FASCIST_FDOPEN config defines.
1992-09-10 20:31:10 +00:00
Steve Chamberlain 5d74c1e534 Remove sparc-opc.c 1992-09-10 17:22:33 +00:00
Ken Raeburn 54a9da01d3 move out sparc-opc.c 1992-09-09 01:48:41 +00:00
Ian Lance Taylor 45441dd5a2 Found by IBM-France. gcc can warn about this sort of thing....
Tue Sep  8 10:10:34 1992  Ian Lance Taylor  (ian@cygnus.com)

	* aoutx.h: adjust_sizes_and_vmas did not return anything.
1992-09-08 17:13:53 +00:00
Jim Wilson c409bc28dc Remove extraneous, but harmless, backslash from last change. 1992-09-03 23:17:41 +00:00
Per Bothner 5618ccb8a2 Remove scripts directory. 1992-09-03 22:58:38 +00:00
Per Bothner cf25833989 Bump to version 2.0. 1992-09-03 21:18:04 +00:00
Stu Grossman 4e5ff049bc * bout.c, cpu-z8k.c: Use enums when initializing structs to keep
braindamaged HP/Apollo compiler happy.
1992-09-03 16:10:13 +00:00
Per Bothner 2afc285dd5 Add copyright notice. 1992-09-02 20:45:02 +00:00
Per Bothner ef2810d07e * Makefile.in: Added mostlyclean/clean/distclean rules. 1992-09-02 07:27:31 +00:00
Per Bothner 66945e8a30 Note previous change (removing oasys from target_vector). 1992-09-01 20:42:42 +00:00
Per Bothner 81e064da64 * targets.c (target_vector): Take out oasys (unless that is
the default):  Because there is no magic number in archives,
	there can be annoying target mis-matches.
1992-09-01 20:42:11 +00:00
Jim Wilson 71703b0735 Update to SPARC Version 9 Draft 1.0.4. 1992-08-31 17:14:50 +00:00
Steve Chamberlain 2768b3f763 * aoutx.h (aout<n>swap_ext_reloc_out), bout.c
(b_out_squirt_out_relocs): fix bug 1506 where abs symbols attached
	to the built-in abs_section were not written out correctly.
1992-08-31 15:10:34 +00:00
Ian Lance Taylor 0a62e9bd9f Fri Aug 28 16:29:15 1992 Ian Lance Taylor (ian@cygnus.com)
* archive.c (bfd_slurp_bsd_armap): if the symdef_count is too
	large, assume we're using a swapped byte order and fail with
	wrong_format rather than dumping core.
1992-08-29 00:17:55 +00:00
Ian Lance Taylor e41a1546e1 Back out the HOST_BIG_ENDIAN_P changes I put in yesterday. 1992-08-28 22:54:13 +00:00
Ken Raeburn cf24f26c84 Missed one... 1992-08-28 22:44:19 +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
Ian Lance Taylor 378dac8cc6 Back out yesterday's change for using host endian order in 960 bout files. 1992-08-28 21:10:36 +00:00
Brendan Kehoe c7551f7651 Forgot to list the we32k files in .Sanitize. 1992-08-28 21:01:11 +00:00
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