Commit Graph

1643 Commits

Author SHA1 Message Date
Ian Lance Taylor 36a8f215e7 * ld.texinfo (Simple Example): Rewrite a few things as suggested
by Nick Clifton <nickc@cygnus.com>.
	(PROVIDE): Likewise.
1998-04-22 03:55:41 +00:00
Nick Clifton 5de921b816 Changes to conform to BFD coding conventions. 1998-04-21 16:59:22 +00:00
Richard Henderson 79cee2b768 * ldlang.c (lang_one_common): Manipulate the section's cooked size
rather than its raw size.

pr 15650
1998-04-19 01:41:34 +00:00
Ian Lance Taylor 55ca0ccbb6 Tue Apr 7 13:35:29 1998 H.J. Lu <hjl@gnu.org>
* configure.in (TESTBFDLIB): New.  Defined and substituted.
	* Makefile.am (TESTBFDLIB): Changed to @TESTBFDLIB@.
	* configure, Makefile.in: Rebuild.
1998-04-07 17:37:33 +00:00
Ian Lance Taylor 83a33a21ad * Makefile.am (ld.info): Invoke makeinfo with -I options directly
rather than relying on default rule.  Don't depend upon
	bfdsumm.texi.
	(ld.dvi): Likewise.
	(bfdsumm.texi): Remove target.
	(CLEANFILES): Take bfdsumm.texi out of value.
	* Makefile.in: Rebuild.
1998-04-06 19:35:06 +00:00
Ian Lance Taylor 2a08e1decb * scripttempl/pe.sc: Use shell variables to avoid depending upon
how $ is handled when expanding a shell substitution.
1998-04-05 17:08:58 +00:00
Ian Lance Taylor 193bbe8581 * Makefile.am (MOSTLYCLEANFILES): Add ld.log and ld.sum.
(DISTCLEANFILES): Add site.exp and site.bak.
	* Makefile.in: Rebuild.
1998-04-03 19:48:22 +00:00
Ian Lance Taylor 3c68cb41f4 x 1998-04-03 18:32:10 +00:00
Ian Lance Taylor 03abc2bd65 * configure.in: Put the tdirs in a file and use AC_SUBST_FILE,
rather than in a shell variable and using AC_SUBST.
	* Makefile.am (DISTCLEANFILES): Remove ldscripts.  Add tdirs.
 	(distclean-local): New target.
	* configure, Makefile.in: Rebuild.
1998-04-03 18:30:15 +00:00
Ian Lance Taylor ed1cc83df2 tweak 1998-04-03 18:04:12 +00:00
Ian Lance Taylor f8cf2baa85 tweak 1998-04-03 17:55:04 +00:00
Ian Lance Taylor af54556ad3 * ld.texinfo: Completely rewrite linker script documentation. 1998-04-03 05:57:33 +00:00
Ian Lance Taylor 0d3e84dd92 * configure.in: Set version to 2.9.1.
* configure: Rebuild.
1998-03-30 22:56:58 +00:00
Ian Lance Taylor 437a04cb40 * Makefile.am (MOSTLYCLEANFILES): Remove tmpdir.
(mostlyclean-local): New target to remove tmpdir.
	* Makefile.in: Rebuild.
1998-03-28 22:17:43 +00:00
Ian Lance Taylor 26c61946fb Fix some gcc -Wall warnings:
* ldcref.c (output_cref): Add casts to avoid warnings.
	* ldfile.c (ldfile_add_arch): Likewise.
	* ldlang.c (lang_leave_overlay_section): Likewise.
	* lexsup.c (OPTION_COUNT): Likewise.
	(parse_args): Likewise.
	* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan):
	Likewise.
	* emultempl/sunos.em (gld${EMULATION_NAME}_search_dir): Likewise.
	* ldlang.c (lang_check): Initialize variables to avoid warnings.
	* ldwrite.c (build_link_order): Likewise.
	* emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Likewise.
	* emultempl/armcoff.em (gld${EMULATION_NAME}_before_allocation):
	Remove unused variables.
1998-03-28 21:54:33 +00:00
Ian Lance Taylor 3697773065 * Makefile.am (MOSTLYCLEANFILES): Correct name (was
MOSTCLEANFILES).
	* Makefile.in: Rebuild.
1998-03-28 21:54:11 +00:00
Ian Lance Taylor c8e8b829fe * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Put
ARM code inside ifdef TARGET_IS_armpe.
1998-03-27 21:40:06 +00:00
Nick Clifton 3535c3c044 Add interworking support for arm-pe/thumb-pe targets. 1998-03-26 00:00:54 +00:00
Ian Lance Taylor 51b9a79bdd Based on patch from H.J. Lu <hjl@gnu.org>:
* Makefile.am (LDDISTSTUFF): New variable.
	(diststuff): New target.
	* Makefile.in: Rebuild.
1998-03-25 17:48:56 +00:00
Ian Lance Taylor 9216fffaef * scripttempl/pe.sc: Only include .idata\$[0-7] in .idata when
relocating.
1998-03-25 16:35:13 +00:00
Ian Lance Taylor a096e9b7aa Mon Mar 23 18:54:15 1998 Joel Sherrill <joel@OARcorp.com>
* configure.tgt: (sh*-*-rtems*): Switched from ELF to COFF.
1998-03-23 23:56:06 +00:00
Geoffrey Noer 155d9cc48a Thu Mar 19 14:54:45 1998 Geoffrey Noer <noer@cygnus.com>
* scripttempl/pe.sc: The Cygwin32 library uses a .data$nocopy
        section to avoid copying certain data on fork.  The linker used to
        include this between __data_start__ and __data_end__, but that
        breaks building the cygwin32 dll.  The fix is to rename the
        section ".data_cygwin_nocopy" and explictly include it after
        __data_end__.
1998-03-19 23:04:54 +00:00
Nick Clifton c21f1da31c Add thumb-pe target. 1998-03-18 17:42:51 +00:00
Gavin Romig-Koch 7cdb3e273a * configure.tgt (mips*vr4320el-*-elf*,mips*vr4320-*-elf*): Added. 1998-03-03 16:20:17 +00:00
Michael Meissner 3a0d0c15e7 Fix setting memory from default attributes 1998-03-03 00:35:48 +00:00
Michael Meissner e08a28c456 Add eit_vb section support 1998-02-27 19:22:13 +00:00
Ian Lance Taylor fc96bc860d * emultempl/pe.em (sort_sections): Permit the wildcard to include
a trailing '*' when sorting grouped sections.
	* scripttempl/pe.sc: Include grouped sections using NAME\$*.  Only
	include them when relocating.
1998-02-23 22:48:20 +00:00
Ian Lance Taylor 38c82baf63 fix 5900 in Makefile.am 1998-02-16 17:25:52 +00:00
Ian Lance Taylor 71468d841e * scripttempl/elf.sc: Align the _end symbol according to the ELF
format size.  From Gordon W. Ross <gwr@mc.com>.
1998-02-13 00:00:55 +00:00
Ian Lance Taylor c5eea47348 NetBSD patches from Gordon W. Ross <gwr@mc.com>:
* configure.host (alpha*-*-netbsd*): New host.
	* configure.tgt (alpha*-*-netbsd*, powerpc-*-netbsd*): New
	targets.
1998-02-12 23:14:33 +00:00
Ian Lance Taylor b95ad8c8e7 * lexsup.c (help): Update bug-gnu-utils address.
* ld.texinfo (Bug Reporting): Likewise.
1998-02-12 19:12:02 +00:00
Ian Lance Taylor 2ff0401240 Tue Feb 10 16:17:20 1998 H.J. Lu <hjl@gnu.org>
* ldlex.l (V_IDENTIFIER): Allow '.' as symbol prefix.
1998-02-10 21:20:02 +00:00
Ian Lance Taylor 7d620e23ed * Makefile.am (Makefile): Add target, for dependencies on
configure.host and configure.tgt.
	* configure.host, configure.tgt: Change -linux* to -linux-gnu*.
	* Makefile.in: Rebuild.
1998-02-10 20:11:30 +00:00
Jeff Law bd8a4ea444 * Makefile.in (ALL_EMULATIONS): Add eelf32l5900.o
(eelf32l5900.c): Add rule for building.
        * configure.tgt: Use r5900 specific emulation script.
        * emulparams/elf32l5900.sh: 5900 specific emulation script.
1998-02-10 18:52:26 +00:00
Andrew Cagney 5587208852 D10v memory map changed, update. 1998-02-10 06:45:51 +00:00
Ian Lance Taylor 641146fe3f * configure, aclocal.m4: Rebuild with new libtool. 1998-02-07 20:43:38 +00:00
Ian Lance Taylor 5bd5a5c7a2 * scripttempl/pe.sc: Remove ${RELOCATING-0} from all sections.
From Thomas de Lellis <tdel@wrs.com>.
1998-02-05 20:40:06 +00:00
Ian Lance Taylor 12e0afe57b * configure, Makefile.in, aclocal.m4: Rebuild with new libtool. 1998-02-05 17:24:24 +00:00
Ian Lance Taylor ab1f47c0c9 * Makefile.am (ld_new_LDADD): Remove @LEXLIB@.
* Makefile.in: Rebuild.
1998-02-04 18:03:14 +00:00
Ian Lance Taylor cdf91fe451 Mon Feb 2 19:34:54 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
Add tms320c30 support:
	* configure.tgt (tic30-*-*aout*, tic30-*-*coff*): New targets.
	* emulparams/tic30aout.sh: New file.
	* emulparams/tic30coff.sh: New file.
	* scripttempl/tic30aout.sc: New file.
	* scripttempl/tic30coff.sc: New file.
	* Makefile.am (ALL_EMULATIONS): Add etic30aout.o and
	etic30coff.o.
	(etic30aout.c, etic30coff.c): New targets.
	* Makefile.in: Rebuild.
1998-02-03 00:37:20 +00:00
Ian Lance Taylor f3d26cc56a * ld-scripts/phdrs.exp: Adjust phdrs_regexp for a 64 bit target. 1998-02-02 19:18:42 +00:00
Ian Lance Taylor 49d579a06c * configure.host: Correct HOSTING_CRT0 in alpha*-*-linux* case to
accept either ld.so or ld-linux.so.
1998-02-02 19:14:33 +00:00
Doug Evans ca7f5c98bd * Makefile.am ({CC,CXX}_FOR_TARGET): Change program_transform_name
to transform.
	* Makefile.in: Regenerate.
1998-01-31 03:22:45 +00:00
Ian Lance Taylor 93ed82b0c7 Fri Jan 30 19:15:17 1998 Geoff Keating <geoffk@ozemail.com.au>
* scripttempl/elfppc.sc: Put .dynsbss in .sbss.
1998-01-31 00:16:44 +00:00
Ian Lance Taylor 532fe3e58e Fri Jan 30 11:43:49 1998 H.J. Lu <hjl@gnu.ai.mit.edu>
* Makefile.am (eelf32bsmip.c, eelf32lsmip.c): New targets.
	* Makefile.in: Rebuild.
1998-01-30 16:46:05 +00:00
Ian Lance Taylor 2eda9a2aa7 Thu Jan 29 16:04:21 1998 Mumit Khan <khan@xraylith.wisc.edu>
* ldfile.c (slash): Set to backslash if _WIN32 but not
	__CYGWIN32__.
	(ldfile_open_file_search): If __MSDOS__ or _WIN32, accept a
	leading backslash or a leading x: as an absolute path.
	(ldfile_find_command_file): Use slash rather than / when
	generating name to try.
	* lexsup.c (PATH_SEPARATOR): Define.
	(set_default_dirlist): Use PATH_SEPARATOR rather than ':'.
1998-01-29 21:11:10 +00:00
Richard Henderson eafda179b5 * emulparams/elf64_sparc.sh (ELFSIZE): 64
(TEXT_START_ADDR): Round off, since SIZEOF_HEADERS is added later.
(DATA_PLT): Needed by v9 abi.
1998-01-28 22:17:48 +00:00
Ian Lance Taylor 10102e8c61 spacing fix 1998-01-28 21:44:36 +00:00
Ian Lance Taylor a1ccffb2f4 Wed Jan 28 16:37:27 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
* configure.tgt (i[3456]86-*-mingw32*): New entry.
1998-01-28 21:40:52 +00:00
Ian Lance Taylor d415414e92 * scripttempl/elf.sc: Only include linkonce sections in final
sections when relocating.
1998-01-28 20:53:22 +00:00