Commit graph

426 commits

Author SHA1 Message Date
Steve Chamberlain
05c6bf2f0b * cpu-h8300.c: disassemble branch displacements correctly
* coff-h8300.c: put reloc offsets out in 32bits
1991-12-12 02:29:39 +00:00
Steve Chamberlain
b4e2425020 * cache.c: fopen with new macros is needed for DOS.
* opncls.c, coff-rs6000.c: more fopens with macros.
1991-12-12 01:23:11 +00:00
Steve Chamberlain
33b6c26253 Added macros for the 'type' part of an fopen, freopen or fdopen.
<Read|Write>[Update]<Binary file>|<text file>
eg:
fopen("foo", FOPEN_WB) to open for writing binary. Usefull for vms,
dos and who knows what else.
1991-12-12 01:21:40 +00:00
Steve Chamberlain
5af1905211 Initial revision 1991-12-12 01:21:11 +00:00
Steve Chamberlain
db40ba149d Initial revision 1991-12-12 00:53:23 +00:00
Steve Chamberlain
b645b63248 * makefile.dos, configdj.bat: New files from DJ
* cache.c: fopen with "b" is needed for DOS.
	* ieee.c: environ renamed to envi to stop an include file
	conflict.
	* opncls.c: more fopens with "b"
1991-12-12 00:42:50 +00:00
K. Richard Pixley
430485bb1d build chew into the current directory 1991-12-11 06:11:31 +00:00
Steve Chamberlain
e152cd1e65 * chew.c: don't core dump when can't open file
* Makefile.in: get proto.str from the right place when built in
	odd directories
1991-12-10 16:27:13 +00:00
Steve Chamberlain
f39b81f5a3 Remove crass vaxism. Now SELECT_VECS will do something again. 1991-12-08 23:40:35 +00:00
Steve Chamberlain
147a251ab6 More prototype lint. 1991-12-08 01:05:54 +00:00
Steve Chamberlain
cf9bf3979a * chew.c: Much modified
* proto.str, doc.str: New files for extracting to product
	prototypes and documents respectively.
1991-12-08 01:04:31 +00:00
Steve Chamberlain
616ebcfd0b * aoutx.h, archive.c, archures.c, bfd.c, cache.c, coff-m88k.c,
coffcode.h, core.c, ctor.c, elf.c, format.c, ieee.c, init.c,
	 libbfd.c, libbfd.h, libcoff.h, opncls.c, reloc.c, section.c,
	 srec.c, syms.c, targets.c : all new documentation and lint
	 removal.
1991-12-08 00:56:56 +00:00
John Gilmore
0713e3236b Merge Rich's and the gdb-4.3 changes. 1991-12-08 00:30:08 +00:00
John Gilmore
2daa942682 This is the version of devo/bfd/ChangeLog that was in the gdb-4.3 release. 1991-12-08 00:27:19 +00:00
K. Richard Pixley
51c5673cda avoid building chew into $(srcdir) 1991-12-07 23:01:02 +00:00
K. Richard Pixley
bf7708dad5 find sysdep.h 1991-12-07 22:35:46 +00:00
John Gilmore
9898b92969 Lint (detected on hp300bsd & sconix) 1991-12-07 15:37:42 +00:00
K. Richard Pixley
fde8212edc Fri Dec 6 22:58:48 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: install using INSTALL_DATA, added standards.text
	  support.

	* configure.in: mark directory as target dependent.  configure
	  nows works in objdir always so make file existence checks
	  against ${srcdir}.

Thu Dec  5 22:46:19 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
	  and mandir now keyed off datadir by default.
1991-12-07 07:01:15 +00:00
K. Richard Pixley
a7571b1797 Fri Dec 6 22:57:12 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: added standards.text support, host/site/target
	  inclusion hooks, install using INSTALL_DATA rather than cp,
	  don't echo on install.

Thu Dec  5 22:46:17 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
	  and mandir now keyed off datadir by default.
1991-12-07 06:58:04 +00:00
Steve Chamberlain
d33598ee28 Change from m88kbcs to m88k-coff 1991-12-06 17:56:02 +00:00
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
4e41b5aa40 *** empty log message *** 1991-12-04 18:16:41 +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
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
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
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
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
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
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
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
Per Bothner
3721706073 Two small bug-fixes (affecting ar and nm). 1991-11-29 20:31:57 +00:00
John Gilmore
17e9960f57 Add COFF_SWAP_TABLE to it (oops) 1991-11-27 22:05:28 +00:00
Steve Chamberlain
c9301d7bcf coff-i386.c
Fixed the RTYPETOHOWTO -> TYPE2HOWTO
coff-mips.c coff-rs6000.c
	Can't read relocs, so provide empty macro
1991-11-27 21:57:48 +00:00
John Gilmore
3377d4d2a1 Fiddle diddle descriptor 1991-11-27 19:28:39 +00:00
Steve Chamberlain
b4e42a642c Initial revision 1991-11-27 18:35:48 +00:00
Steve Chamberlain
71e3403212 Added h8 1991-11-27 16:58:22 +00:00
Steve Chamberlain
3b4f1a5d05 * Makefile.in: added coff-h8300
* configure.in: now h8 is a coff target
	* cpu-h8300.c: fix various disassembly problems
	* libcoff.h: took out some code which has been #0ed for a long
	time.
	* targets.c: added h8 coff
	* coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c
	added new macro RTYPE2HOWTO to take a load of #ifdefs out of
	coffcode.h
	* coffcode.h: Started to change the way machine dependencies are
	handled, from the nest of #ifdefs to macros defined in the
	including coff-<foo>.c
1991-11-27 16:56:08 +00:00