Commit graph

1416 commits

Author SHA1 Message Date
Per Bothner
fd671dc421 * aoutx.h (NAME(aout,set_section_contents)): Try to handle the
various kinds of alignments for the various kinds of
	magic numbers.
1991-10-15 00:24:03 +00:00
John Gilmore
bcdc00417d Revise to match config renaming. 1991-10-14 21:56:44 +00:00
John Gilmore
a7a7b848a5 Don't assume . is on the path. 1991-10-14 21:23:05 +00:00
Roland Pesch
440d983441 Catch up to changes recorded in GDB ChangeLog, to wit:
1) "show copying" and "show warranty" in sample output (instead of obs. "info")
2) new command "printpsyms"
3) Complaint "const/volatile indicator missing" re-enabled
4) Complaint "C++ type mismatch..." now "info mismatch..."
1991-10-14 20:36:50 +00:00
Roland Pesch
c7aab257f9 Mon Oct 14 11:44:03 1991 Roland H. Pesch (pesch at cygnus.com)
* doc/Makefile (as.ms): one more sed workaround for texi2roff
1991-10-14 18:44:58 +00:00
Roland Pesch
0ca48c5250 as.ms (roff form of documentation) target in Makefile: add one more
sed editing pass, to preprocess the more elaborate form of xref now
used in this manual into the simpler form that texi2roff can deal
with.
1991-10-14 18:43:52 +00:00
John Gilmore
fa744079c1 Update for new bfd/hosts. 1991-10-12 07:38:07 +00:00
John Gilmore
3c6c67143a Assorted patches from Fred Fish, Peter Schauer. 1991-10-12 07:19:13 +00:00
John Gilmore
df6335e19f * tm-{irix3,mips,nindy960,pn,symmetry,vx960}.h: Move
REGISTER_U_ADDR to corresponding xm- file.  Sugg. by Peter Schauer.
1991-10-12 07:11:48 +00:00
Per Bothner
96eb46258b Fixed typo. 1991-10-12 06:43:01 +00:00
John Gilmore
9e77ff161f * copying.awk: Filter formfeeds out of copying & warrantee.
Make them available as `show copying' and `show warrantee' also.
1991-10-12 06:28:15 +00:00
John Gilmore
f02be00a6d * Makefile.in: Avoid Sun Make VPATH bugs.
* targets.c:  Declare trad_core vectors extern.
1991-10-12 05:45:57 +00:00
John Gilmore
d7cce023da Avoid Sun Make VPATH bugs by adding dependencies. 1991-10-12 05:44:58 +00:00
John Gilmore
33ce0085ba * Makefile.in: Avoid using $< in explicit Make rules (it doesn't
work).  Add some lines to avoid Sun Make VPATH bugs.
1991-10-12 05:42:05 +00:00
Roland Pesch
921faa529c doc/as.texinfo: minor changes for texi2roff-2
Makefile.in: revise 'doc' target.
1991-10-12 01:20:38 +00:00
Roland Pesch
098d714d81 *** empty log message *** 1991-10-12 01:18:13 +00:00
Roland Pesch
1966e7158a Makefile: (1) include TEXINPUTS defn to point to texinfo.tex when calling tex
(2) new target as.ms (roff)
as.texinfo: sed-markers to make roff output pick up less-fancy form of
          tables and illustrations (otherwise used by info, not TeX);
          slight text chgs as workarounds for texi2roff bugs
1991-10-12 00:49:50 +00:00
Per Bothner
b7e24eef35 * news.sc: Add alignment for data segment.
* ldtemplate: Add (yet another) script to get for -n or -N
	options.  (These need different alignment than ZMAGIC files.)
	* Makefile.in:  Add stuff for new foo.xn scripts.
	These are generated by replacing "ALIGN(0x...00)" by ".".
1991-10-11 23:47:05 +00:00
Roland Pesch
6b58372076 * Makefile.in: add target "binutils.ms" 1991-10-11 23:11:17 +00:00
Roland Pesch
10a69a373d Slightly better comments (re doc targets). 1991-10-11 22:51:31 +00:00
Roland Pesch
b55e0948ed * Makefile.in: new targets ld.ms, ld-index.ms
ld.texinfo: remove tabs, other cleanups for texi2roff
1991-10-11 22:44:11 +00:00
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