Commit Graph

136 Commits

Author SHA1 Message Date
Stan Shebs 6e49f018bc update for changed mpw filename 1995-03-18 00:14:30 +00:00
Ken Raeburn a466a7a00a there isn't a configure script here though 1994-12-17 21:19:38 +00:00
Ken Raeburn 0672158da0 need to sanititze Makefile.in for arc too 1994-12-17 21:07:51 +00:00
David Edelsohn c5b5589ed3 Remove duplicate of ARC sanitization. 1994-12-16 23:29:55 +00:00
Ken Raeburn d0bfd8ec2b sanitize out arc stuff 1994-12-14 21:45:07 +00:00
Michael Tiemann fb14975b70 Enable ld to build for RCE. This is not tested yet! 1994-11-25 17:06:38 +00:00
Michael Tiemann ff030c9827 *** empty log message *** 1994-11-25 00:25:34 +00:00
Michael Tiemann 5fa6096860 Recognize and sanitize r16 as a target. 1994-11-24 22:02:18 +00:00
Ian Lance Taylor 262c876349 * Makefile.in (CC): Define.
(CXX): Move definition, change from g++ to gcc.
	(EXPECT, RUNTEST): Copy definitions from top level Makefile.in.
	(RUNTEST_CC, RUNTEST_CFLAGS): Remove.
	(RUNTEST_CXX, RUNTEST_CXXFLAGS): Remove.
	(CC_FOR_TARGET, CXX_FOR_TARGET): Copy from top level Makefile.in.
	(.cc.o): Comment out.
	(testdir): Remove.
	(site.exp): Don't create testdir or set tmpdir.
	(check): Run checks even if not running native.  Use CC_FOR_TARGET
	instead of RUNTEST_CC, and likewise for CXX.
	(cdtest targets): Comment out.
	* config/solaris2.mh (HOSTING_LIBS): Only mention crtend.o once.
	* cdtest-bar.cc, cdtest-foo.cc, cdtest-foo.h: Remove.
	* cdtest-main.cc, cdtest.exp: Remove.
1994-09-27 22:25:04 +00:00
Stan Shebs 2b51073813 Remove supposedly (but not really) GM-specific bits 1994-09-13 00:18:55 +00:00
Stan Shebs 10f1b5978b Elim dup of file names 1994-06-30 23:19:26 +00:00
Ken Raeburn 8e3b100c24 deleted code for keep-v9 that does nothing useful 1994-06-17 00:52:10 +00:00
Ian Lance Taylor 6beb80b22f Don't sanitize out SPARC v9 stuff. 1994-06-10 21:22:31 +00:00
Ian Lance Taylor eb8f714f21 Remove sanitization of PowerPC NetWare 1994-05-20 18:25:30 +00:00
Ken Raeburn 7e16be786a note name change of cdtest-bar.cc 1994-05-11 23:49:35 +00:00
Stan Shebs 764eb34944 Lose mpw-build.in 1994-02-28 19:14:06 +00:00
Ian Lance Taylor c361ce46c5 * configure.in (powerpc-*-elf*): New target; use ppc-elf32.
* config/ppc-elf32.mt: New file.
	* emulparams/elf32ppc.sh: New file.
	* emultempl/ppc.em: New file.
	* Makefile.in (ALL_EMULATIONS): Added em_elf32ppc.o.
	(em_elf32ppc.c): New target; uses elf32ppc.sh, ppc.em and elf.sc.
	(EMULATION_OFILES): Added dependencies on ldexp.h and ldlang.h.
1994-02-25 03:32:08 +00:00
Ken Raeburn e2f9f0f639 keep test suite 1994-01-28 17:19:22 +00:00
Stan Shebs 747a47f2be Add MPW/GM sanitizing 1994-01-26 04:19:32 +00:00
Ian Lance Taylor 93b135859d Removed files that are no longer used by the rewritten linker. 1993-12-30 19:57:49 +00:00
Ian Lance Taylor f80837391e New file used for rebuilding dependencies. 1993-12-13 19:37:22 +00:00
David MacKenzie 2b63dbfefd * .Sanitize (Things-to-keep): Add emulparams, emultempl, scripttempl. 1993-06-21 23:40:21 +00:00
David MacKenzie 8ddef5528d * ldfile.c (ldfile_open_command): Don't try .ld extension.
It wasn't documented (or likely used) and wastes time.
	(try_open): If EXTEN is empty, don't try it.

	* ldctor.c, lderror.c, ldexp.c, ldfile.c, ldindr.c, ldlang.c,
	ldlex.l, ldmain.c, ldmisc.c, ldsym.c, ldver.c, ldwarn.c,
	ldwrite.c, lexsup.c, mri.c, relax.c: Replace DEFUN macro calls
	with normal function declarations.

	* Move *.em to emultempl/*.em.  Move *.sh to emulparams/*.sh.
	Move *.sc-sh to scripttempl/*.sc.
	* {emultempl,emulparams,scripttempl}/README: New files.
	* sh.em, st2000.em, z8ksim.em, h8300hms.em, h8500hms.em: Files
	removed, replaced with generic.em.
	* h8300.sh, h8500.sh, h8300.sc, h8500.sc: Renamed from
	 h8[35]00hms.s[ch].  Change their contents to omit the "hms".

	* *.em (*_get_script): Return script name instead of script contents.
	* ldlang.c (lang_process): Change caller.

	* ldlex.l, ldgram.y: Recognize -m option.
	Check for input files after *all* options in grammar.
	* ldmain.c (main): Check for -m options.  Add default directory
	for -m.

	* mkscript.c: File removed.
	* genscripts.sh: Take two more parameters, tooldirlib and libdir,
	to add to the default LIB_PATH.
	Look for input files in the new subdirectories.
	Create the scripts in emulations subdirectory and don't filter
	them through mkscript.
	* configure.in: Make the emulations subdirectory.

	* Makefile.in: Account for all of the above changes.
	Remove unused .SUFFIXES.  Get libgcc.a path with gcc
	-print-libgcc-file-name instead of $(libdir)/libgcc.a.
	Put CFLAGS last in the compilation rules.
	Add -I../bfd to INCLUDES so sysdep.h is found.

	* ldfile.c (try_open): If opening without the extension fails,
	try with the extension even if -v or -V was given.
	had_script is imported (from ldgram.y), not exported.
1993-06-17 20:55:43 +00:00
Ian Lance Taylor 98f3d1afa4 * configure.in (mips-idt-ecoffl*): New target; use mips-idtl.
(mips-idt-ecoff*): Added trailing '*'.
	* config/mips-idtl.mt: New file; use EMUL of mipsidtl.
	* mipsidtl.sh: New file; like mipsidt.sh, but little endian.
	* Makefile.in (ALL_EMULATIONS): Added em_mipsidtl.o.
1993-06-04 19:50:31 +00:00
K. Richard Pixley 87756e15db added things-to-lose sections 1993-05-27 06:44:29 +00:00
Ken Raeburn 0cb51aa15a missed this in mipsbsd renaming 1993-05-20 17:40:30 +00:00
Per Bothner bc3b479ce4 New file. 1993-05-17 19:45:17 +00:00
Ken Raeburn c05e34defe keep new files; get rid of trailing spaces after sh-support file names 1993-05-06 02:04:18 +00:00
Per Bothner 034351e334 * Makefile.in: Change definition of $(tooldir) to match FSF.
* vax.sh, config/vax.mt, configure.in, Makefile.in:
	Support VAX Ultrix and BSD.
1993-05-04 02:51:33 +00:00
Steve Chamberlain 84d42ddd61 sh.em, sh.sh, sh.sc-sh: New files supporting Hitachi SH. 1993-04-27 01:37:02 +00:00
Steve Chamberlain 55237887a6 Support for the H8/500 1993-04-09 17:46:13 +00:00
Roland Pesch 2412a76837 ld.texinfo:
Conditionalize manual to maintain Cygnus, Hitachi versions in parallel.
(Texinfo conditionals are stable enough to permit this, at last!)
NOTE: @ignore'd passages from earlier versions DELETED; use CVS history
      to retrieve if wanted.

gen-doc.texi, h8-doc.texi: manual configuration definitions.

Makefile.in: link config defn (`gen' by default) to configdoc.texi, included
      by ld.texinfo

.Sanitize: add gen-doc.texi, h8-doc.texi
1993-03-30 23:25:03 +00:00
Ian Lance Taylor 16788ca9fd Removed obsolete Makefile.dos. 1993-03-09 18:16:38 +00:00
Ian Lance Taylor ce7d4b0d57 * mips.sc-sh: Added variables which may be overridden by a
specific emulation.
	* mipsidt.sh: New file; emulation for IDT MIPS board.
	* Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o.
	(em_mipsidt.c): New target.  Uses mipsidt.sh and mips.sc-sh.
	* config/mips-idt.mt: New file; sets EMUL to mipsidt.
	* configure.in (mips-idt-ecoff): New target; uses mips-idt.
1993-03-04 20:49:26 +00:00
Ken Raeburn e637dcf08b mips-bsd and 386bsd support 1993-02-28 14:46:25 +00:00
David Edelsohn d9c2980f64 Added initial sparc-v9 support. 1993-02-26 18:53:13 +00:00
David D. Zuhn 7c8592905d removing excess verbosity 1993-02-13 10:15:53 +00:00
Ian Lance Taylor 31965c32d0 Keep forgetting those .Sanitize files. 1993-02-03 17:11:22 +00:00
Ian Lance Taylor 42b5c73927 Fri Jan 22 14:22:44 1993 Ian Lance Taylor (ian@cygnus.com)
* mips.sc-sh: New file.  Ultrix, and hopefully other MIPS ECOFF
	targets, linker script.
	* mipslit.sh: New file.  Little endian MIPS emulation.
	* config/mips-lit.mt: New file.  Use mipslit emulation.
	* configure.in (mips-dec-ultrix*): Use target mips-lit.
	* Makefile.in (ALL_EMULATIONS): Added em_mipslit.o.
	(em_mipslit.c): New target.  Uses mipslit.sh.
1993-01-22 22:30:52 +00:00
Steve Chamberlain 22a78f0d96 Fri Sep 25 11:08:01 1992 Steve Chamberlain (sac@thepub.cygnus.com)
Added initial support for the z8k
	* z8ksim.em, z8ksim.sc-sh, z8ksim.sh: new files
	* configure.in, Makefile.in: modified to reflect above

	* ldlang.c (lang_check): when linking conflicting architectures,
	make the output file reflect at least one of the bad inputs.
1992-09-25 18:11:04 +00:00
Steve Chamberlain e92bddcd1b Sanitize slip 1992-09-11 20:43:33 +00:00
Steve Chamberlain 1d7c7537dc Add i386coff.sh 1992-09-11 17:47:22 +00:00
Ian Lance Taylor ab57b17418 Brought in from p3. If anybody knows good numbers for m68k COFF,
please let me know, or plug them in yourself.

Wed Sep  9 11:52:58 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt:
	added m68k-coff emulation mode, stolen from a29k emulation.
	Almost certainly wrong, but perhaps better than sun3.

Also fixed an error message in configure.in so that it started with
'***' like the other error messages do.
1992-09-09 18:59:11 +00:00
Per Bothner fbd74d0712 Add TODO. 1992-09-03 22:56:45 +00:00
Per Bothner e4b9262014 Add scripts. 1992-09-01 22:14:49 +00:00
Per Bothner fe2b6209ff * cplus-dem.c: Removed. Use the version in libiberty now.
* ldmisc.c:  Use new libiberty version of cplus_demangle().
1992-08-31 01:14:44 +00:00
Roland Pesch 40ab85327f Use new name of man page (ld.1). 1992-08-17 18:35:59 +00:00
Per Bothner 4b91c519fd * ldint.texinfo: New internals manual (beginnings thereof).
* PORTING:  Removed, merged into ldint.texinfo.
1992-08-07 01:37:39 +00:00
Per Bothner 917bffa7f6 * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc,
cdtest.exp:  A test program (copied from libg++/test-install)
	that tests that constructor and destructors are handled
	corrrectly.
1992-08-05 04:15:37 +00:00
Steve Chamberlain fe3e4dfcfd New stuff for 29200 1992-05-02 02:08:21 +00:00
Steve Chamberlain a586b5bc64 Add mri.h 1992-05-01 22:08:40 +00:00
Steve Chamberlain 0d3e45eab0 * relax.c: added handling for new "padding" seclet type, used to
fill out gaps between section.
	* ldgram.y, ldlex.l: now -defsym on the command line is done
	properly.
1992-04-17 15:59:37 +00:00
Steve Chamberlain b11a9b2866 added mri.c 1992-04-15 23:11:53 +00:00
Steve Chamberlain 9d1fe8a410 New lexer.
New targets for h8/300 simulator and DOS
1992-04-05 01:47:16 +00:00
Steve Chamberlain 4fe79f062d *** empty log message *** 1992-03-07 18:32:27 +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 c3d97ef66b *** empty log message *** 1992-02-16 20:49:26 +00:00
Heinz G. Seidl 2c43314875 added h8300hms.c and h8300hms.sc 1992-02-07 22:32:29 +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 6fd50a2010 .Sanitize: added relax.c
ldsym.c ldlang.* more map stuff
1992-01-24 22:36:06 +00:00
Steve Chamberlain 0cc795aaa4 New dos files 1991-12-12 03:42:08 +00:00
Steve Chamberlain 1cc27b5ed3 *** empty log message *** 1991-12-08 01:27:59 +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
Steve Chamberlain 8f0a3a7c95 Added three files which had been forgotten 1991-11-06 09:26:59 +00:00
Steve Chamberlain 7c55a99692 *** empty log message *** 1991-11-05 21:56:06 +00:00
Steve Chamberlain ffa057ee82 *** empty log message *** 1991-11-05 20:36:54 +00:00
Steve Chamberlain ec8dc50bb6 i386 aout changes from Bob Kukura 1991-11-04 00:46:44 +00:00
Per Bothner 96eb46258b Fixed typo. 1991-10-12 06:43:01 +00:00
Steve Chamberlain c97b47fec2 *** empty log message *** 1991-10-11 19:32:25 +00:00
K. Richard Pixley 1a31570390 updating 1991-10-10 11:59:25 +00:00
Per Bothner 6383fc6d94 Added h8300hds.{c,sc}. 1991-10-09 20:40:37 +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
Per Bothner 3981c7e882 Update for deleted (and some added) files. 1991-09-27 20:19:25 +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 9fe37813cd Modifications from James Tsillas for 386 and 68k machines 1991-09-19 21:04:10 +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 1e33287356 *** empty log message *** 1991-09-03 21:14:13 +00:00
Steve Chamberlain 30104b16c3 *** empty log message *** 1991-09-03 21:04:24 +00:00
Steve Chamberlain 1b7ed4c994 Added config.sub 1991-08-27 00:21:34 +00:00
Steve Chamberlain 1af27af8bc Patches to fix bugs reported by roland McGrath 1991-08-06 21:28:21 +00:00
Steve Chamberlain b648e172cc *** empty log message *** 1991-08-01 23:59:06 +00:00
Steve Chamberlain a4c407e5b9 *** empty log message *** 1991-07-16 00:35:56 +00:00
K. Richard Pixley 86e4d6e4aa Initial revision 1991-05-23 21:49:14 +00:00