Commit graph

1345 commits

Author SHA1 Message Date
Roland Pesch
8073190bd2 Support for "ld.ms", "ld-index.ms" ROFF-style doc targets. 1991-10-11 22:42:57 +00:00
Per Bothner
6719c75b99 * ldmain.c (main): Make config.magic_demand_paged be true
by default.  Don't the WP_TEXT and D_PAGED flags of
	output_bfd here; it's too late, so set it when output_bfd
	is created (in ldlang.c).  Also fix setting of EXEC_P flag
	* ldlang.c (ldlang_open_output):  Set output_bfd->flags here.
	* ldlang.c: Remove some duplicate extern declarations.
	* ldgram.y: Fixes to -N and -n options.
	* Makefile.in:  Recognize upper case letters in sed script
	to remove assignments from script files.
	* ldtemplate:  Don't assukme that -N or -n options
	imply use of -r script.
	* mkscript.c:  Tweaking to correctly handle \n and \\ in input.
1991-10-11 21:02:22 +00:00
Per Bothner
71fa3b0161 * coffcode.h: Moved ALIGN macro to libbfd.h. Removed i960_align.
* libbfd.h: Moved ALIGN macro here.
	* bout.c (b_out_callback): Replace i960_align by align_power.

	* libaout.h (struct aoutdata):  Added fields page_size,
	segment_size and exec_bytes_size.  These help generic code
	(in aoutx.h and libaout.h) to figure out where to align
	the various segments in a demand paged file.
	* libaout.h (WRITE_HEADER):  Use new (struct aoutdata) fields
	to decide if the exec header counts in a_text (text segment size).
	Also, assume D_PAGED flag is set; don't set it here.
	* bout.c (b_out_callback): Add initialization of
	adata fields page_size, segment_size, and exec_bytes_size.
	* host-aout.c (NAME(host_aout, callback) and
	NAME(host_aout,mkobject): Ditto.
	* i386aout.c (aout386_callback) and new aout386_mkobject): Ditto.
	* newos3.c (newsos3_callback) and new newsos_mkobject): Ditto.
	* aoutf1.c (sunos4_callback) and new sunos_mkobject): Ditto.
	* aoutx.h (NAME(aout,some_aout_object_p)): Don't subtract
	EXEC_BYTES_SIZE from the a_test size; this is only appropriate
	for some systems (mainly sunos), so do it in the callback instead.
	Same routine: Add stuff to the THIS_IS_ONLY_DOCUMENTATION comment.
	* aoutx.h (NAME(aout,set_section_contents): Change the way
	filepos and size of sections are carried out to support
	older styles of demand paged executables.
1991-10-11 20:45:29 +00:00
Roland Pesch
abd4aaa9cb * binutils.texinfo: minor restructuring for texi2roff comfort.
(said "makeinfo" rather than "texi2roff" by mistake in CVS log for binutils.
This one's right.  Good thing, since this one's the distributed log...
1991-10-11 19:52:56 +00:00
Roland Pesch
15c1f44db6 More literal adherence to "standard" texinfo usage of @tex, @title, @author,
etc., for makeinfo's comfort.
1991-10-11 19:50:14 +00:00
Steve Chamberlain
0c210c9c52 * bfd.h:upgrade from bfd.c
* internalcoff.h: add n_name, n_zeroes and n_offset macros
	* amdcoff.h: Define OMAGIC and AOUTHDRSZ.
1991-10-11 19:44:01 +00:00
Steve Chamberlain
0d74098420 * bfd-in.h: Added more macros to COFF_SWAP_TABLE.
* bfd.c: Added macros to enable gas to swap coff records.
	* coffcode.h: Make the coff_swap_*_out routines return the number
	of bytes swapped, and cleaned up their prototypes.
	* configure.in: Added ebmon/coff support
	* ecoff.c: Changed null definitions of coff_swap_*_out to conform
	to new prototypes
	* targets.c: Added new entry points for coff swapping
1991-10-11 19:39:29 +00:00
Steve Chamberlain
c97b47fec2 *** empty log message *** 1991-10-11 19:32:25 +00:00
Steve Chamberlain
e9fcc7432e Initial revision 1991-10-11 19:32:24 +00:00
Steve Chamberlain
565a4c769c * Makefile.in, config.h, configure.in, ldemul.c: added ebmon29k
stuff
1991-10-11 19:31:15 +00:00
Per Bothner
23adc11718 * a.out.host.h: Change SEGMENT_SIZE to 0x1000 for Sony.
* bfd.h (align_power): Add (actually move) comment.
1991-10-11 18:01:05 +00:00
Steve Chamberlain
8e10cea146 * ldtemplate: include bfd.h before sysdep.h. 1991-10-11 17:30:20 +00:00
Steve Chamberlain
273663141e Added ebmon to os list 1991-10-11 16:50:53 +00:00
John Gilmore
23d44ec958 Remove refs to ../include/sysdep.h. 1991-10-11 12:48:25 +00:00
John Gilmore
1f8fc34f25 Restructure configuration scheme for bfd, binutils, ld. 1991-10-11 11:54:33 +00:00
John Gilmore
4ee8b8e5e3 Add dgux as a valid OS. Add msdos as an invalid, but accepted, os. 1991-10-11 11:47:48 +00:00
John Gilmore
d2da7464de Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. 1991-10-11 11:38:10 +00:00
John Gilmore
683819e163 Restructure configuration scheme for bfd, binutils, ld.
* config/:  Rename some config files to match up h-*.h names.
Remove all the HOST_SYS definitions from the config files.
1991-10-11 11:35:07 +00:00
John Gilmore
8a60817c38 Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
Change some config names to match other dirs.
1991-10-11 11:30:12 +00:00
John Gilmore
f177a611f1 Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. 1991-10-11 11:28:27 +00:00
John Gilmore
d7381d0cb0 Restructure configuration scheme for bfd, binutils, ld.
* include/sys/h-*.h:  Move to bfd/hosts/h-*.h.
* configure.in:  Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
Change some config names to match other dirs.
* *.c:  Include bfd.h before sysdep.h, so ansidecl and PROTO()
get defined first.
* Makefile.in:  Use -I. to get sysdep.h.
1991-10-11 11:24:04 +00:00
John Gilmore
7eff5bcf96 Use -I. to get sysdep.h. 1991-10-11 11:22:25 +00:00
John Gilmore
2a5f387b08 Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. 1991-10-11 11:22:05 +00:00
John Gilmore
1b78540a99 Roll in some changes. Unlikely to compile yet. 1991-10-11 11:11:46 +00:00
John Gilmore
2c3f93e56d Initial revision 1991-10-11 10:45:56 +00:00
John Gilmore
5b2765bf13 Restructure configuration scheme for bfd, binutils, ld.
* include/sys/h-*.h:  Move to bfd/hosts/h-*.h.
* configure.in:  Revise to symlink sysdep.h to hosts/h-xxx.h.
Change some config names to match other dirs.
* *.c:  Include bfd.h before sysdep.h, so ansidecl and PROTO()
get defined first.
* Makefile.in:  Use -I. to get sysdep.h.
* trad-core.c:  Don't disable the whole file if SUN4_SYS.
* config/:  Rename some config files to match up h-*.h names.
Remove all the HOST_SYS definitions from the config files.
* hosts/h-amix.h, h-i386v.h:  Define POSIX_UTIME, not USG.
* hosts/h-hp9000.h:  Remove USG comment.
* hosts/h-rs6000.h:  Include <stdlib.h> for malloc.
* hosts/h-news.h, h-sparc-64.h:  New config files that had
previously been kludged in the <sysdep.h> file.
1991-10-11 10:43:34 +00:00
John Gilmore
06d0bdef53 * hosts/h-amix.h, h-i386v.h: Define POSIX_UTIME, not USG.
* hosts/h-hp9000.h:  Remove USG comment.
* hosts/h-rs6000.h:  Include <stdlib.h> for malloc.
* hosts/h-news.h, h-sparc-64.h:  New config files that had
previously been kludged in the <sysdep.h> file.
1991-10-11 10:41:22 +00:00
John Gilmore
239326c84f Restructure configuration scheme for bfd, binutils, ld.
Use -I. to get sysdep.h.
1991-10-11 10:29:54 +00:00
John Gilmore
bbc8d4849f Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. 1991-10-11 10:11:37 +00:00
John Gilmore
600d486408 Remove dead N_TXTOFF override.
Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first.
1991-10-11 10:09:28 +00:00
John Gilmore
dd4646ca3a Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first.
Don't ever call trad_unix_core_file_p from here.
1991-10-11 10:08:58 +00:00
John Gilmore
6a46902732 * Makefile.in: Rename XDEPFILES.
* trad-core.c:  Document how to use it nowadays.
* i386aout.c, newsos3.c:  Clean up.
* i386coff.c:  Allow 386 coff files to be used as core files too
(for reading core files from embedded systems).
1991-10-11 04:51:42 +00:00
John Gilmore
074274252f Read cross-core files on Mach 386. 1991-10-11 00:27:41 +00:00
K. Richard Pixley
1a31570390 updating 1991-10-10 11:59:25 +00:00
K. Richard Pixley
15211bed3c Decstation now croaks on multi-line assertions. eliminate them. 1991-10-10 10:43:30 +00:00
K. Richard Pixley
c2fa4ebcdd new binary layout and cp/mv instead of INSTALL 1991-10-10 08:17:32 +00:00
K. Richard Pixley
e59c58e3b1 Initial revision 1991-10-10 07:10:42 +00:00
K. Richard Pixley
7dbcd409f1 New installed binary layout. 1991-10-10 06:36:30 +00:00
Per Bothner
3f51b6cf18 * nm.c (print_symbols): Handle NULL name field of symbol.
* Makefile.in: Removed spurious comment.
1991-10-10 05:44:37 +00:00
K. Richard Pixley
5420feaa8e * Die when sub-configure's do.
* get the makefile building message line correct.
* set -e
1991-10-10 04:57:23 +00:00
K. Richard Pixley
f6b67e4cdd Creating Makefile stubs in preparation for mips three-stage. 1991-10-10 04:56:18 +00:00
K. Richard Pixley
ce9dc65af7 Initial revision 1991-10-10 04:55:23 +00:00
K. Richard Pixley
e00efef1a2 copy the old file to the new before cleaning it. This should
propogate mode bits like execute.
1991-10-10 01:08:04 +00:00
K. Richard Pixley
50ac10c17a Backed out the "/bin/sh config.sub" change. Fails when config.sub was
on PATH.
1991-10-10 01:04:42 +00:00
Roland Pesch
843b88bafe Oops... forgot 1.9 -> 1.90 last time around... 1991-10-10 00:56:38 +00:00
Roland Pesch
8706a92ce1 Warn 'ar q' doesn't update archive ST index. 1991-10-10 00:48:05 +00:00
K. Richard Pixley
dafcb8be38 Call config.sub as "/bin/sh config.sub" instead of directly. This
protects us from the case where config.sub isn't executable.
1991-10-10 00:38:08 +00:00
John Gilmore
912456a503 * mipsread.c, coffread.c: initialise TYPE_VPTR_FIELDNO to -1.
This avoids coredumps under `set print object on' in value_headof
(called erroneously by value_from_vtable_info) for `p &struct'
or `p *struct'.  From Peter Schauer.
1991-10-10 00:05:52 +00:00
Per Bothner
6383fc6d94 Added h8300hds.{c,sc}. 1991-10-09 20:40:37 +00:00
K. Richard Pixley
639665deb8 Another patch from jim. 1991-10-09 00:48:26 +00:00