Commit Graph

721 Commits

Author SHA1 Message Date
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
Stu Grossman
76b731f9ae HPPA BS 1992-06-20 01:00:46 +00:00
Stu Grossman
3fd76e5866 HPPA merge. 1992-06-19 22:25:45 +00:00
Stu Grossman
e3c01e92af * Makefile.in, archures.c, configure.in, cpu-hppa.c, hppa.c, libhppa.h,
targets.c:  HPPA merge.
1992-06-19 22:24:13 +00:00
John Gilmore
cf9395e5f5 * configure.in: Separate Solaris2 from SYSV4 on SPARC.
* config/solaris2.mh:  Kludge around Sun compiler bug.
1992-06-19 19:22:36 +00:00
Stu Grossman
547c0cb55c * libaout.h (aout_backend_data): Change defs of two bitfields to
be unsigned chars instead to get around rs6000 compiler problem.
1992-06-17 21:05:49 +00:00
Fred Fish
91f781ffbb * elf.c (bfd_section_from_shdr, elf_slurp_symbol_table):
Correct misconception that there can be only one symbol table.
	Only call elf_slurp_symbol_table on the full symbol table, not
	the dynamic one which is only a subset of the full one.

	(The bfd library was slurping in the first ELF symbol table it
	found and then ignoring any others.  For dynamically linked
	executables, this happened to be the dynamic symbol table, which
	is a subset of the full symbol table and only contains the
	symbols that need to be used in dynamic linking.)
1992-06-17 20:58:46 +00:00
Ken Raeburn
5e16788678 Don't align sections in I960 coff files.
(I know there's a GDB freeze on, but this only affects writing i960
coff files, and Steve needs it ASAP.)
1992-06-17 20:06:33 +00:00
Stu Grossman
2403c16456 Save scripts. 1992-06-16 21:49:08 +00:00
Ken Raeburn
458c48278a * hosts/sparc.h (abort, exit): Hide these names if compiling with
gcc version 2, to avoid warnings.
1992-06-16 12:05:52 +00:00
Ken Raeburn
ce07dd7c0c [time to file a PR on cvs...]
Various changes to get linker working again for a.out:
 * don't set/adjust section file positions or vmas more than once
 * use correct page size and segment size when calculating them
 * deal with some variations in a.out implementations
Tested on sun4 and sun4->sun3 so far, will be testing further but
needed to get wider exposure&testing.  See ChangeLog for details.

Also:
* coffcode.h (coff_write_relocs): Write out swapped reloc, not
pre-swapped version.
* hosts/sparc.h (abort, exit): Hide these names if compiling with
gcc version 2, to avoid warnings.
1992-06-16 12:04:03 +00:00
Ken Raeburn
41729eb4b0 Various changes to get linker working again for a.out:
* don't set/adjust section file positions or vmas more than once
 * use correct page size and segment size when calculating them
 * deal with some variations in a.out implementations
Tested on sun4 and sun4->sun3 so far, will be testing further but
needed to get wider exposure&testing.  See ChangeLog for details.

Also:
* coffcode.h (coff_write_relocs): Write out swapped reloc, not
pre-swapped version.
* hosts/sparc.h (abort, exit): Hide these names if compiling with
gcc version 2, to avoid warnings.
1992-06-16 11:34:07 +00:00
Fred Fish
28d2c686f4 * config/ncr3000.mh (INSTALL, RANLIB): Don't use /usr/ucb/install,
it's broken on ncr 3000's.  Use simple "true" for RANLIB.
1992-06-15 19:27:49 +00:00
John Gilmore
1e730c4b08 * section.c (STD_SECTION): Remove extra semicolon in declarations.
* configure.in:  Rewrite target parsing to use simple format.
Handle sparc-sun-solaris2 configuration.
* aout64.h:  Avoid ANSI C brain death warning.
* elf.c:  Avoid trigraph (???) or /* in comments.
1992-06-13 05:58:49 +00:00
David D. Zuhn
a52057f811 change to new solaris naming system, add sysv4 host config 1992-06-13 00:43:08 +00:00
John Gilmore
80bdcb77bd * elf.c (elf_obj_tdata): Merge elf_obj_tdata_struct and
elf_core_tdata_struct into a single common struct.  Core files
wouldn't have worked at all without this.
(bfd_elf_find_section):  New function for GDB's undercover use
to find string sections that BFD hides from it.
(elf_get_str_section):  Avoid multiple alloc&reads for same data; lint.
(elf_object_p, elf_core_file_p):  Allocate internal file header
storage dynamically.
* bfd.c (union {...} tdata):  Remove elf_core_tdata_struct.
* demo64.c:  Prevent "empty translation unit" warnings from idiots.
1992-06-11 08:10:04 +00:00
Fred Fish
df03b780f4 * config/{i386v4.mh, ncr3000.mh}: Update RANLIB, add INSTALL. 1992-06-10 02:17:08 +00:00
John Gilmore
ab37d4f663 * configure.in: Handle Solaris2 as *-sun-sysv4 or as *-sun-sunos5. 1992-06-07 00:03:50 +00:00
Per Bothner
2a4e0ef292 Add apollo68.h. 1992-05-26 23:59:37 +00:00
Steve Chamberlain
ab98fd5dbc * coff-a29k.c: do byte relocs correctly
* coffcode.h (styp_to_sec_flags): never load INFO sections
	* seclet.c (rel): don't relocate INFO sections
1992-05-26 23:53:00 +00:00
Steve Chamberlain
780c477aff 29k const fix 1992-05-26 22:20:09 +00:00
Steve Chamberlain
954d412a06 Fix some typos 1992-05-26 19:08:48 +00:00
Steve Chamberlain
8b046402f5 This is a test to see if the file is still locked. 1992-05-26 14:51:23 +00:00
Ken Raeburn
8070f29df5 Lots of changes from gas-bfd work. Includes:
* working reloc lookup support
 * better support for creation of COFF files from scratch
 * misc doc changes, macro tweaks, "const" additions, typo fixes, etc.
 * one or two ugly kludges that should get cleaned up (but what's one
   or two more, in BFD?)
See ChangeLog for details.
1992-05-26 03:45:31 +00:00
Ken Raeburn
20edaa8e77 Lots of changes from gas-bfd work. Includes:
* working reloc lookup support
 * better support for creation of COFF files from scratch
 * misc doc changes, macro tweaks, "const" additions, typo fixes, etc.
 * one or two ugly kludges that should get cleaned up (but what's one
   or two more, in BFD?)
See ChangeLog for details.
1992-05-26 03:23:53 +00:00
David Henkel-Wallace
10dea9ed17 A couple of things from the net. 1992-05-20 06:47:14 +00:00
Steve Chamberlain
de1478e115 Fix various protos so bfd/binutils compile on sun3 with gcc 1992-05-18 22:46:15 +00:00
K. Richard Pixley
bec9b33551 fix declaration of free 1992-05-17 00:58:37 +00:00
Steve Chamberlain
bbbd93b8e9 Tue May 12 14:08:59 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* coff-a29k.c (perform_reloc): fix bug in jmp/call evaluation
	* coff-h8300.c (reloc_processing): all relocs are relative to
	section start.
	* opncls.c: don't use fdopen on DOS systems

	short patches from Glenn Kasten (glenn@ready.com)
	* target.c: enabled oasys support
	* oasys.c:  Insert . when UNDERSCORE_HACK is enabled,
	fix problem where a relocation which crossed a modification byte
	boundary did not work. Fix problem where a relocation near the end
	of a data record did not work.
1992-05-12 21:42:36 +00:00
Steve Chamberlain
f6eaba8395 Add definition of free 1992-05-12 14:55:32 +00:00
Steve Chamberlain
cb467682ed Compile with acc 1992-05-08 21:07:40 +00:00
K. Richard Pixley
5a9b659196 fix cc compile failure 1992-05-06 18:11:49 +00:00
Steve Chamberlain
7969cb57d0 Renamed dup other_dup to stop conflict on iris 1992-05-05 21:34:14 +00:00
Per Bothner
641b6d2b30 * bfd-in.h: Increase version number to 1.97, for consistency with ../binutils.
* Makefile.in:  docdir is ./doc, not ${srcdir}/doc.
1992-05-05 21:21:59 +00:00
Per Bothner
892205bc4b Get rid of bogus comment in compiler command rule. 1992-05-05 20:54:18 +00:00
Steve Chamberlain
ae6e60b501 Lint 1992-05-05 02:28:56 +00:00
Steve Chamberlain
2cfd05621b * bfd-in.h: bump version to 1.96
Major change; changed calling convention for
	 bfd_get_relocated_section_contents so that caller allocates
	 memory for section data.
	* coffcode.h (bfd_coff_get_relocated_section_contents), reloc.c,
	seclet.c, targets.c, bfd.c: reflect new convention.
	* coffcode.h (styp_to_sec_flags): if styp_flags is not a special
	case, then use reasonable default values for SEC_* flags.
1992-05-04 23:42:03 +00:00
Steve Chamberlain
b9b40ee01d * coffcode.h (coff_write_object_contents): use RELSZ to work out
size of output reloc struct.
1992-05-02 01:52:39 +00:00
Steve Chamberlain
54862c89ac * coffcode.h (coff_write_object_contents): use RELSZ to work out
size of output reloc struct.
1992-05-02 01:46:50 +00:00
Steve Chamberlain
9068cbe7b4 new_bfd_contained_in : Inherit target->defaulted from parent 1992-05-02 01:43:21 +00:00
Steve Chamberlain
69e0d34d4d * targets.c, Makefile.in: comment out tekhex for the moment.
* ieee.c: if some places where null pointers were used instead of &bfd_abs_section.
	* configure.in: tandem target is st2000
	* coff-m68k.c: rename static howto_table to global
	m68kcoff_howto_table.
	* bout.c: remove unnecessary abort
1992-05-02 01:41:33 +00:00
Steve Chamberlain
859f11ffd8 * coff-a29k.c: various changes to the way relocations work to cope
with the "new order" and latent bugs.
	* coffcode.h: lint
1992-05-01 20:00:26 +00:00
Michael Tiemann
b96a430e09 Fix a typo (missing ||) in b_out_squirt_out_relocs. 1992-04-29 20:45:03 +00:00
Steve Chamberlain
5022aea5df * aoutx.h (aout_swap_ext_reloc_out, aout_swap_std_reloc_out)
bout.c (b_out_squirt_out_relocs): treat abs sumbols the right way.
	* reloc.c (bfd_perform-relocation): don't relocate refs to
	absolute symbols if doing a partial link.
1992-04-29 19:40:35 +00:00
K. Richard Pixley
f94dcdb2bd Do the CFLAGS thing. 1992-04-28 17:22:07 +00:00
Stu Grossman
7b42a5d9ff * configure.in: Add a29k-amd-udi. 1992-04-24 14:37:32 +00:00
Fred Fish
55c0061edd aoutx.h (aout_<bits>_swap_exec_header_in): Zero out the internal_exec
structure before initializing the fields that are used, so that the unused
fields are in a known state.  Two of these structures are memcmp'd so
any fields not explicitly initialized must be set to a known state.
1992-04-24 01:42:41 +00:00
Fred Fish
64cebbc53a Finish eradication of MINUS_G per current configuration strategy. 1992-04-22 21:49:56 +00:00
Fred Fish
011612f7f2 Finish MINUS_G eradication per new configure strategy. 1992-04-22 21:48:51 +00:00
Fred Fish
be2d8c134a Convert typedef that typedefs nothing into a normal structure declaration.
Prototype args to function that second arg of pass_over points to.
1992-04-22 16:40:35 +00:00
K. Richard Pixley
6e491a87f9 rework CFLAGS, etc. 1992-04-21 05:27:57 +00:00
Fred Fish
a14b294143 Add tekhex.c 1992-04-18 04:38:26 +00:00
Steve Chamberlain
e59320117e Fri Apr 17 09:15:31 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* bfd.c, Makefile.in: added tekhex
	* aoutx.h (set_section_contents): pages should be padded to the
	size of a page, not the size of a segment.
	* configure.in: added go32 host and i386-aout target.
	* i386aout.c, libaout.h: now works for go32 target
	* ieee.c: fix bit rot.
	* seclet.c: support for padding seclet type.
1992-04-17 16:22:44 +00:00
Steve Chamberlain
267998d84f New definition of padding seclet 1992-04-17 16:14:34 +00:00
K. Richard Pixley
30662ca6a8 Add .NOEXPORT: so that doc directory doesn't inherit a bad definition
for target_makefile_frag.
1992-04-16 01:23:41 +00:00
Fred Fish
e4b9dd935b Ifdef-out debugging code, and ifdef-out code that aborts on unhandled
sections (this was causing needless gdb aborts; gdb doesn't care about
these sections anyway).
1992-04-15 05:32:58 +00:00
Fred Fish
808dfd5aab Fix couple of function args that expect to be passed CONST pointers, and
boolean functions that were returning NULL, which can be "void *" rather
than just bare 0.
1992-04-14 21:41:30 +00:00
Sean Eric Fagan
570556da54 Changed to support Apollo Series 400 under bsd4.3 emulation environment. 1992-04-14 21:28:04 +00:00
Sean Eric Fagan
59ad286d22 New header file for Apollo Series 400 running under BSD4.3 emulation. 1992-04-14 20:25:29 +00:00
Mark Eichin
37ac3b76ec Massive changes. Elf sections are now processed into BFD sections only
if they make sense as independent sections; symbols and relocs are
turned into BFD symbols and relocs; objects are now created.
	objdump and copy mostly work on .o files.
	this check-in will be followed by gdb testing.
	the code has *not* yet been split up the way coff is to
support multiple architectures and bit widths.
	no ChangeLog entries yet; too big... nearly everything changed.
1992-04-13 15:01:54 +00:00
Fred Fish
5868184b8d Pass on MINUS_G to recursive makes. Recognize ncr3000 config. 1992-04-11 05:38:40 +00:00
Fred Fish
ccc76ce9bf New config files for NCR 3000. 1992-04-11 05:31:31 +00:00
John Gilmore
5a3859296d apollo68v.h => apollov68.h (must be for DOS 8.3 names or something) 1992-04-09 07:26:14 +00:00
John Gilmore
aee06af3b4 Remove $Log stuff. 1992-04-09 07:06:54 +00:00
John Gilmore
79a6ce4fa6 * Makefile.in: Now that we have sym.h and symconst.h, compile
coff-msym.c on all systems.
* coff-msym.c:  Update include files and comments; add weakext bit.
1992-04-03 01:47:27 +00:00
John Gilmore
adf5061ceb * archive.c, bfd.c, bout.c, coffcode.h, init.c, reloc.c,
section.c, srec.c, syms.c, coff-h8300.c:  Lint.
1992-04-02 07:26:31 +00:00
Stu Grossman
95e19a8afe Add sysv4.h 1992-03-31 04:49:27 +00:00
Stu Grossman
a11565c970 Add irix4.h 1992-03-31 04:46:53 +00:00
Stu Grossman
9ef1e2da7c Keep PORTING 1992-03-31 04:44:32 +00:00
John Gilmore
be78a1301f * config/sparc-elf.mt, hosts/sysv4.h: New config files. 1992-03-29 18:46:10 +00:00
John Gilmore
c86190dd2a * bout.c, coff-a29k.c, coff-i960.c: Lint.
* configure.in:  Add new host and target configs.
* elf.c (bfd_prstatus, bfd_fpregset):  Avoid typename of register
structs, which vary; just use member name.
(elf_object_p, elf_core_file_p):  Lint, fix comments.
* config/sparc-elf.mt, hosts/sysv4.h:  New config files.
1992-03-29 18:45:43 +00:00
Fred Fish
d4acec2c22 Fix to use a single disposable copy of section header table and program
header table entries.
1992-03-28 21:10:05 +00:00
John Gilmore
17904eeb4d Set MINIMIZE to 0 for a real release. 1992-03-27 01:00:58 +00:00
K. Richard Pixley
fbad27e8b3 add support for irix4 1992-03-24 23:58:58 +00:00
Stu Grossman
2b7eef3c57 * coff-msym.c (ecoff_swap_rfd_in): remove & for array ref. 1992-03-24 06:39:01 +00:00
Per Bothner
afbdd10672 * bout.c (b_out_slurp_reloc_table): Use BFD_ASSERT macro,
not internal bfd_assert function (twice).
1992-03-17 22:14:18 +00:00
Steve Chamberlain
b772312e68 * aout-target.h: change ar_max_namelen to 15 (the right value)
* coff-a29k, coffcode.h: more hangovers from the bfd_abs_section
	change
1992-03-17 18:47:16 +00:00
Steve Chamberlain
0d65ac52cd More bitrot 1992-03-17 00:41:11 +00:00
Steve Chamberlain
fc2f4c758a Remove i960 b.out bitrot. 1992-03-16 22:59:58 +00:00
Fred Fish
009898fddb Convert calls to bare malloc() to bfd_xmalloc(). 1992-03-15 01:33:32 +00:00
K. Richard Pixley
935325ad0f pass MAKEINFO on recursion 1992-03-14 02:54:17 +00:00
Steve Chamberlain
302c8ab121 Fixed the whitespace 1992-03-13 15:57:41 +00:00
Steve Chamberlain
3e312eb07f * config/mt-<foo> now <foo>.mt, config/mh-<foo> now <foo>.mh.
host/h-<foo> now just <foo>.
	* configure.in: reflect changes
1992-03-13 15:43:32 +00:00
Per Bothner
2a274d5d19 * libbfd-in.h (set_tdata): Make change of Feb 27 in the
actual source file, not just the generated libbfd.h.
1992-03-12 19:17:28 +00:00
John Gilmore
77c3feeed1 mips-big-* target 1992-03-12 06:08:56 +00:00
K. Richard Pixley
335413d8ea include ansidecl.h 1992-03-08 07:11:56 +00:00
Steve Chamberlain
d446483b5e * coff-i960.c (icoff_little_vec): add COFF_SWAP_TABLE so we can run gdb on little
endian 960 code.
	* archive.c (compute_and_write_armap): indirect symbols should go
	into the archive header too.
1992-03-07 18:36:38 +00:00
Steve Chamberlain
94f02cf2c2 * chew.c: now has -w switch turn on warnings 1992-03-07 02:54:09 +00:00
Steve Chamberlain
56a56f4c15 Now use EXFUN rather than PROTO, so that things using ansidecl.h and
not bfd.h can use them
1992-03-06 12:14:14 +00:00
John Gilmore
583f79e974 Add rule for coff-msym. 1992-03-06 08:42:41 +00:00
John Gilmore
6dc776918c Add swapping of RFD's. 1992-03-06 08:06:56 +00:00
John Gilmore
5c12fcf521 * coff-msym.c: Move this file from gdb/ecoff.c. It
handles byte-swapping for ECOFF (MIPS symbol) files.
1992-03-06 07:53:38 +00:00
John Gilmore
246ccf5f8f Initial revision 1992-03-06 07:53:37 +00:00
Per Bothner
cf15d9e97a New file: rs6000-core.c. 1992-03-02 06:39:32 +00:00
Per Bothner
8eb8b9aaa3 * aoutx.h (NAME(aout,print_symbol)): Don't print
symbol addresss for undefined symbols.
	* coff-rs6000.c:  Various updates (due to target-
	independent changes).
	* libbfd.h:  Ditto (tdata field is now a union).
	* hosts/h-sparc.h:  Removed prototype for bogus function
	'emset' (presumably should have been 'memset' - which is there).
1992-02-29 04:44:27 +00:00
Steve Chamberlain
e7b4046cbf Don't core dump if no output section available for a symbol 1992-02-27 19:22:41 +00:00
Steve Chamberlain
6db82ea7e5 * aoutx.h (translate_from_native_sym_flags): when creating an alias symbol, fill in the section as undefined, rather than leaving it blank 1992-02-27 17:26:08 +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
Steve Chamberlain
433fb166d4 Name change for DJ 1992-02-21 22:54:39 +00:00
Steve Chamberlain
d05511ca57 * coffcode.h (coff_swap_aux_in): lint, (coff_print_symbol): prints
out tagndx too.
	* aoutx.h (swap_std_reloc_out, swap_ext_reloc_out): use the output
	section of a symbol rather than the section of a reffed symbol to
	determine the r_index of an emmitted reloc.
1992-02-21 19:06:34 +00:00
Per Bothner
73afbe2809 * PORTING: New (preliminary) porting guide. 1992-02-21 05:56:57 +00:00
John Gilmore
8b87cbae28 * bout.c (callj_callback), coff-a29k.c (a29k_reloc), coff-m88k.c
(howto_hvrt16):  lint.
1992-02-20 16:31:21 +00:00
Per Bothner
9832e16cc3 * hp300bsd.c (new), config/mt-hp300bsd: Make hp300bsd
a full configuration (with possible cross-development),
	instead of using host-aout.c.
1992-02-17 20:04:21 +00:00
Per Bothner
adf441b919 * aout-target.h (MY(write_object_contents):
Set obj_reloc_entry_size (abfd).
	* gen-aout.c:  Change to emit a .c files, not a .h file.
1992-02-16 21:05:54 +00:00
Fred Fish
5b3fb53040 Remove obsolete use of BSF_ABSOLUTE and replace with bfd_abs_section ref. 1992-02-14 04:13:53 +00:00
Steve Chamberlain
d5cd3c0e3d pointer lint and tandem target. 1992-02-14 02:29:39 +00:00