172 Commits

Author SHA1 Message Date
b98bd3db83 define BYTE_SIZE, SHORT_SIZE, and LONG_SIZE which are no longer in bfd.h. 1993-08-24 23:17:52 +00:00
ddddcdf0f3 * ldlang.c (open_output, lang_check): Check return value of
bfd_set_arch_mach.
1993-08-17 19:25:18 +00:00
ea1c0ad276 * scripttempl/h8500.sc: Start all sections in a different segment.
* scripttempl/z8ksim.sc: Handle constructors
1993-08-17 14:04:24 +00:00
d301e438b5 check targets reimplemented to old way. 1993-08-12 15:54:30 +00:00
d62026add2 * config/i386v.mh, config/irix4.mh: Use gcc
-print-libgcc-file-name rather than $(libdir)/libgcc.a.
1993-08-11 19:14:25 +00:00
75fe54719c * config/i386sco.mh: New file; copy of i386v.mh to correspond to
bfd/configure.host change.
1993-08-11 15:57:39 +00:00
31f55aa540 clean up error messages 1993-08-06 20:13:28 +00:00
3353630442 * scripttempl/mips.sc: Always define _ftext, _fdata, _fbss.
(BSS_VAR): Removed; now always define _fbss.
	* emulparams/mipsidt.sh, emulparams/mipsidtl.sh (BSS_VAR):
	Removed.
1993-08-06 18:35:03 +00:00
7c6a9e798c Changes to add dejagnu testsuite support 1993-08-05 04:16:43 +00:00
8bf66be8aa add missing newlines in messages 1993-08-05 02:52:17 +00:00
2a28d8b006 add -warn-common option 1993-08-03 22:47:28 +00:00
94f9d427e5 * scripttempl/elf.sc: Add hooks for .sdata, .sbss, and
target-specific sections, and for changing data section vma.
1993-08-02 16:52:10 +00:00
6b93d764ca solaris 2 changes 1993-07-26 18:09:05 +00:00
d59e5a4707 move compile-in decision to genscripts.sh 1993-07-22 00:55:56 +00:00
18d9a9c502 fix typo 1993-07-22 00:37:43 +00:00
a6152e399b The default script is now compiled in; the others are still in the filesystem. 1993-07-22 00:33:10 +00:00
820c446cce Make emul-list.h depend on Makefile, so changes to EMULATION_OFILES get
reflected.
1993-07-20 16:38:49 +00:00
0750b974c0 disable em_i386linux.o until emulparams/i386linux.sh is checked in 1993-07-20 16:31:47 +00:00
fe619ced4a * ldgram.y (OPTION_Lfile): New token.
(command_line_option): Accept OPTION_L NAME (whitespace after -L).
	* ldlex.l (<COMMAND>): Accept -L without FILENAME.
1993-07-16 21:15:40 +00:00
dd8ca662ce h8/300h stuff 1993-07-16 20:46:46 +00:00
922018a10c remove dupliate include 1993-07-15 22:02:01 +00:00
4ab3a31f9e Add h8/300h support. 1993-07-15 21:45:16 +00:00
bbd2521f26 source cleanups; fix finding scripts 1993-07-15 21:43:28 +00:00
b0955bc979 * scripttempl/m88kbcs.sc: Removed TARGET statement. Changed
OUTPUT_FORMAT to use ${OUTPUT_FORMAT}.
	* emulparams/m88kbcs.sh: It's coff-m88kbcs, not m88kbcs.
1993-07-15 19:59:21 +00:00
9edc5b2eca * Makefile.in (em_m88kbcs.c): Correct dependency.
(scripttempl/m88kbcs.sc): It's ARCH, not arch.
1993-07-15 17:57:26 +00:00
cffdcde9e9 * ldfile.c (ldlang_open_file, ldfile_open_command_file),
main.c (main): Print the errno string in the error message.
1993-07-15 04:46:25 +00:00
ac2c0ee786 * configure.in: Accept h8300h for target cpu.
* ldmisc.c (vfinfo): Have demangle remove leading underscore if
present (demangle is smart enough to know whether to do it or not).
1993-07-14 03:08:33 +00:00
f42084627b * ldmain.c (set_scripts_dir): Check . and <ld bin dir>/../lib for
ldscripts, as well as <ld bin dir> and SCRIPTDIR.
1993-07-13 00:54:45 +00:00
d723cd17d5 * ldlang.c (lang_process): Use sizeof instead of magic constant.
* ldmain.c (get_emulation, check_for_scripts_dir,
	set_scripts_dir):  New functions.
	(main): Call them.
1993-07-12 19:34:04 +00:00
e7affb090d configure.in, elf.sc changes 1993-07-12 15:07:42 +00:00
3cb6141731 ldmisc,ldlang,Makefile changes 1993-07-08 20:28:03 +00:00
49bfda2c9a forgot to check this in yesterday 1993-07-08 18:56:54 +00:00
de87cdb466 * Make -v only print the version number.
Share some Texinfo documentation with BFD.
1993-07-08 18:00:11 +00:00
e357065c7e * Makefile.in (install): Don't install as $(tooldir)/bin/gld;
collect2 doesn't look for gld any more anyhow.
1993-07-07 18:36:12 +00:00
55636aa789 * ldlang.c (lang_relocate_globals): Skip indirect symbols, which
now have a non NULL srefs_chain.
1993-07-05 21:32:13 +00:00
a04f1d001e Passing -L. is no longer necessary. 1993-07-03 02:23:22 +00:00
ff76a7dbf3 Fix previous fix. 1993-07-03 02:18:12 +00:00
7434d4e5dc scripttempl/h8300.sc: Add .tors section for constructor/destructors. 1993-07-03 00:14:40 +00:00
1e787898a0 * Makefile.in (.y.c): skip default .y.c rules. gnu make can now run in
parallel without colliding on yacc's static file names. Without the
  stub rule, make will try to start two yacc's concurrently which
  fails because of yacc's static file names.
1993-07-01 01:23:39 +00:00
559d7baf89 * Makefile.in (ldgram.[hc]): rewrite this rule in such a way that gnu
make can run in parallel without colliding on yacc's static file
  names.
1993-06-30 22:48:51 +00:00
59fb874e52 * Makefile.in (scriptdir): Base on tooldir, not datadir. 1993-06-28 19:23:35 +00:00
bf065bfd97 * ldver.c (help): New function.
* ldver.h: Declare it.
	* ldlex.l, ldgram.y: Recognize new options --help and --version.
1993-06-26 20:13:24 +00:00
304b747aad fix include path again 1993-06-22 03:42:59 +00:00
2b63dbfefd * .Sanitize (Things-to-keep): Add emulparams, emultempl, scripttempl. 1993-06-21 23:40:21 +00:00
e9b991c691 doc last change 1993-06-17 23:55:23 +00:00
2de8edce8f * ldgram.y: Tweak grammar to make reporting of invalid options work. 1993-06-17 22:55:38 +00:00
565c93e92a * Makefile.in (.cc.o): Restore .SUFFIXES entry for .cc
and .cc.o rule.
1993-06-17 21:34:11 +00:00
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
2a963f1a0e Makefile.in, aout.sc-sh, hp3hpux.sh changes 1993-06-16 03:07:27 +00:00
c97b9003b0 remove parentdir support; use INSTALL_XFORM 1993-06-16 00:03:44 +00:00