Commit Graph

94 Commits

Author SHA1 Message Date
Nick Clifton
0811443ae7 Fix typo in defintion of OUTPUT_FORMAT. 1999-08-11 09:21:38 +00:00
Ian Lance Taylor
9c9ef45f16 1999-08-09 Mark Elbrecht <snowball3@bigfoot.com>
* scripttempl/i386go32.sc: Handle g++ exception sections.
1999-08-10 03:07:46 +00:00
Ian Lance Taylor
10e80b4145 rebuild with patched automake 1999-08-09 20:22:04 +00:00
Ian Lance Taylor
b33b6e4569 1999-08-09 Jakub Jelinek <jj@ultra.linux.cz>
* ld-elfvers/vers.exp: Run tests on sparc*-*-linux*.
	* ld-shared/shared.exp: Likewise.
1999-08-09 14:49:32 +00:00
Ian Lance Taylor
fe9edd2275 From Wally Iimura <iimura@microunity.com>:
* ldlang.c (lang_size_sections): When checking whether an address
	is within a region, don't get confused by wrapping around at the
	end of the address space.
1999-08-09 06:14:09 +00:00
Ian Lance Taylor
667f51773f * ldlang.c (wild_doit): Update for renaming of SEC_SHORT to
SEC_SMALL_DATA.
1999-08-09 03:22:27 +00:00
Ian Lance Taylor
f4162f5cef * Makefile.am: Rename .dep* files to DEP*. Change DEP variable to
MKDEP.  Rebuild dependencies.
	* Makefile.in: Rebuild.
1999-08-08 17:37:50 +00:00
Ian Lance Taylor
ae97059cc1 1999-08-08 Jakub Jelinek <jj@ultra.linux.cz>
* configure.host (sparc-*-linux-gnu*): New host.
	(sparc64-*-linux-gnu*): New host.
1999-08-08 15:30:08 +00:00
Ian Lance Taylor
3d9f627799 * lexsup.c (is_num): Reindent.
(parse_args): Mention program name in error message.
1999-08-06 23:33:33 +00:00
Ian Lance Taylor
597e25914e * emultempl/ostring.sed: Rename from stringify.sed.
* emultempl/astring.sed: New file.
	* Makefile.am (stringify.sed): New target.
	(GEN_DEPENDS): Change $(srcdir)/emultempl/stringify.sed to
	stringify.sed.
	* configure.in: Define and substitute STRINGIFY.
	* emultempl/*.em: Use stringify.sed from build directory rather
	than source directory.
	* emultempl/elf32.em: Use stringify.sed rather than inline sed
	script.
	* emultempl/gld960.em, emultempl/gld960c.em: Likewise.
	* emultempl/hppaelf.em, emultempl/linux.em: Likewise.
	* emultempl/lnk960.em, emultempl/sunos.em: Likewise.
	* configure, Makefile.in: Rebuild.
1999-08-06 22:46:03 +00:00
Ian Lance Taylor
a7e78dae79 1999-08-05 Donn Terry <donn@interix.com>
* emulparams/i386pe.sh: Define ENTRY, SUBSYSTEM, and
	INITIAL_SYMBOL_CHAQR.
	* emulparams/i386pe_posix.sh: New file.
	* Makefile.am (YACC): If bison is not in the source tree, use
	@YACC@ rather than bison -y.
	(LEX): If flex is not in the source tree, use @LEX@ rather than
	flex.
	(ALL_EMULATIONS): Add ei386pe_posix.o.
	(ei386pe_posix.c): New target.
	* configure.tgt (i[3456]86-*-interix*): New target.
	* configure.host (i[3456]86-pc-interix*): New host.
	* Makefile.in: Rebuild.
1999-08-05 16:03:56 +00:00
Ian Lance Taylor
18069efc88 * emulparams/elf32ppc.sh (MAXPAGESIZE): Change to 0x10000.
* emulparams/elf32ppclinux.sh (MAXPAGESIZE): Likewise.
1999-08-03 16:47:16 +00:00
Ian Lance Taylor
f7cc0a4d91 1999-08-03 H.J. Lu <hjl@gnu.org>
* Makefile.am (ALL_EMULATIONS): Remove ego32.o.
	(ego32.c): Remove.
	* Makefile.in: Rebuild.
1999-08-03 15:34:40 +00:00
Nick Clifton
38e31547d1 Notice multlib switches. 1999-07-28 08:18:22 +00:00
Nick Clifton
5fa803d337 Philip Blundell <pb@nexus.co.uk>
* emulparams/armelf_linux26.sh (DATA_START_SYMBOLS): Define.
	(OTHER_BSS_SYMBOLS, OTHER_BSS_END_SYMBOLS): Likewise.
	* emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Define.

	* configure.tgt (arm*-*-uclinux*, thumb-*-uclinux*,
	thumb-*-linux-gnu*): New targets.
1999-07-22 12:51:45 +00:00
Ian Lance Taylor
5a1bd109d4 1999-07-21 Mark Elbrecht <snowball3@bigfoot.com>
* scripttempl/i386go32.sc: Add handling of linkonce sections.
1999-07-22 01:42:27 +00:00
Ian Lance Taylor
b4089fdd75 1999-07-21 Mark Elbrecht <snowball3@bigfoot.com>
* emulparams/go32.sh: Remove; obsolete.
	* scripttempl/go32coff.sc: Remove; obsolete.
1999-07-22 01:25:10 +00:00
Ian Lance Taylor
8f36e47c10 From Mark Elbrecht:
* configure.bat: Remove; obsolete.
1999-07-22 01:16:49 +00:00
Ian Lance Taylor
41d390a7ac 1999-07-21 H.J. Lu <hjl@gnu.org>
* configure.tgt (mips*el-*-vxworks*): New target.

1999-07-21  Brad M. Garcia  <bgarcia@fore.com>

	* configure.tgt (i[3456]86-*-vxworks*): New target.
1999-07-22 00:49:09 +00:00
Ian Lance Taylor
0cd9f5f03b 1999-07-21 H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers1.c: Add missing prototypes and include
	<stdio.h> if necessary.
	* ld-elfvers/vers15.c: Likewise.
	* ld-elfvers/vers19.c: Likewise.
	* ld-elfvers/vers2.c: Likewise.
	* ld-elfvers/vers3.c: Likewise.
	* ld-elfvers/vers4.c: Likewise.
	* ld-elfvers/vers6.c: Likewise.
	* ld-elfvers/vers7.c: Likewise.
	* ld-elfvers/vers9.c: Likewise.
	* ld-shared/main.c: Likewise.
	* ld-srec/sr3.cc (Foo::Foo): Remove arg name.
1999-07-22 00:40:34 +00:00
Doug Evans
7c83b342ee * ldlang.c (lang_gc_sections): Only handle the start symbol
specially if there is one.
1999-07-20 22:27:31 +00:00
Mark Mitchell
0ca638235f * emulparams/elf32bmipn32.sh (OTHER_RELOCATING_SECTIONS): Add
.MIPS.events and .MIPS.content handling.
	* emulparams/elf64bmip.sh (OTHER_RELOCATING_SECTIONS): Likewise.
1999-07-19 20:21:52 +00:00
Nick Clifton
e50d80767c Improve selection of output format 1999-07-19 14:57:03 +00:00
Richard Henderson
e76d716a43 * emulparams/elf64_sparc.sh: Add 64-bit directories to native LIB_PATH. 1999-07-16 21:43:43 +00:00
Mark Mitchell
d49560a9c3 * ld-undefined/undefined.exp: XFAIL on IRIX6 for the usual as
with other DWARF2 targets.
1999-07-15 17:02:34 +00:00
Mark Mitchell
88659ef5b6 * configure.host: Set up HOSTING_CRT0 and HOSTING_LIBS for IRIX6. 1999-07-15 14:57:35 +00:00
Ian Lance Taylor
2844ed430f * configure.in: Bump version number to 2.9.5.
* configure: Rebuild.
1999-07-15 12:09:55 +00:00
Richard Henderson
0eaf982050 Update 1999-07-14 16:46:20 +00:00
Richard Henderson
9e4141bc7b * scripttempl/elf.sc: Re-order .rel[a].foo outputs to the
same order seen for the main sections.  Add
        OTHER_READONLY_RELOC_SECTIONS and OTHER_GOT_RELOC_SECTIONS.
1999-07-14 16:45:54 +00:00
Richard Henderson
9e41f97317 * ldlang.c (wild_doit): Copy SEC_SHORT to output section. 1999-07-14 16:45:13 +00:00
Nick Clifton
5dcf458ac4 Remove xfails for arm toolchains. 1999-07-13 09:25:10 +00:00
Andreas Schwab
49bdcdba9f * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Fill in
structure initializations.
1999-07-12 08:31:34 +00:00
Andreas Schwab
5d341b0e2a * emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Add missing
comma in initializer.
1999-07-12 06:24:03 +00:00
Ian Lance Taylor
87f2a3464b * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
as appropriate.  Fill in structure initializations.
1999-07-11 20:09:04 +00:00
Ian Lance Taylor
b90d114661 * ldfile.c: Revert patch of 1999-07-08.
(ldfile_try_open_bfd): If we are searching for the file, skip
	files with an incompatible architecture.
1999-07-09 22:52:05 +00:00
Ian Lance Taylor
734caf4d9f * ld-elfvers/vers.exp: Use -rpath in new vers19 test. 1999-07-09 22:45:24 +00:00
Nick Clifton
6da0974a11 Include big endian and little endian formats in OUTPUT_FORMAT directive. 1999-07-09 08:12:48 +00:00
Nick Clifton
7a2746396a Applied patch from Felix Lee <flee@cygnus.com>:
Fix quoting problem, for bash 2.x
1999-07-09 03:27:25 +00:00
Richard Henderson
99f8f232c6 Jakub Jelinek <jj@ultra.linux.cz>
* ldfile.c (ldfile_open_file_search): Skip libraries made for
        incompatible architectures in the search path. Let the user know
        about any such skips.
1999-07-08 16:50:53 +00:00
Jeff Law
5c61c5ab19 * configure.tgt (hppa*-linux-gnu*): New target. 1999-07-08 11:38:48 +00:00
Mark Mitchell
22c675a780 * Makefile.am (ALL_64_EMULATIONS): Add eelf64bmip.
(eelf64bmip): New target.
	* Makefile.in: Regenerated.
	* configure.tgt (mips-sgi-irix6*): Add 64-bit emulation.
	* emulparams/elf64bmip.sh: New file.
1999-07-08 00:22:51 +00:00
Ian Lance Taylor
f04894943e * ld-elfvers/vers.exp: Add new tests vers17 to vers19.
* ld/elfvers/{vers17.*, vers18.*, vers19.*}: New files.
1999-07-07 15:36:29 +00:00
Nick Clifton
f11523b013 Abort if input format is ARM and output format is not 1999-07-05 07:51:39 +00:00
Ian Lance Taylor
39e878bf53 x 1999-07-02 07:46:15 +00:00
Ian Lance Taylor
e361c369df * ldlang.c: Revert change of 1999-06-23. 1999-07-02 07:45:31 +00:00
Ian Lance Taylor
85f7047147 rebuild 1999-07-02 07:18:40 +00:00
Mark Mitchell
dc83197880 * Makefile.am (ALL_EMULATIONS): Add eelf32bmipn32.o.
(eelf32bmipn32.c): New target.
	* Makefile.in: Regenerated.
	* configure.tgt (mips-sgi-irix6*): Make n32 the default
	emulation.
	* emulparams/elf32bmipn32.sh: New file.
1999-06-30 21:00:10 +00:00
Nick Clifton
a0290afa96 Patch from: Jim Pick <jim@jimpick.com>
Added code so that .xs linker scripts are called so that ARM shared libraries
are built correctly.
  CVS: ----------------------------------------------------------------------
1999-06-29 02:45:00 +00:00
Mark Mitchell
3dbf70a218 * ldmain.c (main): Initialize link_info.init_function and
link_info.fini_function.
	* lexsup.c (OPTION_INIT): New macro.
	(OPTION_FINI): Likewise.
	(ld_options): Add descriptions for them.
	(parse_args): Handle them.
1999-06-23 11:09:30 +00:00
Ian Lance Taylor
7b9eea348f * ldlang.c (section_already_linked): Only discard link once
sections if we are building constructors.
1999-06-22 21:13:24 +00:00