Commit graph

1424 commits

Author SHA1 Message Date
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
Ian Lance Taylor
458fc0567b * ld.h (ld_config_type): Add warn_section_align field.
* lexsup.c (OPTION_WARN_SECTION_ALIGN): Define.
	(ld_options): Add --warn-section-align.
	(parse_args): Handle --warn-section-align.
	* ldlang.c (lang_size_sections): If warn_section_align, warn if
	the start of a section changes due to alignment.
	* ld.texinfo, ld.1: Document --warn-section-align.
	* ld.texinfo: Change some single dashes to double dashes.
PR 10739.
1996-10-09 19:45:29 +00:00
Ian Lance Taylor
961d589322 * emultempl/pe.em (set_pe_subsystem): Record entry symbol for each
subsystem type.  Ifdef out os2 type.  Recognize a version number.
1996-10-09 18:37:57 +00:00
Ian Lance Taylor
d0d63887aa * emultempl/pe.em (set_pe_subsystem): When setting the subsystem
to windows, set the entry point.
1996-10-09 03:27:41 +00:00
Ian Lance Taylor
40d53fdf16 * Makefile.in (ldlex.c): Don't pass any options to $(LEX). 1996-10-08 16:07:50 +00:00
Ian Lance Taylor
4164f2d5ab * ld.texinfo (Options): Mention .so extensions for shared
libraries.
1996-10-07 21:30:26 +00:00
Jason Merrill
9193c60b55 Sun Oct 6 22:35:36 1996 Jason Merrill <jason@yorick.cygnus.com>
* scripttempl/elf{,mips,ppc}.sc: Add DWARF 2 sections.
1996-10-07 05:36:57 +00:00
Ian Lance Taylor
0063d3a106 * scripttempl/m68kcoff.sc: Only set the address of .text if
RELOCATING.
1996-10-04 22:49:57 +00:00
David Edelsohn
afb8f218ab * emulparams/sparcaout.sh ({BIG,LITTLE}_OUTPUT_FORMAT): Define.
* scripttempl/aout.sc ({BIG,LITTLE}_OUTPUT_FORMAT): Provide default.
	(OUTPUT_FORMAT): Support bi-endian targets.
1996-10-04 18:01:41 +00:00
Ian Lance Taylor
3fac4887a0 * fnmatch.h, fnmatch.c: Remove (now in libiberty).
* Makefile.in: Rebuild dependencies.
	(CFILES): Remove fnmatch.c.
	(HFILES): Remove fnmatch.h.
	(OFILES): Remove fnmatch.o.
1996-10-03 17:53:25 +00:00
Geoffrey Noer
417fe276e3 Wed Oct 2 23:45:25 1996 Geoffrey Noer <noer@cygnus.com>
* emultmpl/pe.em: increase size of stack reserve to 0x2000000
        (necessary in order to compile parse.c in gcc sources under NT)
1996-10-03 06:55:39 +00:00
Jason Molenda
bdec6bdb4b * Makefile.in (mostlyclean): Move config.log to distclean. 1996-10-03 06:40:32 +00:00
Ian Lance Taylor
30e23a1c92 * lexsup.c (ld_options): Fix typo in --rpath-link description.
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Suggest
	--rpath if a needed library is not found.
1996-10-02 18:50:32 +00:00
Ian Lance Taylor
b61364cc71 * ld.texinfo (Options): Give more detail on -l option.
PR 10418.
1996-10-01 22:53:38 +00:00
Ian Lance Taylor
4fc7ca82bf * scripttempl/elfmips.sc: Handle CREATE_SHLIB the same way that
elf.sc does, so that glibc works better.
1996-10-01 22:31:27 +00:00
Ian Lance Taylor
6e9efeaf72 Tue Oct 1 16:17:33 1996 Joel Sherrill <joel@oarcorp.com>
* configure.tgt (mips*-*-rtems*): New target, like mips*-*-elf*.
1996-10-01 20:19:05 +00:00
Ian Lance Taylor
3b1e54df46 * lib/ld.exp (default_ld_version): Fix for current version
printing.
1996-10-01 19:53:02 +00:00
Ian Lance Taylor
9cfdc91a9a * ldver.c (ld_program_version): New variable.
(ldversion): Use it.
	* ldver.h (ld_program_version): Declare.
	* lexsup.c (ld_options): Handle --dll-verbose like --verbose, not
	--version.  Change --version handling to match current GNU
	standards.
	(help): Print bug report address.
1996-10-01 19:53:01 +00:00
David Edelsohn
b02d4da4fe m32r support 1996-09-30 19:18:04 +00:00
David Edelsohn
79e9dc2010 * Makefile.in (em32relf.c): Add rule for.
* configure.tgt (m32r-*-*): Recognize.
	* emulparams/m32relf.sh: New file.
1996-09-30 19:16:26 +00:00
Stan Shebs
f7fa777d22 always keep pregenerated emulation file 1996-09-26 21:09:59 +00:00
Stan Shebs
0b2aef4d0e * mpw-make.sed: Add symbolic doublequoting to ldmain compile edit.
* mpw-config.in: Add mips-*-* case as mips-elf, and use more
	wildcards in matching.
	* mpw-emipself.c: New file, pregenerated mips elf emulation.
1996-09-26 21:09:23 +00:00
Ian Lance Taylor
4dfa884891 * configure.tgt: Add cases for MIPS 5000 like MIPS 4300. 1996-09-17 16:19:44 +00:00
Ian Lance Taylor
190de8a7a6 * scripttempl/armcoff.sc: Only define symbols if RELOCATING. Fix
syntax error on __end__ line.
1996-09-16 22:12:46 +00:00
Ian Lance Taylor
df6b92ed1b * scripttempl/armcoff.sc: For -N or -n, don't align .data. From
Chris Hadley <Christopher.Hadley@cl.cam.ac.uk>
1996-09-16 21:56:33 +00:00
Jeff Law
9d879ade50 * emulparms/v850.sh: Fix OTHER_RELOCATING_SECTIONS.
Something Mark noticed.
1996-09-16 04:09:17 +00:00
Mark Alexander
3e92569690 * emulparms/d10v.sh: Set OTHER_RELOCATING_SECTIONS to put
stack at top of simulator memory.
1996-09-15 17:41:13 +00:00
Ian Lance Taylor
deb2a14592 * ldlex.l (SYMBOLCHARN): Add $, _, and ~. 1996-09-13 19:50:50 +00:00
Ian Lance Taylor
8ae650ea07 * ldmain.c (get_emulation): Check for -mips4 like -mips1, et. al. 1996-09-12 03:34:28 +00:00
Ian Lance Taylor
ee0523d5c3 * ldlang.c (section_already_linked): Accept a lang_input_statement
as the PTR argument.  If the file is symbols only, discard all
	input sections.
	(ldlang_add_file): Pass entry to bfd_map_over_sections.
PR 10555.
1996-09-05 19:26:12 +00:00