Commit graph

1962 commits

Author SHA1 Message Date
Steve Chamberlain
431b442200 * aoutf1.h (sunos_<size>_object_p, sunos4_callback): moved the
computation of arch and machine type so it's worked out before
	some_aout_object_p is called.
	* aoutx.h: (some_aout_object_p): don't set arch and mach to
	unknown.
	* archures.c: add extra field 'section_align_power' to hold
	default section alignment in object files.
	* cpu-a29k.c, cpu-h8300.c, cpu-i386.c, cpu-i960.c, cpu-m68k.c,
	cpu-m88k.c, cpu-mips.c, cpu-rs6000.c, cpu-sparc.c, cpu-vax.c:
	initialize the new field.
	* bout.c (b_out_callback): replace the text size, since aout
	fries them.
	* aoutx.h: Documentation in the new style
1991-12-04 18:30:12 +00:00
Steve Chamberlain
4fed881829 *** empty log message *** 1991-12-04 18:25:37 +00:00
Steve Chamberlain
4e41b5aa40 *** empty log message *** 1991-12-04 18:16:41 +00:00
Steve Chamberlain
8bcad1b5b7 Don't ignore .line directives 1991-12-04 15:32:22 +00:00
John Gilmore
40985bbf13 * bfd.c (bfd_get_mtime): Don't cache mtime any more; only
use the saved value if mtime_set is already set (intended
for archive files, though apparently not used yet).
1991-12-04 10:01:45 +00:00
John Gilmore
6470e9c375 * symfile.c (reread_symbols): Avoid kludging mtime_set, now that BFD is fixed. 1991-12-04 09:59:52 +00:00
John Gilmore
34a160569a Improve installation doc slightly, by Mark Sirota's request. 1991-12-04 08:59:57 +00:00
John Gilmore
4369a1406f * Makefile.in: VERSION 4.2.96.
* main.c (initialize_main):  Revise command descriptions.
* command.c (show_user):  `info user' -> `show user'.
* symtab.c (_initialize_symtab):  Typo in `info types' desc.

* coffread.c (coff_symfile_read):  Avoid select_source_symtab,
since it is not needed and can cause errors when examining ".o"s.
(read_coff_symtab, decode_base_type):  Use complain, not printf.
Print symbol name, not its number.
Remove "#if defined(clipper) #define BELIEVE_PCC_PROMOTION", which
someday should go in a clipper target config file.

* symfile.c (compact_misc_function_vector):  Handle empty vector.
(complain, clear_complaints, syms_from_objfile):  Fix complaint
formatting.
* xcoffexec.c:  Change syms_from_objfile caller.
1991-12-04 08:36:17 +00:00
John Gilmore
01a8219f15 * targets.c: Revise comments about how to configure the target
vector, to match reality.  Remove mention of obsolete methods.
Remove long lists of capitalized macros that turn into the same
thing in lowercase.  Normal vector simply lists all known
lowercase xvec names; all other cases are handled by SELECT_VECS.
1991-12-04 07:39:57 +00:00
John Gilmore
7a6093e880 * coffread.c (coff_symfile_read): Avoid select_source_symtab,
since it is not needed and can cause errors when examining ".o"
files.

* symfile.c (compact_misc_function_vector):  Handle empty vector.
1991-12-04 03:24:36 +00:00
John Gilmore
2e00f40a38 Make it compile for cross-debugging. 1991-12-04 01:26:05 +00:00
Steve Chamberlain
f7c1f9e194 Don't ignore .file pseudos! 1991-12-04 00:18:18 +00:00
Per Bothner
7a5f996269 * archive.c (bsd_write_armap): The pad byte sometimes added to
the string table in a __.SYMDEF member is now
	counted as part of the size of the string table.
	This is compatible with the old ranlib, as well as Sun's.
1991-12-03 22:25:01 +00:00
Steve Chamberlain
242bfe8791 Removed usage of alloca, lint. 1991-12-03 22:16:29 +00:00
Steve Chamberlain
706e58f11b * srec.c: Rewrote to fix many bugs; now gets the record type
right, doesn't choke on input, sets the start address in an S9 and
	fills in the filename on an S0.
1991-12-03 18:54:50 +00:00
Per Bothner
ce623b5fd1 Two small mips-specific fixes (see ChangeLog). 1991-12-02 19:08:31 +00:00
Steve Chamberlain
849c339e86 HOSTING_LIBS now reflects where libgnu lives 1991-12-01 07:54:41 +00:00
Steve Chamberlain
0d4b8e3fd2 * cpu-h8300.c: Add support for MEMIND addressing mode 1991-12-01 07:53:50 +00:00
Steve Chamberlain
6cba8f4b78 * coff-a29k.c: defined RELOC_PROCESSING to take the #ifdef out of
coffcode.h
	* coffcode.h: use the new macro if available
1991-12-01 07:37:33 +00:00
Steve Chamberlain
9b4f91b556 Fix comment. 1991-12-01 07:14:34 +00:00
Steve Chamberlain
a1d144c63e More filename renaming. 1991-12-01 07:11:25 +00:00
Steve Chamberlain
af483be837 Filename renaming 1991-12-01 07:06:30 +00:00
Steve Chamberlain
f5f0679af0 Changes due to include file renaming:
* xcoffread.c:	internalcoff.h	->coff/internal.c,
	  		coff-rs6000.h	->coff/rs6000.h
	* mipsread.c:	coff-mips.h	->coff/mips.h
	* elfread.c:    elf-common.h	->elf/common.h
			elf-external.h	->elf/external.h,
			elf-internal.h	->elf/internal.h
	* dwarfread.c	dwarf.h		->elf/dwarf.h
	* dbxread.c:	aout64.h	->aout/aout64.h
			stab.gnu.h	->aout/stab_gnu.h

	* coffread.c:   internalcoff.h	->coff/internal.h
	* buildsym.c:   stab.gnu.h	->aout/stab_gnu.h
	* depend        Updated to take the above into account.
1991-12-01 06:47:23 +00:00
Steve Chamberlain
dff5e6026e * elf.c (elf_corefile_note): cast malloc to avoid warning.
* Makefile.in: Fixed dependencies due to file rename
1991-12-01 06:28:28 +00:00
Steve Chamberlain
d1ee1a893e Fixed dependencies 1991-12-01 06:03:28 +00:00
Steve Chamberlain
c3eb25fc25 * aout-encap.c, aoutf1.h, aoutx.h, archive.c, bout.c, coff-a29k.c,
coff-h8300.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c,
	coff-mips.c, coff-rs6000.c, cpu-h300.c, elf.c, i386aout.c,
	newos3.c, stab-syms.c, syms.c: All these files have had their
	#includes altered to point to the new places.
1991-12-01 05:24:02 +00:00
Steve Chamberlain
11eab90c7f * bfd.h: change the documentation format.
* created coff, elf and opcode and aout directories. Moved:

	aout64.h	==> aout/aout64.h
	ar.h		==> aout/ar.h
	a.out.encap.h	==> aout/encap.h
	a.out.host.h	==> aout/host.h
	a.out.hp.h	==> aout/hp.h
	a.out.sun4.h	==> aout/sun4.h
	ranlib.h	==> aout/ranlib.h
	reloc.h		==> aout/reloc.h
	stab.def	==> aout/stab.def
	stab.gnu.h	==> aout/stab_gnu.h

	coff-a29k.h	==> coff/a29k.h
	coff-h8300.h	==> coff/h8300.h
	coff-i386.h	==> coff/i386.h
	coff-i960.h	==> coff/i960.h
	internalcoff.h	==> coff/internal.h
	coff-m68k.h	==> coff/m68k.h
	coff-m88k.h	==> coff/m88k.h
	coff-mips.h	==> coff/mips.h
	coff-rs6000.h	==> coff/rs6000.h

	elf-common.h	==> elf/common.h
	dwarf.h		==> elf/dwarf.h
	elf-external.h	==> elf/external.h
	elf-internal.h  ==> elf/internal.h

	a29k-opcode.h	==> opcode/a29k.h
	arm-opcode.h	==> opcode/arm.h
	h8300-opcode.h	==> opcode/h8300.h
	i386-opcode.h	==> opcode/i386.h
	i860-opcode.h	==> opcode/i860.h
	i960-opcode.h	==> opcode/i960.h
	m68k-opcode.h	==> opcode/m68k.h
	m88k-opcode.h	==> opcode/m88k.h
	mips-opcode.h	==> opcode/mips.h
	np1-opcode.h	==> opcode/np1.h
	ns32k-opcode.h	==> opcode/ns32k.h
	pn-opcode.h	==> opcode/pn.h
	pyr-opcode.h	==> opcode/pyr.h
	sparc-opcode.h	==> opcode/sparc.h
	tahoe-opcode.h	==> opcode/tahoe.h
	vax-opcode.h	==> opcode/vax.h
1991-12-01 04:56:32 +00:00
Steve Chamberlain
1ee1fd7e97 Initial revision 1991-12-01 04:45:47 +00:00
Steve Chamberlain
245ed2ea54 Initial revision 1991-12-01 04:26:38 +00:00
Steve Chamberlain
bdce0211a3 Sat Nov 30 18:58:40 1991 Steve Chamberlain (sac at cygnus.com)
* am29k-pinsn.c m68k-pinsn.c nm.c sparc-pinsn.c: now point to where
	the header files have moved to.
1991-12-01 02:59:19 +00:00
Steve Chamberlain
4aa58a0a29 Updated to point to where the header files are now 1991-12-01 02:58:37 +00:00
Steve Chamberlain
d289576d7f Initial revision 1991-12-01 02:46:04 +00:00
Steve Chamberlain
0227e9187b Initial revision 1991-12-01 02:29:45 +00:00
Steve Chamberlain
1484208fc1 Reflect the new scheme 1991-12-01 02:12:42 +00:00
Steve Chamberlain
6d56c69a47 *** empty log message *** 1991-12-01 01:43:03 +00:00
Steve Chamberlain
179ca8db66 Changed all prototypes from PROTO to EXFUN 1991-12-01 01:32:27 +00:00
Steve Chamberlain
1a15b9fc23 Fix typo in dependencies 1991-12-01 01:31:03 +00:00
Steve Chamberlain
fd8c21f9a1 bfd.texinfo
use fsf-texi.tex rather than texinfo
Makefile.in
	various bugfixes
1991-12-01 01:28:32 +00:00
Steve Chamberlain
b8d69097ee New order documentation 1991-12-01 01:27:19 +00:00
Steve Chamberlain
a1711bb474 Now reflect the new documentation order 1991-12-01 01:16:56 +00:00
Steve Chamberlain
22e9874378 Moved the position of the #### lines so that the makefile fragments
can override the BFD_{LIBS,MACHINES,BACKENDS} make variables.
1991-12-01 00:40:39 +00:00
Steve Chamberlain
0cda46cff1 New documentation style 1991-12-01 00:39:12 +00:00
Steve Chamberlain
93351e91c5 Even more documentation 1991-11-30 22:33:57 +00:00
Steve Chamberlain
9fda1a399c New documentation style 1991-11-30 21:41:22 +00:00
Fred Fish
8978401fd1 Add new files mh-i386v4 and mt-i386v4 to .Sanitize, check in the new
files.
1991-11-30 04:49:48 +00:00
Fred Fish
9336ad7aea Initial revision 1991-11-30 04:49:47 +00:00
Fred Fish
8c6e9f05f2 Add tm-i386v4.h and xm-i386v4.h to Sanitize, add i386/SVR4 to configuration
file, recognize names beginning with '.' as compiler generated "fake" tags
for anonymous structures, unions and enums.  Add target dependent functions
for SVR4 /proc register interface (i386-tdep.c).
1991-11-30 04:46:50 +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