Commit graph

75 commits

Author SHA1 Message Date
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
Nick Clifton
5c6bbab8fe document behaviour of dot inside sections. 1999-06-22 11:23:06 +00:00
Mark Mitchell
a8e53fb060 * scripttempl/elf.sc (WRITABLE_RODATA): New variable for
controlling whether or not .rodata is in the data segment or the
	text segment.
1999-06-21 13:11:05 +00:00
Nick Clifton
6f798e5c17 Add new command line switch --thumb-entry. 1999-06-21 03:30:32 +00:00
Richard Henderson
ba2be5816c H.J. Lu <hjl@gnu.org>
* configure.in (all_libpath): Accumulate across all enabled targets.
1999-06-20 17:43:44 +00:00
Richard Henderson
f97f730029 * emultempl/armelf.em: Watch EMULATION_LIBPATH instead of
DEFAULT_EMULATION.
        * emultempl/elf32.em: Likewise.
        * emultempl/sunos.em: Likewise.
1999-06-20 14:12:08 +00:00
Richard Henderson
3336653ad1 * Makefile.am (GENSCRIPTS): Pass EMULATION_LIBPATH, not EMUL.
* configure.in (all_emuls): Add targ_extra_libpath.
        (all_libpath, EMULATION_LIBPATH): Define.
        * configure.tgt (powerpc-*-linux-gnu*): Define targ_extra_libpath.
        * genscripts.sh (LIB_PATH): Define if emulation in EMULATION_LIBPATH.
1999-06-18 15:25:45 +00:00
Andreas Schwab
308b1ffded Fix use of @item vs. @itemx. 1999-06-14 01:40:26 +00:00
Ian Lance Taylor
2575273dcb mention --no-undefined 1999-06-13 19:25:57 +00:00
Ian Lance Taylor
277c9afe08 mention EXCLUDE_FILE 1999-06-13 10:20:50 +00:00
Ian Lance Taylor
197a7bfdca * ld-checks/asm.s: Use a symbol name for .lcomm.
* ld-checks/checks.exp: Use different names for the two tests.
	Don't add extra text when invoking fail.
1999-06-12 22:40:18 +00:00
Ian Lance Taylor
aa8804e46e This fixes ! to work as documented in a memory region attribute list.
From Thomas Zenker <thz@lennartz-electronic.de>:
	* ldgram.y (attributes_opt): Use attributes_list instead of NAME.
	(attributes_list, attributes_string): New nonterminals.
	* ldlang.c (lang_set_flags): Add invert parameter.  Don't handle
	'!'.
	* ldlang.c (lang_set_flags): Update declaration.
1999-06-12 21:24:56 +00:00
Ian Lance Taylor
2a275620b1 * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Don't add
entry_symbol as an undefined symbol when doing a relocateable
	link.  From <jeffdb@goodnet.com>.
1999-06-12 14:00:03 +00:00
Ian Lance Taylor
2641b0c9d8 1999-06-12 David O'Brien <obrien@freebsd.org>
* configure.tgt: (i[3456]86-*-freebsd*): Now defaults to ELF.
1999-06-12 13:18:26 +00:00
Ian Lance Taylor
99c262f8b0 * ld-scripts/phdrs.exp: Change target check from "*-*-linuxaout*"
to "*-*-linux*aout*".
	* ld-scripts/weak.exp: Likewise.
	* ld-shared/shared.exp: Likewise.  Simplify condition a bit.
1999-06-12 10:47:08 +00:00
Nick Clifton
f75692fe1a restore previous format of --help output 1999-06-09 05:35:55 +00:00
Andreas Schwab
2bdba6c9ec * ld-cdtest/cdtest-main.cc: Avoid `implicit int' warning.
* ld-shared/sh1.c: Fix typo.
1999-06-09 03:04:03 +00:00
Ian Lance Taylor
77e0b0efdb 1999-06-04 H.J. Lu <hjl@gnu.org>
* lib/ld-lib.exp (default_ld_nm): Clear nm_output first if
	necessary.
1999-06-04 20:49:14 +00:00
Nick Clifton
434d1125a3 Rename epoc-pe interworking function names to avoid a name space clash 1999-06-04 07:40:35 +00:00
Richard Henderson
e0a2c38a7b Update. 1999-06-03 03:26:53 +00:00