Commit Graph

1453 Commits

Author SHA1 Message Date
David Edelsohn
c57cd823b3 * emulparams/m32relf.sh (OTHER_RELOCATING_SECTIONS): Use PROVIDE
to define `_stack'.
1997-01-21 20:10:49 +00:00
Ian Lance Taylor
3391c0a53c * ld.h (args_type): Rename auxiliary_filter_shlib to
auxiliary_filters, and make it char **.
	* lexsup.c (parse_args): Handle -f by setting up an array.
	* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
	new name of auxiliary_filters.
1997-01-16 22:52:05 +00:00
Ian Lance Taylor
cc28f8fbe4 * ld.texinfo (Options): Improve documentation of --filter and
--auxiliary.
1997-01-16 22:08:23 +00:00
Angela Marie Thomas
6b01dc653b fix bugs 1997-01-16 10:50:58 +00:00
Ian Lance Taylor
f9c5c2313c * ld.texinfo (Commands): Clarify that the normal usage is -T. 1997-01-14 20:44:48 +00:00
Ian Lance Taylor
24bc58bc9a * scripttempl/armcoff.sc: Correct mask used for .data address.
PR 11442.
1997-01-09 19:26:56 +00:00
Geoffrey Noer
4ba1b439b3 Wed Jan 8 15:14:59 1997 Geoffrey Noer <noer@cygnus.com>
* emultempl/pe.em: make default executable a.exe instead of
        a.out
1997-01-08 23:16:53 +00:00
Ian Lance Taylor
6243aa7345 Fri Jan 3 17:33:34 1997 Richard Henderson <rth@tamu.edu>
* scripttempl/elf.sc: Move .got closer to .sdata and .sbss by
	shifting .plt back.  Rumour has it that the NetBSD ld.so depends
	on .dynamic being after .got, so we leave that.
1997-01-03 22:34:16 +00:00
Ian Lance Taylor
5e7127d7fe * Makefile.in (clean): Don't remove configdoc.texi.
(maintainer-clean): Do remove configdoc.texi.
1997-01-03 19:08:18 +00:00
Ian Lance Taylor
feb20cfb19 * ld.texinfo (Operators): Remove '@' from @smallexmple in comment
to avoid confusing texi2roff.
1997-01-03 19:05:34 +00:00
Michael Meissner
731828cb8b Add .{z,t}common and .tcommon_byte sections 1997-01-03 16:28:18 +00:00
Ian Lance Taylor
093427533c * configure.tgt (mips*el-*-linux*, mips*-*-linux*): New targets.
* scripttempl/elfmips.sc: Use __start as the entry address for
	mips*-*-linux*.
1997-01-02 23:15:34 +00:00
Ian Lance Taylor
6ded661565 * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. 1996-12-31 20:43:28 +00:00
Ian Lance Taylor
de220cbdb9 * ld.h (args_type): Add filter_shlib and auxiliary_filter_shlib
fields.
	* lexsup.c (parse_args): Recognize --auxiliary/-f and
	--filter/-F.
	* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
	Pass filter_shlib and auxiliary_filter_shlib to
	size_dynamic_sections.
	* ld.texinfo, ld.1: Document --filter/-F and --auxiliary/-f.
1996-12-31 19:50:29 +00:00
Ian Lance Taylor
781decaefd improve format 1996-12-31 19:12:03 +00:00
Michael Meissner
c43452b052 Add .tbyte and .tbss sections 1996-12-30 18:57:36 +00:00
Stan Shebs
7885e8b3c9 * mpw-make.sed: Use NewFolderRecursive for installation. 1996-12-19 19:46:32 +00:00
Michael Meissner
93f8f531b0 Make __{e,g}p correctly start relative to the beginning of the section; Cleanup 1996-12-13 20:37:35 +00:00
Jeff Law
10e31c750e * Makefile.in (emn10200.c): Add dependencies.
* configure.tgt: Handle mn10200.
        * emulparms/mn10200.sh: New file.

mn10200 linker.  Somehow I forgot to commit everything yesterday.
1996-12-13 17:27:19 +00:00
Ian Lance Taylor
d0d5edba84 * emultempl/gld960c.em: Include <ctype.h>.
(gld960_set_output_arch): Get the machine type from the -A option
	if there is one, rather than always using core.
PR 11255.
1996-12-12 22:06:51 +00:00
Jeff Law
9e258df329 * Makefile.in (emn10200.c): Add dependencies.
* configure.tgt: Handle mn10200.
        * emulparms/mn10200.sh: New file.
mn10200 support.
1996-12-12 19:05:06 +00:00
Ian Lance Taylor
c3f9e754b8 modify last patch 1996-12-05 23:34:59 +00:00
Ian Lance Taylor
12436407d1 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
use hold_rel unless SEC_ALLOC is set for the reloc section.
	(gld${EMULATION_NAME}_place_section): Only set hold_rel if
	SEC_ALLOC is set.
PR 11174.
1996-12-05 18:47:22 +00:00
Jason Merrill
264677bbe1 * scripttempl/{elfd10v.sc,elfmips.sc,elfppc.sc,v850.sc}: Likewise. 1996-11-27 11:29:23 +00:00
Jason Merrill
037f6a23de * scripttempl/elf.sc: Add the remaining DWARF sections. 1996-11-27 11:23:10 +00:00
Ian Lance Taylor
0e809bba05 * configure: Rebuild with autoconf 2.12. 1996-11-26 21:59:23 +00:00
Jeff Law
9e73a716d3 * emulparms/mn10300.sh: Remove bogus '_' prefix for
entry symbol and ctor/dtor stuff.
Getting c-torture tests to link
1996-11-25 16:59:47 +00:00
Ian Lance Taylor
57ed75f2a0 minor sanitization tweaks 1996-11-22 18:02:55 +00:00
Jeff Law
96e34542a1 * Makefile.in (emn10300.c): Add dependencies.
* configure.tgt: Handle mn10300.
        * emulparms/mn10300.sh: New file.
Skeleton support for the mn10300.  Matsushita.
1996-11-15 20:02:07 +00:00
Ian Lance Taylor
9fde46a42f * ld.texinfo: Add section on reporting bugs. 1996-11-01 19:54:52 +00:00
Ian Lance Taylor
e6b743a20a * scripttempl/m68kcoff.sc: Make sure the etext and __CTOR_LIST__
symbols are correctly aligned.
1996-11-01 18:01:57 +00:00
Stan Shebs
de61c9e1f3 Fix sanitization of D10V script template 1996-11-01 02:14:43 +00:00
Jeff Law
e740228de7 * scriptempl/v850.sc (zdata): Handle reszdata, romzdata and
romzbss too.
1996-10-31 16:45:02 +00:00
Martin Hunt
acaf1d19e6 Tue Oct 29 12:33:05 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* d10velf.sh: Changes needed for D10V-EVA board.
	Set TEXT_START_ADDR to 0x1000000. Set READONLY_START_ADDR to
	0x2000000.
1996-10-29 20:44:33 +00:00
Martin Hunt
2f19ce7814 Tue Oct 29 12:33:05 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* emulparams/d10velf.sh: Changes needed for D10V-EVA board.
	Set TEXT_START_ADDR to 0x1000000. Set READONLY_START_ADDR to
	0x2000000.

	* scripttempl/elfd10v.sc:  Fix calculation of .text.  Change
	.stack to start at 0x2007ffe.
1996-10-29 20:44:15 +00:00
Ian Lance Taylor
aa9b7dedc8 handle v850.sc 1996-10-28 23:48:06 +00:00
David Edelsohn
56f8bcd129 * configure.tgt (sparclet*-*-aout*): Delete, use sparc*-*-aout*. 1996-10-28 23:38:53 +00:00
Jeff Law
4ad9452c46 * scriptempl/v850.sc (zdata): Make sure this stays
in lo-memory.
zda testing.
1996-10-23 22:18:55 +00:00
Jeff Law
5549ebeda0 * scripttempl/v850.sc (__ep): Put it at the start
of the tda section.
v850.
1996-10-23 03:19:16 +00:00
Jeff Law
06c5b0fc96 * scriptempl/v850.sc: Move all "normal" sections into
the external memory region (0x100000 - 0x200000).
So plumhall works again (hopefully).
1996-10-22 17:45:57 +00:00
Michael Meissner
36cf21ce53 Make d10v .text start at 0x10000 1996-10-21 21:26:59 +00:00
David Edelsohn
e20f0dbd8d * emulparams/m32relf.sh (TEXT_START_ADDR): Change from 0 to 0x100. 1996-10-19 05:13:46 +00:00
Ian Lance Taylor
30bddd3369 * Makefile.in (ALL_EMULATIONS): Remove eelf64alpha.o.
(ALL_64_EMULATIONS): New variable.
	* configure.in: Accept --enable-64-bit-bfd option.  If it is set
	with --enable-targets=all, include ALL_64_EMULATIONS in
	EMULATION_OFILES.
	* configure: Rebuild.
1996-10-18 19:46:57 +00:00
Jeff Law
b502879f75 * scripttempl/v850.sc (__gp, __ep): Define. 1996-10-18 18:59:45 +00:00
Ian Lance Taylor
a5377d48db * ld.texinfo: Try to consistently use a single or a double dash
for each option.
1996-10-17 22:15:32 +00:00
Jeff Law
c23b6a6bc9 * scripttempl/v850.sc (.zdata): Add this before .text.
(.sdata): Also include .rosdata as part of the .sdata.
        (.tdata): Include this just before .sdata.
1996-10-17 20:48:42 +00:00
David Edelsohn
a5c1ebecc5 * emulparams/m32relf.sh (EMBEDDED): Define. 1996-10-17 17:19:52 +00:00
Jeff Law
2b8cd389ae * emulparms/v850.sh (SCRIPT_NAME): Use "v850" not "elf".
* scripttempl/v850.sc: Wrap script with a "cat << EOF".
Problems with last night's changes.
1996-10-17 16:58:31 +00:00
Jeff Law
d27d34c382 * scripttempl/v850.sc: New linker script for the V850.
* Makefile.in: Use it.
1996-10-17 05:10:52 +00:00
Ian Lance Taylor
f6f2b36e9b * emulparams/elf32b4300.sh: Define _gp in OTHER_GOT_SYMBOLS, not
OTHER_READWRITE_SECTIONS.
	* emulparams/elf32l4300.sh: Likewise.
1996-10-10 21:59:34 +00:00