Commit graph

1632 commits

Author SHA1 Message Date
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
Ian Lance Taylor
83d11af170 * ld.texinfo (Options): Add a brief description of the types of
information included in a link map.
1998-01-28 20:40:03 +00:00
Doug Evans
75aacf7acb * configure.tgt (dvp-*-*): Recognize. 1998-01-28 20:29:04 +00:00
Doug Evans
9169104250 delete txvu stuff, building mips files now 1998-01-28 20:24:27 +00:00
Doug Evans
89f6754751 delete txvuelf.sh, generating mips files now 1998-01-28 20:17:41 +00:00
Ian Lance Taylor
f41751664d * ld.texinfo (Options): Mention LDEMULATION in description of -m.
(Environment): Mention LDEMULATION.
1998-01-28 19:45:48 +00:00
Ian Lance Taylor
5a59e34dd5 * ld.texinfo (Options): Clarify --export-dynamic a bit. 1998-01-28 19:12:51 +00:00
Richard Henderson
1361ffbd6b * ldlex.l (<SCRIPT>{WILDCHAR}*): Take care for the comments this
pattern could match.
1998-01-23 00:18:50 +00:00
Ian Lance Taylor
3d80840d8d * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): When doing
a relocateable link, set the image base to 0, and don't define the
	various symbols.
	* emulparams/i386pe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define.
	* scripttempl/pe.sc: Swap the .data and .bss sections so that
	.data comes first.  If doing a relocateable link, use
	RELOCATEABLE_OUTPUT_FORMAT if it is defined, and start the
	sections at 0, and don't define any symbols.
1998-01-22 05:02:50 +00:00
Ian Lance Taylor
d9dd8f2b2b * ldlang.c (lang_memory_default): Correct parenthisization of
expression.
1998-01-22 03:27:36 +00:00
Ian Lance Taylor
1bea23ac1e Wed Jan 21 21:20:32 1998 Manfred Hollstein <manfred@s-direktnet.de>
* emultempl/sunos.em: Don't include sys/types.h and sys/stat.h
	here; they are included already via sysdep.h.
1998-01-22 02:22:03 +00:00
Richard Henderson
b3521ecfeb * scripttempl/i960.sc: Don't explicitly set .data and .bss start
PR 13305
1998-01-06 13:48:36 +00:00