Commit Graph

549 Commits

Author SHA1 Message Date
Steve Chamberlain
d5a13d8ea0 i960 bitrot fix 1992-03-16 22:54:51 +00:00
K. Richard Pixley
f0280cd218 install man page too 1992-03-14 03:47:55 +00:00
Steve Chamberlain
12fa72d472 * config/mt-<foo> renamed to <foo>.mt
* config/mh-<foo> renamed to <foo>.mt
	* configure.in changed to reflect this
	* genscripts.sh now make .xbn files rather than .xN files
1992-03-13 16:25:26 +00:00
Steve Chamberlain
4fe79f062d *** empty log message *** 1992-03-07 18:32:27 +00:00
Steve Chamberlain
9aa97a39fe Lint removal, extra prototypes.
Recopied cplus-dem from gdb, makes more things come out right.
1992-03-07 18:31:24 +00:00
Steve Chamberlain
fe563ffeb7 * ldmain.c (Q_enter_file_symbols): now aliases work again 1992-03-06 15:00:57 +00:00
Steve Chamberlain
76971f0da2 Modifed to care about semi colons again, newlines are ignored - sorry
Per.
1992-03-02 22:22:59 +00:00
Steve Chamberlain
d286190140 Why didn't it start emacs 1992-02-27 17:24:13 +00:00
Steve Chamberlain
65aa37242b DJ naming change 1992-02-22 00:11:39 +00:00
Per Bothner
573da2f371 * Makefile.in: Change mkscript rule into one for ./mkscript
(for the sake of makes that don't realize they're the same).
	* PORTING:  Add more details.
	* genscripts.sh:  Add more tailorability of DATA_ALIGNMENT.
1992-02-21 01:59:57 +00:00
Per Bothner
1584d0697d New hp300bsd port. 1992-02-17 20:08:20 +00:00
Per Bothner
c3d97ef66b *** empty log message *** 1992-02-16 20:49:26 +00:00
Per Bothner
7e5c1057bb * Makefile.in: Major changes. Removed some the sed
magic to converts scripts, since that is now handled
	by genscripts.sh and the *.sc-sh scipt generators.
	* config.h:  Remove a bunch of macros defining emulations
	and targets.  This becomes one less file to edit when
	adding emulations or targets.
	* ldemul.h (struct ld_emulation_xfer_struct):  Add
	emulation_name and target_name fields.
	* ldemul.c, ldemul.h:  Define some default functions used
	by most emulations (and remove from the *.em scripts).
	* ldemul.c (ldemul_choose_target):  Search the new
	ld_emulations array using a loop (instead of a hardwired
	nested if statement).
	Define the ld_emulation from the automatically-geenrated
	ldemul-list.h.  This means you no longer have to edit ldemul.c
	to add a new emulation.
	* ldmain.c:  Replace {GLD,LNK}960_EMULATION_NAME by
	their expansions, since the former no longer exist.
	* PORTING:  A very rough first draft of a porting guide.
1992-02-15 23:13:00 +00:00
Per Bothner
15c5ec2e27 * config/mt-foo: Changed EMUL=GLDFOO_EMULATION_NAME
to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.)
	* config/mh-foo:  Rename LDEMULATION names as appropriate
	(usually 'gldfoo' -> plain 'foo').
1992-02-15 22:21:43 +00:00
Per Bothner
de566389ca Major rewrite of how ld is configured. The major idea
is to use shell scripts to generate everything.
	* Each emulation is defined by a short shell script with
	extension *.sh that specifies the emulation-specific
	parameters (such as the name of the *.sh-sc and *.em
	files to use).
	* genscript.sh is the master shell script used to generate
	an emulation.  It is passed various argument, including
	the name a the emulation-speciic *.sh file that it
	"sources" to set variables to emulation-specifc parameters.
1992-02-15 22:13:53 +00:00
Per Bothner
6ecb2b74ee Major rewrite of how ld is configured. The major idea
is to use shell scripts to generate everything.
	* generic.em replaces ldtemplate.
	* Other *.em files replace various *.c files.
	A *.em file is a shell script that generates the corresponding
	ld__*.c file that implements an emulation.  This is usually
	a straight 'cat' of a here-document, possibly with substitutions.
	* Script files (*.sc) are places by *.sc-sh scripts.
	Again, these are simple shell scripts that 'cat'
	here-documents, usually with some substitutions.
	The output a *.sc-sh is a script file.
1992-02-15 22:07:15 +00:00
Steve Chamberlain
ee1e80ef4c Make the emulation GLD960, not GLD 1992-02-12 06:42:21 +00:00
Steve Chamberlain
dcde00c429 ldlang.c: now won't core dump with -M
configure.in: add configure target for vxworks960
1992-02-11 20:21:52 +00:00
Steve Chamberlain
ffc5003225 * ldexp.c, ldlang.c: added new idea "abs_output_section", removes
tests for NULL pointers all over the place.
	* ldlang.c (lang_process): remember to relocate global symbols
	*after* relaxing has done it stuff.
1992-02-11 00:23:32 +00:00
Steve Chamberlain
ca3c5c6329 Make undefined refs not make an executable 1992-02-10 18:54:27 +00:00
Heinz G. Seidl
7d5326148d added mt-sun3 mt-vxworks68 mt-vxworks960 1992-02-07 22:34:19 +00:00
Heinz G. Seidl
2c43314875 added h8300hms.c and h8300hms.sc 1992-02-07 22:32:29 +00:00
Michael Tiemann
c556c4267b Add ${srcdir} for makefile_frags. 1992-02-07 07:52:08 +00:00
Steve Chamberlain
ab6c26bae1 From h8300hds* 1992-02-06 19:44:44 +00:00
Steve Chamberlain
67c7ea668f * config/mt-coff-h8300: use EMUL like everything else
* ldlang.c: (print_padding_statement): print the right address.
	* Makefile.in, config.h, ldemul.c: renamed  h8300hds to h8300hms
1992-02-06 19:43:25 +00:00
Steve Chamberlain
aa34a7c3c1 * ldlex.l: Put pack -noinhibit-exec and -sort-common
* ldlang.c (print_data_statement): print the right address.
1992-02-04 23:29:33 +00:00
Michael Tiemann
58216160ef Work around for problems in linking C++ programs that need file-level
initialization.  Now C++ programs can be linked.
1992-02-02 21:12:25 +00:00
Steve Chamberlain
d20fb44510 A change to the makefile got lost; ldmain. forgot that it should set
DEFAULT_EMULATION, so ld didn't know who it was.
1992-02-01 00:50:35 +00:00
K. Richard Pixley
60048a2cee add bootstrap target 1992-01-29 22:47:09 +00:00
Steve Chamberlain
0cc6a79622 ldlnk960.c: Special #ifdef to choose little endian ony
ldgram.y: allow forward ref of section
1992-01-29 16:44:09 +00:00
Steve Chamberlain
cbbdbb9f29 * config/mh-sparc.h: now uses libgcc.a
* ldmain.c: quit using exit
	* *.sc: use *(COMMON) rather than [COMMON]
	* ldlex.l, lexsup.c: much thinking moved from .l and put into .c,
	to allow preprocessing of .l file.
	* Makefile.in: New ldlex.l mangling
	* ldexp.c (fold_binary): perform expressions with % and / in
	integer.
	* ldfile.c (open_a): open archives on VMS in a special way
	* lderror.c: forgot to check in from a long while ago
1992-01-29 16:43:16 +00:00
Steve Chamberlain
870f54b2c8 * ldgram.y: map -M behave in the same way as -Map (sets file name
to be "-".
	* ldsym.c, ldlang.c: remember that size of a section is dependent on
	whether or not relaxing has been done.
	* ldmain.c: don't open a map file if it doesn't have a name
	* relax.c: all the brains have moved into bfd.
	* ldwrite.c: ammend comment
1992-01-28 18:21:36 +00:00
Steve Chamberlain
ac5939079f Now compiles with gcc too. 1992-01-24 23:44:10 +00:00
Steve Chamberlain
95a876f3fa target file for h8300 1992-01-24 22:37:17 +00:00
Steve Chamberlain
6fd50a2010 .Sanitize: added relax.c
ldsym.c ldlang.* more map stuff
1992-01-24 22:36:06 +00:00
Steve Chamberlain
2e2bf962db * Makefile.in: added relax, also made three stage go through a
partial link stage.
	* relax.c : added
	* config.h: if GNU960 defined, then default emulation mode is
	GLD960
	* ldexp.h, ldexp.c: map to file hooks
	* ldlang.c: map to file hooks
	* ldgram.y: added -Map -relax
	* ldlex.l: added -relax, -Map
	* ldmain.c: open map file
	* ldmisc.c: support for map file
	* ldwrite.c: new relax magic
1992-01-24 22:34:34 +00:00
Heinz G. Seidl
2cbe4c5f9e install ld in the gcclibdir if present 1992-01-24 22:11:28 +00:00
Steve Chamberlain
c611e285bd Merging from VMS port. Doc to follow.. 1992-01-24 18:41:32 +00:00
Roland Pesch
0acfc45154 (1) describe -relax
(2) push rev, copyright dates to present
1992-01-24 03:40:21 +00:00
Roland Pesch
1c48127ed7 (1) describe -relax
(2) restructure machine dependencies into separate chapter
(3) replace pretty, but quick to become obsolete, graph of BFD platforms
    vs architectures with extended excerpt from (and ref to ) objdump -i.
1992-01-24 03:38:02 +00:00
Michael Tiemann
7316c642a3 Initial revision 1992-01-21 07:27:29 +00:00
Steve Chamberlain
df0c47d497 Initial revision 1991-12-30 18:15:12 +00:00
John Gilmore
c2bb024d97 * Makefile.in, config/tm-*.h: Clean up make output, only
pass DEFAULT_EMULATION to ldmain.c.
1991-12-20 07:48:11 +00:00
Steve Chamberlain
71fc99e9e6 Add mt-coff-h8300 1991-12-12 04:01:28 +00:00
Steve Chamberlain
0cc795aaa4 New dos files 1991-12-12 03:42:08 +00:00
Steve Chamberlain
f9ea3c982e Initial revision 1991-12-12 03:42:06 +00:00
Per Bothner
e06ba18dad * Makefile.in: Pass -y to bison. (Again; accidentally deleted by Rich.)
* news.sc, ldgld68k.sc:  Define __end as well as _end.
1991-12-10 00:31:17 +00:00
Steve Chamberlain
1cc27b5ed3 *** empty log message *** 1991-12-08 01:27:59 +00:00
Steve Chamberlain
f0b87c7d97 * ldindr.h: added to contain prototypes of ldindr.c
* ldfile.c: include ctype.h
	* ldmain.c: include the requried prototype headers
	* ldwrite.c: get_reloc_upper_bound has been renamed
	bfd_get_reloc_upper_bound
1991-12-08 01:21:28 +00:00
Steve Chamberlain
bc71278ddd Initial revision 1991-12-08 01:21:25 +00:00
K. Richard Pixley
818a192aae Fri Dec 6 23:29:26 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: punt "fundamental" mode because it breaks my emacs
	  macros.  install using INSTALL_PROGRAM and INSTALL_DATA.  remove
	  spaces following hyphens, bsd make can't cope.  added
	  standards.text support and made it look like all the other
	  makefiles.

	* configure.in: configure now runs entirely in objdir so make file
	  existence checks against ${srcdir}.  Mark this directory as
	  target dependent.

Thu Dec  5 22:46:16 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:35:43 +00:00
Steve Chamberlain
849c339e86 HOSTING_LIBS now reflects where libgnu lives 1991-12-01 07:54:41 +00:00
Steve Chamberlain
6089addcdc Uses something which will actuall work on an ebmon system 1991-11-29 01:09:30 +00:00
Steve Chamberlain
cc5bda54de Mon Nov 25 18:28:40 1991 Steve Chamberlain (sac at cygnus.com)
* config.h: h8 is now coff, not ieee
	* h8300hds.sc: reflect the same
1991-11-26 02:29:18 +00:00
Steve Chamberlain
a942eeab90 .Sanitize:
Include mh-delta88
mh-delta88:
	Remove gratuitous greeting
1991-11-21 04:26:50 +00:00
Per Bothner
eb68a3e41c Remove ldgld.c, ldgld68k.c, ldm88k.c, since these are
now automatically generated.
1991-11-15 21:09:49 +00:00
Per Bothner
b08344573e Update HOSTING_LIBS (for Cygnus). 1991-11-15 03:54:41 +00:00
K. Richard Pixley
31e54f5d6d allow for yacc, whether or not it really works 1991-11-14 07:42:02 +00:00
K. Richard Pixley
afe3aa730c build and install info 1991-11-14 00:20:13 +00:00
Roland Pesch
9c7810d6b2 (1) better filtering of roff-formattable doc targets
(2) better (I think) conformance to local practice re $(srcdir) and
makeinfo -o
1991-11-14 00:15:47 +00:00
Per Bothner
c61b4184f4 * Makefile.in: Rename .c files generated from ldtemplate
to have names starting with ld__.  This helps 'make clean'.
1991-11-13 23:18:47 +00:00
Steve Chamberlain
092df318fa * Makefile.in: Take out the version number for install
* m88kbcs.sc: put in contructor blocks.
1991-11-13 02:39:14 +00:00
Steve Chamberlain
b773e0e582 uses __inline for now for gcc 1991-11-12 04:26:12 +00:00
Per Bothner
1c9e4b1512 * ldmisc.c, ldmisc.h: Re-write info() to take a filename
parameter, a format, and an arg pointer, and rename it to
	vfinfo().  Write info() in terms of new vfinfo().
	New einfo() is the same as info(), except it writes to stderr.
	* ldemul.c, ldexp.c, ldlang.c, ldlnk960.c, ldmain.c, ldwrite.c,
	ldmisc.c:  Replace "error" calls to info() by new einfo().
1991-11-12 03:03:42 +00:00
Steve Chamberlain
550e87b54d * ldlex.l ldgram.y: made -V option do same as -v
* Makefile.in: Added $(MINUS_G) flag so debugging can be
turned off
1991-11-11 17:59:52 +00:00
Steve Chamberlain
e31bed36c6 Put .comments into .data section, otherwise 88k can't exec the image. 1991-11-08 05:55:19 +00:00
Steve Chamberlain
887b336397 Install ld into ddestdir/bin. 1991-11-08 02:16:19 +00:00
Roland Pesch
c8072296ee Smallbook format fixes. 1991-11-08 01:46:38 +00:00
Steve Chamberlain
9c5a678a42 Initial revision 1991-11-07 23:37:54 +00:00
Steve Chamberlain
8f0a3a7c95 Added three files which had been forgotten 1991-11-06 09:26:59 +00:00
Steve Chamberlain
d9c53949d8 Call new bfd entrypoint bfd_make_section_old_way 1991-11-06 01:21:19 +00:00
Steve Chamberlain
7c55a99692 *** empty log message *** 1991-11-05 21:56:06 +00:00
Roland Pesch
8fbb73515b Initial revision 1991-11-05 21:54:10 +00:00
Steve Chamberlain
ffa057ee82 *** empty log message *** 1991-11-05 20:36:54 +00:00
Steve Chamberlain
de2fae2287 Renamed all the files for the new scheme 1991-11-04 01:03:15 +00:00
Steve Chamberlain
7de2ea345c Initial revision 1991-11-04 01:02:06 +00:00
Steve Chamberlain
e135209527 *** empty log message *** 1991-11-04 00:47:16 +00:00
Steve Chamberlain
ec8dc50bb6 i386 aout changes from Bob Kukura 1991-11-04 00:46:44 +00:00
Steve Chamberlain
82e643ecc4 Initial revision 1991-11-04 00:46:42 +00:00
Steve Chamberlain
ce4d59e25d Sun Nov 3 16:37:37 1991 Steve Chamberlain (steve at cygnus.com)
i386 aout changes from Bob Kukura
	* Makefile.in, config.h: added i386aout support
	* configure.in: fixed /h-{myhost} typo
	* ldgram.y: -MM now gives more boring map.
	* ldlang.c: now does D_PAGED flag the right way.
	* ldsym.c: -MM flags does the right thing.
1991-11-04 00:45:25 +00:00
Per Bothner
aeedc30e25 * configure.in: Fixed typo. Also, a fix for hp300bsd.
* ldlang.c (init_os):  Compensate for BFD change,
	where bfd_make_section now returns NULL for a duplicate
	section request, instead of the old section.
1991-11-03 23:03:01 +00:00
Steve Chamberlain
825e656bf5 config file renaming, and boy did it need it! 1991-10-24 22:17:11 +00:00
John Gilmore
a3ae208f8a sparc-64 to sparc-ll 1991-10-16 21:41:27 +00:00
Per Bothner
3410447c4a Add copright notice to mkscript.c as well. 1991-10-16 19:41:33 +00:00
Per Bothner
2d1a2445ff Add or update copyright notices. 1991-10-16 19:39:40 +00:00
Per Bothner
c1eeb9af4a Initial revision 1991-10-15 06:57:32 +00:00
Roland Pesch
954ac2eafd * Makefile.in: new targets ld.mm, ld.me
(more roff forms of doc)
1991-10-15 00:31:56 +00:00
Per Bothner
972e7b4bc4 * Makefile.in, ldtemplate: Need to use separate scripts
for -n and -N options.  Yet more complication.
1991-10-15 00:28:43 +00:00
John Gilmore
bcdc00417d Revise to match config renaming. 1991-10-14 21:56:44 +00:00
Per Bothner
96eb46258b Fixed typo. 1991-10-12 06:43:01 +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
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
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
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
Steve Chamberlain
8e10cea146 * ldtemplate: include bfd.h before sysdep.h. 1991-10-11 17:30:20 +00:00
John Gilmore
1f8fc34f25 Restructure configuration scheme for bfd, binutils, ld. 1991-10-11 11:54:33 +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
K. Richard Pixley
1a31570390 updating 1991-10-10 11:59:25 +00:00
K. Richard Pixley
e59c58e3b1 Initial revision 1991-10-10 07:10:42 +00:00
Per Bothner
6383fc6d94 Added h8300hds.{c,sc}. 1991-10-09 20:40:37 +00:00
Per Bothner
ee17cac9c6 * ldexp.h, ldlang.h: Change enum boolean -> enum bfd_boolean.
* ldtemplate: Remove ldfile_add_library_path calls;
	just use the SEARCH_DIR commands in the script files.
	* Makefile.in: Add LIB_PATH macro, which if set is used to replace
	the SEARCH_DIR commands in the scripts (using ugly sed magic).
	This is primarily intended for cross-linking, where you would
	place libaries in a different place than native libraries.
	Also, emulations made from ldtemplate now use $(srcdir).
	* ldglda29k.sc: Change SEARCH_DIR commands to a conventional
	form; people can use the Makefile's LIB_PATH to override.
1991-10-08 23:18:03 +00:00
Roland Pesch
8d317d2a7a * Makefile.in: fix target ld.dvi, add target ld.info
ld.texinfo: make info filename ld.info
1991-10-08 21:52:43 +00:00
Steve Chamberlain
bee36ac3e7 Added right dependencies for h8300hds.sc 1991-10-07 15:07:29 +00:00
Steve Chamberlain
58b8383afd Support for the h8300 with an hds monitor, first cut. 1991-10-06 19:17:07 +00:00
Steve Chamberlain
897d094ae0 Initial revision 1991-10-06 19:17:06 +00:00
John Gilmore
5784123fb7 * Makefile.in: Avoid using $< in non-suffix rules (breaks on Sun Make).
* ldfile.c, ldlang.c, ldmain.c, ldwrite.c:  Cope with renames of a
few BFD types & enums.
* ChangeLog:  Create.
1991-10-05 04:55:05 +00:00
John Gilmore
558175fb60 Initial revision 1991-10-05 04:55:03 +00:00
Roland Pesch
2c5c06749f Fixed info-markup bugs; makeinfo now succeeds with no complaints. 1991-10-05 01:49:09 +00:00
Steve Chamberlain
3e4c643dc1 Added -N and fixed -n flags.
Changed name of h8 support
1991-10-05 00:36:45 +00:00
Per Bothner
3e0f5f4f9e Added a kludge for when yacc is used in place of bison:
Rename the yacc outputs y.tab.[ch] to what we want: ldgram.[ch].
1991-10-03 21:50:08 +00:00
K. Richard Pixley
e45bef1edd Some $(srcdir)'s become $(unsubdir)'s in order to support +objdir. 1991-10-02 10:05:30 +00:00
K. Richard Pixley
f1eb48b62e no more configure on which to depend 1991-10-02 07:24:45 +00:00
K. Richard Pixley
4976e6ab23 Very minor bug, broke "make -t". 1991-10-02 04:52:31 +00:00
K. Richard Pixley
5a168a17ee resync 1991-10-02 04:15:56 +00:00
K. Richard Pixley
b9fe720d06 steves h8 patches 1991-10-02 04:01:08 +00:00
Steve Chamberlain
7fe11a82b4 Various lints and uses the new arch functions 1991-10-01 03:51:53 +00:00
K. Richard Pixley
a26878d1fa Exploit the new executable config.status 1991-10-01 03:46:00 +00:00
Per Bothner
e5dab90089 Added {h,t}-news 1991-09-27 20:20:01 +00:00
Per Bothner
3981c7e882 Update for deleted (and some added) files. 1991-09-27 20:19:25 +00:00
Per Bothner
e1e5fbfcbb * ldlnk960.c: Use new naming convention for *.x{,u,r} include scripts.
* ldm88k.sc: "Clean up" script, so that ldm88kUr.sc and ldm88kr.sc
	can be automatically generated.
	* ldemul.c, configure.in, config.h, Makefile.in:
	Add support for Sony NewsOS3.
	* Makefile.in: Re-do the way ldemulation scipts and structures
	are done. do we only need one or two files for each emulation
	target (a TARGET.sc and optionally TARGET.c, if ldtemplate
	isn't suitable).  This gets rid of lots of extra source files.
1991-09-27 20:09:23 +00:00
Per Bothner
9dcb30e3a2 Initial revision 1991-09-27 19:59:17 +00:00
Per Bothner
7730c767b4 Fix/update HOSTING_LIBS path. 1991-09-27 19:55:28 +00:00
K. Richard Pixley
996dda31f0 ldgram.h is not cvs'd source. 1991-09-24 02:30:20 +00:00
Steve Chamberlain
5f1fec7648 Cleaned it up for 88k 1991-09-23 20:59:12 +00:00
Steve Chamberlain
1b3f485c58 Removed all the stuff I added yesterday. 1991-09-20 21:47:46 +00:00
Steve Chamberlain
33638b1c2e Initial revision 1991-09-19 21:04:59 +00:00
Steve Chamberlain
9fe37813cd Modifications from James Tsillas for 386 and 68k machines 1991-09-19 21:04:10 +00:00
Steve Chamberlain
2a7b27b0fe Support for 386 and 68k machines 1991-09-19 21:03:09 +00:00
K. Richard Pixley
7c589d2562 Don't keep ldgram.h. Isn't even checked in. 1991-09-04 04:21:09 +00:00
Steve Chamberlain
1baac72eb9 *** empty log message *** 1991-09-03 21:14:14 +00:00
Steve Chamberlain
1e33287356 *** empty log message *** 1991-09-03 21:14:13 +00:00
Steve Chamberlain
81003d7e1a Initial revision 1991-09-03 21:12:23 +00:00
Steve Chamberlain
30104b16c3 *** empty log message *** 1991-09-03 21:04:24 +00:00
Steve Chamberlain
01bc4918d7 Initial revision 1991-09-03 21:01:03 +00:00
Steve Chamberlain
02757e591c Changed the word binutils to 'the linker' 1991-09-01 03:42:05 +00:00
Steve Chamberlain
1b7ed4c994 Added config.sub 1991-08-27 00:21:34 +00:00
K. Richard Pixley
c0b47bae97 Three part names & all. 1991-08-22 06:21:45 +00:00
K. Richard Pixley
d7b6b186ba Initial revision 1991-08-22 06:21:42 +00:00
K. Richard Pixley
e0220a5bc5 Correct for a deficiency in sun make. 1991-08-13 15:14:25 +00:00
K. Richard Pixley
c252bac868 Changed the script rule from "mkscript" to "./mkscript". 1991-08-12 19:56:45 +00:00
Steve Chamberlain
1af27af8bc Patches to fix bugs reported by roland McGrath 1991-08-06 21:28:21 +00:00
K. Richard Pixley
4101d86838 Host-level GNUmakefiles. 1991-08-06 19:12:55 +00:00
Steve Chamberlain
b648e172cc *** empty log message *** 1991-08-01 23:59:06 +00:00
Steve Chamberlain
8101605119 Added new keyword 'CONSTRUCTORS'
Added N_WARNING handling
Added N_INDR handling
1991-08-01 23:29:23 +00:00
Steve Chamberlain
812df84bc9 Initial revision 1991-08-01 23:29:03 +00:00
Steve Chamberlain
06850bead6 Initialized a variable 1991-07-31 00:37:42 +00:00
K. Richard Pixley
ca70eaefa2 With most makes, yacc is predefined so the previous approach doesn't
work.
1991-07-23 04:08:16 +00:00
Steve Chamberlain
78f3d2c924 From David WOod 1991-07-19 15:26:24 +00:00
K. Richard Pixley
e7218a07c7 Correct the rule for mkscript. The explicit rule failed in subdirs.
The default rule works just fine.
1991-07-16 15:35:37 +00:00
Steve Chamberlain
a4c407e5b9 *** empty log message *** 1991-07-16 00:35:56 +00:00
Steve Chamberlain
5209444a40 *** empty log message *** 1991-07-16 00:07:19 +00:00
Steve Chamberlain
7bc4a0d7a8 Fixed a few bugs, added 29k coff support. 1991-07-15 23:43:26 +00:00
Steve Chamberlain
2013f9b4e1 Initial revision 1991-07-15 23:43:15 +00:00
Steve Chamberlain
a737c70bde *** empty log message *** 1991-07-15 23:41:06 +00:00
K. Richard Pixley
e46cdcdd36 Changes to use yacc and/or bison in place. 1991-06-20 22:04:41 +00:00
Steve Chamberlain
a5090de953 Initial revision 1991-06-14 22:30:17 +00:00
Steve Chamberlain
de9d4075d8 *** empty log message *** 1991-06-14 22:14:07 +00:00
Steve Chamberlain
2e8f851795 Now works and self hosts 1991-06-14 20:51:12 +00:00
Steve Chamberlain
cc964c6f4b Cleaned up map file printing.
Added support for bcs linkage

Added NOLOAD, DESCT, COPY and OVERLAY keyword (though they don't do
anything yet)
1991-06-14 20:16:51 +00:00
K. Richard Pixley
5d63a6687f Awk for version number. 1991-06-12 21:34:45 +00:00
K. Richard Pixley
30ba1dfeaf Added support for binary comparisons. 1991-06-09 20:22:11 +00:00
Steve Chamberlain
357a1f38a5 *** empty log message *** 1991-06-07 01:32:45 +00:00
Steve Chamberlain
48491e2e15 *** empty log message *** 1991-06-04 23:05:54 +00:00
John Gilmore
3f8d46e7cb Print reasonable error message when architecture mismatch happens.
However, still don't understand why we get arch mismatch.
1991-05-31 14:14:46 +00:00
John Gilmore
38f7d29d23 Remove processed scripts in "make clean". 1991-05-31 03:34:29 +00:00
Steve Chamberlain
e5651c613f *** empty log message *** 1991-05-31 01:01:51 +00:00
Steve Chamberlain
7f515d2f6e Initial revision 1991-05-30 23:58:29 +00:00
K. Richard Pixley
fe9c20e21f Fixed link line. 1991-05-27 22:47:33 +00:00
K. Richard Pixley
6c18e39366 fixed a bug in multiple targets 1991-05-27 20:54:50 +00:00
K. Richard Pixley
86e4d6e4aa Initial revision 1991-05-23 21:49:14 +00:00
Steve Chamberlain
7ed4093abc *** empty log message *** 1991-05-21 00:14:16 +00:00
Steve Chamberlain
7cb9aa509c *** empty log message *** 1991-05-18 03:08:59 +00:00
Steve Chamberlain
a3bb31a043 Initial revision 1991-05-18 02:58:02 +00:00
Steve Chamberlain
19b03b7aa4 *** empty log message *** 1991-05-18 02:57:45 +00:00
K. Richard Pixley
7dc139f16d mkdep is not a standard tool nor do we support or install it.
Assuming it's existence kills config, make, and install.
1991-05-18 01:01:09 +00:00
K. Richard Pixley
71887d2b3c Using gcc here screws config and debugging something awful. 1991-05-18 00:53:02 +00:00
Steve Chamberlain
239d28f3e8 Added make dep
Made filenames suitable for PCs
1991-05-14 18:53:33 +00:00
Steve Chamberlain
e89432c7c9 Fixed problem with default output filename 1991-05-14 18:52:40 +00:00
Steve Chamberlain
8c514453d0 *** empty log message *** 1991-05-14 17:33:03 +00:00
Steve Chamberlain
15ed1567e0 Initial revision 1991-05-14 17:32:59 +00:00
Steve Chamberlain
3795e57647 C
:wq



q







VS: ----------------------------------------------------------------------
1991-05-14 14:40:39 +00:00
K. Richard Pixley
c422030318 see devo/configure 1.11 1991-05-14 14:14:40 +00:00
Steve Chamberlain
df9d12efd3 Now use a.out-sunos rather than a.out-generic 1991-05-13 18:47:30 +00:00
Steve Chamberlain
ffb740a982 Fixed error message text 1991-05-08 19:23:55 +00:00
Steve Chamberlain
a0ad303552 Lint 1991-05-08 19:23:35 +00:00
Steve Chamberlain
d6079be71e Took out the c++ support 1991-05-07 19:16:52 +00:00
Steve Chamberlain
6812f0e89f Fixed the shift reduce errors in the grammer using the yacc debugger.
Removed some lint highlighted by the same.
1991-05-07 19:16:33 +00:00
Steve Chamberlain
bc488d8923 *** empty log message *** 1991-05-05 22:13:56 +00:00
Steve Chamberlain
d082a54f59 *** empty log message *** 1991-05-04 00:40:37 +00:00
Steve Chamberlain
b63165349f *** empty log message *** 1991-05-03 23:52:48 +00:00
John Gilmore
e77463a15c Merge devo/bfd with GDB's bfd.
Things that use -lbfd must also use -liberty, to get obstacks.
1991-05-02 03:08:32 +00:00
John Gilmore
d6e467b4c5 Use the new merged include directory. 1991-04-25 04:25:00 +00:00
Steve Chamberlain
65c552e308 Added the sizeof_headers keyword. 1991-04-24 20:53:36 +00:00
Steve Chamberlain
a37cc0c05c *** empty log message *** 1991-04-23 15:59:24 +00:00
Steve Chamberlain
1327fb2956 Initial revision 1991-04-23 15:59:23 +00:00
Roland Pesch
b4d4e8e33c Updated, amplified, and reorganized linker manual. Option-flag
description believed complete as of today; still holes---small
ones---in "commands" section.  BFD section also needs better table of
supported archs and formats; see FIXMEs for scattered q's and
desiderata.
1991-04-20 00:07:39 +00:00
Steve Chamberlain
3cc2ca3f5c Added patch from chrisb 1991-04-19 01:05:13 +00:00
Steve Chamberlain
5f288d8af8 Put spaces around the / signs 1991-04-19 01:04:55 +00:00
Steve Chamberlain
b0f368691e Fixed a bug where wild scripts stopped working.
Fixed another bug in -R symbol handling
1991-04-19 01:00:45 +00:00
Steve Chamberlain
1d45ccb383 Yet more diffs due to my incompetence. 1991-04-19 00:59:53 +00:00
K. Richard Pixley
e7921bd4c5 Pulled host & target dependancies out of Makefile. allow more
flexibility in config.h.
1991-04-18 02:01:12 +00:00
K. Richard Pixley
59e91936c5 Pulling host and target dependancies out of the Makefile.in. 1991-04-18 02:00:09 +00:00
K. Richard Pixley
49913ad311 Initial revision 1991-04-18 01:59:32 +00:00
Steve Chamberlain
93d8be3c7c Force target architecture 1991-04-18 00:09:03 +00:00
Steve Chamberlain
ac00487023 Fixed some bugs. 1991-04-18 00:06:26 +00:00
Steve Chamberlain
7685579456 *** empty log message *** 1991-04-17 02:13:13 +00:00
Steve Chamberlain
d4c02e2923 Cleaned up a load of declarations
Fixed bug in unary - , ! and ~
1991-04-17 02:04:31 +00:00
Steve Chamberlain
d646b568d0 Moved declarations from header file into here. 1991-04-17 02:03:34 +00:00
Steve Chamberlain
5e83d38ef9 Removed extern declarations 1991-04-17 02:02:53 +00:00
K. Richard Pixley
04dc1a6246 Fixed a problem with host dependent parts. 1991-04-17 01:41:32 +00:00
Steve Chamberlain
097879bc04 Added support for OUTPUT_FORMAT keyword
Fixed problem where cofflike common was being badly sized due to
incorrectly owned common symbols.
1991-04-17 00:51:31 +00:00
Steve Chamberlain
3a39952366 Better error messages for forward and undefined refs for ADDR and
SIZEOF
1991-04-17 00:50:19 +00:00
Steve Chamberlain
13a0e8d7fc Added support for OUTPUT_FORMAT(name) and FORCE_COMMON_ALLOCATION 1991-04-17 00:49:44 +00:00
Steve Chamberlain
fd846434f0 Added keywords
FORCE_COMMON_ALLOCATION
OUTPUT_FORMAT
1991-04-17 00:49:15 +00:00
Steve Chamberlain
070aa81923 *** empty log message *** 1991-04-16 14:32:02 +00:00
K. Richard Pixley
3d6f098360 Now handles multiple hosts and targets. 1991-04-15 23:57:22 +00:00
K. Richard Pixley
8c32cf6e55 Now handles multiple host and targets. 1991-04-15 23:41:05 +00:00
Roland Pesch
f22eee0870 Initial revision 1991-04-15 22:51:21 +00:00
Steve Chamberlain
99fe455360 Merges from Intel.
Chrisb bug fixes.
1991-04-15 15:27:15 +00:00
Steve Chamberlain
f78e2569ad Checkpoint before a merge 1991-04-14 03:23:25 +00:00
Steve Chamberlain
1418c83b39 checkpoint before a merge 1991-04-14 03:22:42 +00:00
Steve Chamberlain
da56abdf49 Initial revision 1991-04-14 03:22:02 +00:00
K. Richard Pixley
ec342d7d9a Config cut 3. We now almost install a29k. 1991-04-13 02:12:45 +00:00
Steve Chamberlain
321b5f8d3d Initial revision 1991-04-11 16:12:12 +00:00
Steve Chamberlain
ff64b37687 Added what to pass as YACC 1991-04-11 16:11:41 +00:00
K. Richard Pixley
f2e91404e7 Cut 2. Subdirs. 1991-04-10 22:56:51 +00:00
Steve Chamberlain
03466f17b7 *** empty log message *** 1991-04-09 23:25:49 +00:00
K. Richard Pixley
2ee11735a2 First minimally usable config checkin. 1991-04-09 23:21:17 +00:00
K. Richard Pixley
9a84900784 Initial revision 1991-04-09 23:05:38 +00:00
Steve Chamberlain
de7c1ff613 *** empty log message *** 1991-04-08 23:26:05 +00:00
K. Richard Pixley
eb02fd64a6 Initial revision 1991-04-04 19:01:18 +00:00
Steve Chamberlain
a7fe4c5997 Initial revision 1991-04-03 22:08:46 +00:00
Steve Chamberlain
9d5ee7e282 sun3 gld68k support 1991-04-03 22:04:26 +00:00
Steve Chamberlain
7ca04d280d Fixed some grammer ambiguities
Better error reporting
sun3 support
1991-04-03 22:03:55 +00:00
Steve Chamberlain
c660714fb1 *** empty log message *** 1991-03-27 02:29:23 +00:00
Steve Chamberlain
9f32f7c27b *** empty log message *** 1991-03-27 00:53:16 +00:00
Steve Chamberlain
8cb5eb316c Brought up to sync with Intel again. 1991-03-22 23:02:38 +00:00
Steve Chamberlain
139d5bfdf9 *** empty log message *** 1991-03-22 22:32:22 +00:00
Steve Chamberlain
e59e0390a5 *** empty log message *** 1991-03-22 22:31:37 +00:00
David Henkel-Wallace
c074abeebc Back from Intel with Steve 1991-03-21 21:29:07 +00:00
David Henkel-Wallace
2fa0b342a5 Initial revision 1991-03-21 21:29:06 +00:00