Daniel Jacobowitz
9c8ebd6a51
* Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.
...
* Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@.
(GENSCRIPTS): Add @use_sysroot@.
* Makefile.in: Regenerated.
* configure.host: Move setting of NATIVE_LIB_DIRS to...
* configure.tgt: ... here. Use ${target} instead of ${host}
for NATIVE_LIB_DIRS.
* configure.in: Add --with-sysroot.
* configure: Regenerated.
* genscripts.sh: Accept use_sysroot option. Set new variables
NATIVE and USE_LIBPATH. Prepend "=" to directory names if
$use_sysroot. Don't search $tool_lib if $use_sysroot.
* ldfile.c (ldfile_add_library_path): Handle leading '='.
* ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined.
(ld_sysroot): New variable.
(main): Initialize ld_sysroot.
* ldmain.h (ld_sysroot): New extern.
* emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of
searching $EMULATION_LIBPATH.
(gld${EMULATION_NAME}_add_sysroot): New function.
(gld${EMULATION_NAME}_check_ld_so_conf): Use it. Honor ld_sysroot.
(gld${EMULATION_NAME}_after_open): Likewise. Only search
environment variables if $NATIVE.
* ld.texinfo (Options): Mention "=" prefix in the description of -L.
* NEWS: Mention --with-sysroot.
* emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX
instead of setting LIB_PATH.
* emulparams/elf32ppc.sh: Likewise.
* emulparams/elf64_s390.sh: Likewise.
* emulparams/elf64_sparc.sh: Likewise.
* emulparams/elf64ppc.sh: Likewise.
* emulparams/elf_x86_64.sh: Likewise.
* emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH.
* emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH.
2003-01-06 16:14:01 +00:00
Nick Clifton
0bc4911d08
Add win32 library search path.
2002-12-18 16:56:19 +00:00
Alan Modra
08a1b063ad
* configure.host: Correct dynamic-linker for powerpc64 hosts.
2002-11-30 09:00:36 +00:00
David O'Brien
3b70b24ee4
2002-11-27 David O'Brien <obrien@FreeBSD.org>
...
* configure.host: Fix generic FreeBSD configuration entry.
2002-11-28 02:10:38 +00:00
Nick Clifton
2755afbaec
Remove romp target
2002-06-20 14:10:38 +00:00
Jeff Law
1abffd82ca
* configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
...
HOSTING_CRT0 and HOSTING_LIBS.
2002-06-06 06:45:54 +00:00
Alan Modra
eb3d6bb8dc
* genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
...
and $NATIVE_LIB_DIRS. Add $tool_lib before other libs.
(LIB_SEARCH_DIRS): No need to use "tr".
(COMPILE_IN): Only set for native targets.
* configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
* configure.tgt (powerpc*): Set tdir_*.
(powerpcle*): Correct targ_extra_emuls.
* emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
* emulparams/elf64ppc.sh (LIB_PATH): Likewise.
2002-05-22 08:44:53 +00:00
Matthew Green
c657a1f082
* ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
2002-04-07 13:57:53 +00:00
Alan Modra
6f12f4cad7
* configure.host: Set up for generic hosts first, then tweak as
...
necessary in more specific targets.
(HOSTING_LIBS): Include libgcc_eh.a if found.
2002-03-27 14:07:50 +00:00
Andreas Jaeger
97cb79ae08
* configure.host: Add rules for x86_64-*linux-gnu. Change
...
s390x-linux entry to use gcc to report configuration, replace gcc
with $CC in s390-linux
2001-12-19 19:58:28 +00:00
Alan Modra
1a3d33ce81
* configure.host: Move alpha*-*-linux-gnu* entry to generic
...
entries, and match *-*-linux*.
2001-10-23 05:49:02 +00:00
Alan Modra
3277f888eb
* configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
2001-06-06 12:11:23 +00:00
Alan Modra
c709b09623
s/linuxaout/linux*aout/, s/linuxoldld/linux*oldld/
2001-05-25 07:21:01 +00:00
Timothy Wall
41c4999810
Add ia64-*-aix* configuration.
2001-02-22 17:24:33 +00:00
David O'Brien
a842aceb48
2001-02-17 David O'Brien <obrien@FreeBSD.org>
...
* configure.host: Add a generic FreeBSD configuration entry such that
all [modern] FreeBSD systems on all platforms will look the same.
Approved by: Alan Modra <alan@linuxcare.com.au>
<Pine.LNX.4.21.0102172155140.30011-100000@front.linuxcare.com.au>
2001-02-18 02:17:24 +00:00
Nick Clifton
a85d7ed0f0
Add s390 support
2001-02-10 00:58:38 +00:00
Phil Blundell
350fdb00d3
Add support for cygwin libraries
2001-01-12 12:43:10 +00:00
Jim Wilson
99a4150f8b
Fix just added ia64-linux support to conform with others.
...
* configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
2000-05-02 00:58:51 +00:00
Jim Wilson
ebd6fc2935
Ld testsuite support for ia64-linux.
...
* configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
host "ia64-*-linux-gnu*".
2000-05-02 00:39:34 +00:00
Ian Lance Taylor
3558ff4cdb
2000-02-27 Loren J. Rittle <ljrittle@acm.org>
...
* configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
host "i[3456]86-*-freebsdelf*".
2000-02-28 04:31:30 +00:00
Ian Lance Taylor
d7498c1ee1
1999-10-27 Andreas Jaeger <aj@suse.de>
...
* ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
target "mips*-*-linux-gnu*".
1999-10-28 03:42:49 +00:00
Nick Clifton
1c56fb878f
Applied patch from Scott Bambrough <scottb@netwinder.org>:
...
Added HOSTING_CRT0, HOSTING_LIBS for target "arm*-*-linux-gnu*"
1999-09-06 09:51:16 +00:00
Andreas Schwab
cd5d26f264
* configure.host: Use ${CC} instead of gcc for finding compiler
...
related files.
1999-08-19 07:34:07 +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
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
Mark Mitchell
88659ef5b6
* configure.host: Set up HOSTING_CRT0 and HOSTING_LIBS for IRIX6.
1999-07-15 14:57:35 +00:00
Richard Henderson
252b5132c7
19990502 sourceware import
1999-05-03 07:29:11 +00:00