Commit graph

1467 commits

Author SHA1 Message Date
Martin Hunt
232e870207 Fri Feb 21 17:37:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* Makefile.in (ed30velf.c): New target.
	* configure.tgt (d30v-*-*): New target.
	* emulparams/d30velf.sh: New file.
	* scripttempl/elfd30v.sc: New file.
1997-02-22 01:42:27 +00:00
Michael Meissner
c6c7035cfb Since d10v is public now, remove all sanitization statements 1997-02-20 16:05:18 +00:00
Ian Lance Taylor
e3e72ac561 Thu Feb 13 20:31:37 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* configure.in: Call BFD_NEED_DECLARATION on getenv.
	* acconfig.h (NEED_DECLARATION_GETENV): New macro.
	* sysdep.h (getenv): Declare if NEED_DECLARATION_GETENV.
	* ldemul.c (ld_emul_default_target): Do not cast getenv return
	value.
	* ldmain.c (get_emulation): Likewise.
	* configure, config.in: Rebuild.
1997-02-14 01:36:24 +00:00
Ian Lance Taylor
e7886d4ba1 * scripttempl/elfmips.sc: When relocating, put .mips16.fn.* and
.mips16.call.* in .text.
1997-02-11 20:34:57 +00:00
Gavin Romig-Koch
276c2d7dc8 Add r5900 1997-02-11 13:26:34 +00:00
Fred Fish
11effa691a * emulparams/tic80coff.sh: New (dummy) file for TIc80.
* scripttempl/tic80coff.sc: New (dummy) file for TIc80.
	* Makefile.in (etic80coff.c): Add target and rule to build it.
	* configure.tgt (tic80-*-coff): Set targ_emul to tic80coff.
1997-02-10 01:17:14 +00:00
Bob Manson
dfe6379731 Changes to replace references to "prune_system_crud" with
"prune_warnings".
1997-02-08 01:03:37 +00:00
Ian Lance Taylor
966be3480a * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Search for
".so" in the name, not ".so.".
	(gld${EMULATION_NAME}_search_dir): Accept a plain .so file.
1997-01-31 18:20:20 +00:00
Ian Lance Taylor
93d7eb0f03 * Makefile.in (ld.info): Add -I$(srcdir). From Alan Modra
<alan@spri.levels.unisa.edu.au>.
1997-01-31 18:18:02 +00:00
Ian Lance Taylor
e87b950c8e * emultempl/sunos.em: Include <ctype.h>.
(gld${EMULATION_NAME}_find_so): Skip the directory name when
	searching for ".so.".
	(gld${EMULATION_NAME}_search_dir): Make sure that the library name
	has a version number, and that only version numbers follow .so.
1997-01-30 16:33:36 +00:00
Geoffrey Noer
0fc327a3fb Wed Jan 29 18:15:00 1997 Geoffrey Noer <noer@cygnus.com>
* scripttempl/pe.sc:
        * scripttempl/ppcpe.sc: add *(.gcc_except_table) to the text
        section so Win32 executables are valid.
1997-01-30 02:17:37 +00:00
Bob Manson
787f622077 Major revision to testsuites for cross-testing and DOS testing support. 1997-01-29 09:40:31 +00:00
Ian Lance Taylor
f5f212fb56 * scripttempl/elf.sc: Put linkonce reloc section in other
appropriate reloc sections.
	* scripttempl/elfmips.sc: Add linkonce support.
	* scripttempl/elfppc.sc: Likewise.
1997-01-27 17:39:24 +00:00
Jeff Law
da1ba4b022 * emulparms/mn10200.sh (OTHER_RELOCATING_SECTIONS): Move the
stack up to 0x80000.
        * emulparms/mn10300.sh (OTHER_RELOCATING_SECTIONS): Likewise.
Because we're seeing .text for some of the plumhall tests which exceeds
0x40000 bytes on these machines.
1997-01-24 17:46:48 +00:00
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