Commit Graph

450 Commits

Author SHA1 Message Date
David MacKenzie 2b63dbfefd * .Sanitize (Things-to-keep): Add emulparams, emultempl, scripttempl. 1993-06-21 23:40:21 +00:00
David D. Zuhn 5ebaf24b77 single-quote $program_transform_name 1993-06-18 19:25:38 +00:00
David D. Zuhn 9cd039e778 more install/program_transform_name fixes 1993-06-18 17:03:58 +00:00
Steve Chamberlain d360d135af Fix install. 1993-06-18 01:30:34 +00:00
David D. Zuhn e9b991c691 doc last change 1993-06-17 23:55:23 +00:00
David D. Zuhn e0d005f216 get install.sh canonicalized 1993-06-17 23:50:35 +00:00
David MacKenzie d18a45278e Document -Map option. 1993-06-17 23:23:48 +00:00
David MacKenzie 2de8edce8f * ldgram.y: Tweak grammar to make reporting of invalid options work. 1993-06-17 22:55:38 +00:00
Steve Chamberlain f216ecc54a Support for constructors. 1993-06-17 21:49:48 +00:00
David MacKenzie 565c93e92a * Makefile.in (.cc.o): Restore .SUFFIXES entry for .cc
and .cc.o rule.
1993-06-17 21:34:11 +00:00
David MacKenzie f1907ff24b Moved to emulparams subdir. 1993-06-17 21:23:10 +00:00
David MacKenzie 6fa11e9f43 Moved to scripttempl subdir. 1993-06-17 21:21:21 +00:00
David MacKenzie e89ea690c9 Moved to emultempl subdir. 1993-06-17 21:19:58 +00:00
David MacKenzie 168bb59fe6 No longer needed. 1993-06-17 21:16:37 +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
David MacKenzie 1855298745 Nuke dir. 1993-06-16 21:16:16 +00:00
Ken Raeburn f905eff404 look in ../include instead of ../bfd for bfd.h 1993-06-16 03:10:01 +00:00
Ken Raeburn 2a963f1a0e Makefile.in, aout.sc-sh, hp3hpux.sh changes 1993-06-16 03:07:27 +00:00
Ken Raeburn 31038b78a5 * aout.sc-sh: Add SHLIB_PATH like STACKZERO. Make STACKZERO
dependent on RELOCATING, not RELOCATION.
* hp3hpux.sh (SHLIB_PATH): Define it.
1993-06-16 03:06:33 +00:00
David D. Zuhn c97b9003b0 remove parentdir support; use INSTALL_XFORM 1993-06-16 00:03:44 +00:00
Ian Lance Taylor 9de4d8f1c0 * ldexp.c (exp_fold_tree): Don't lose the old flag bits.
* ldgram.y (statement_list_opt): New nonterminal, either empty or
	statement_list.
	(section): Use statement_list_opt, not statement_list.
	* m68kcoff.sc-sh: Gather constructors and destructors and define
	__CTOR_LIST__ and __DTOR_LIST__ appropriately.
	* sa29200.sc-sh: Gather constructors and destructors and define
	___CTOR_LIST__ and ___DTOR_LIST__ appropriately.
1993-06-10 21:02:59 +00:00
Per Bothner 7f2649bb06 * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h.
* configure.in:  No longer need to configure to get sysdep.h.
1993-06-07 19:57:26 +00:00
David D. Zuhn 91b3a2b678 * Makefile.in: remove old C++ rules; remove install:all and
install-info:info dependencies (these cause some spurious rebuilds
	at 'make install' time)
1993-06-04 23:20:08 +00:00
Steve Chamberlain eb392e6825 Support for Alpha. 1993-06-04 23:14:16 +00:00
Ian Lance Taylor 1053ea99cb Remove sh sanitization comments. 1993-06-04 20:01:31 +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
Ian Lance Taylor 559d1cff43 * config/sun3.mh (HOSTING_LIBS, HOSTING_EMU): Removed obsolete and
incorrect definitions.
1993-06-04 15:54:57 +00:00
Per Bothner 1cf91c69b0 * ldsym.c (write_file_locals): Write BSF_CONSTRUCTOR
symbols, unless stripping.
1993-06-01 22:44:42 +00:00
K. Richard Pixley 87756e15db added things-to-lose sections 1993-05-27 06:44:29 +00:00
Ian Lance Taylor 6354589838 * Makefile.in: configure looks for ####, so remove lines with many
'#' characters.
	* config/irix4.mh, config/i386v.mh: New files; set HOSTING_CRT0
	and HOSTING_LIBS correctly so that ``make check'' will work.
1993-05-25 22:37:41 +00:00
Ken Raeburn 1fe65669e5 missed part of renaming update 1993-05-20 21:30:26 +00:00
Per Bothner 5b7876febe * mips.sc-sh: Define _etext, _edata, and _end, in addition
to etext, edata, and end.  Needed for IRIX 4.0.5F.
	Patch from mwp@iconix.oz.au (Michael Paddon).
1993-05-20 20:59:28 +00:00
Ken Raeburn 0cb51aa15a missed this in mipsbsd renaming 1993-05-20 17:40:30 +00:00
Ken Raeburn 5266c5ec29 rename aout-mipsbsd.sc-sh to mipsbsd.sc-sh for 14-char file systems 1993-05-20 15:58:49 +00:00
Per Bothner bc3b479ce4 New file. 1993-05-17 19:45:17 +00:00
Ian Lance Taylor 1720003031 * mips.sc-sh: Don't define BSS_VAR unless relocating. 1993-05-14 18:33:37 +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
Ken Raeburn dd2a363ca0 hppaosf host & target makefile frags 1993-05-05 03:17:01 +00:00
Ken Raeburn b8fc168daf *** empty log message *** 1993-05-05 02:50:10 +00:00
Ken Raeburn 7543e2feb9 missed a file 1993-05-05 02:08:31 +00:00
Ian Lance Taylor ef86818669 * mips.sc-sh: Put constructors in the .data section.
* Makefile.in (cdtest): Added dependency on ld.new.
1993-05-04 19:39:33 +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
Per Bothner 9a3293b145 * config/vax.mt: Support VAX Ultrix and BSD. 1993-05-04 02:50:14 +00:00
Steve Chamberlain 68b61e5dc9 More resonable default. 1993-05-03 22:43:35 +00:00
Ken Raeburn 55cb97d896 hppa-osf(elf) support files 1993-05-03 20:58:06 +00:00
Ken Raeburn 2a1c2bad8b comment formatting fixup 1993-05-03 19:47:38 +00:00
David MacKenzie ec40bbb87f Clean up English and Texinfo usage. 1993-04-29 03:39:02 +00:00
Ken Raeburn 5b4249d76c changes for hp300hpux -- won't be enabled until bfd work is done 1993-04-28 23:04:12 +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