Lines Matching refs:LD
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
1613 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
4120 # Check whether --with-gnu-ld was given.
4127 ac_prog=ld
4129 # Check if gcc -print-prog-name=ld gives a path.
4130 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4131 $as_echo_n "checking for ld used by $CC... " >&6; }
4135 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4137 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4143 # Canonicalize the pathname of ld
4148 test -z "$LD" && LD="$ac_prog"
4152 ac_prog=ld
4155 # If it is relative, then search for the first ld in PATH.
4160 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4161 $as_echo_n "checking for GNU ld... " >&6; }
4163 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4164 $as_echo_n "checking for non-GNU ld... " >&6; }
4169 if test -z "$LD"; then
4176 # Check to see if the program is GNU ld. I'd rather use --version,
4177 # but apparently some variants of GNU ld only accept -v.
4178 # Break only if it was the GNU/non-GNU ld that we prefer.
4191 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4195 LD="$lt_cv_path_LD"
4196 if test -n "$LD"; then
4197 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4198 $as_echo "$LD" >&6; }
4203 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4204 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4206 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4207 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4212 case `$LD -v 2>&1 </dev/null` in
4226 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4227 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4240 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4246 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4416 case $LD in
4560 LD="${LD-ld} -melf32bsmip"
4563 LD="${LD-ld} -melf32bmipn32"
4566 LD="${LD-ld} -melf64bmip"
4572 LD="${LD-ld} -32"
4575 LD="${LD-ld} -n32"
4578 LD="${LD-ld} -64"
4599 LD="${LD-ld} -m elf_i386_fbsd"
4602 LD="${LD-ld} -m elf_i386"
4605 LD="${LD-ld} -m elf32ppclinux"
4608 LD="${LD-ld} -m elf_s390"
4611 LD="${LD-ld} -m elf32_sparc"
4618 LD="${LD-ld} -m elf_x86_64_fbsd"
4621 LD="${LD-ld} -m elf_x86_64"
4624 LD="${LD-ld} -m elf64ppc"
4627 LD="${LD-ld} -m elf64_s390"
4630 LD="${LD-ld} -m elf64_sparc"
4726 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4728 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4729 LD="${LD-ld} -64"
7081 test -z "$LD" && LD=ld
7872 lt_prog_compiler_wl='-Qoption ld ';;
7879 lt_prog_compiler_wl='-Qoption ld '
8101 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8102 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8172 # If archive_cmds runs LD, not CC, wlarc should be empty
8175 # Set some defaults for GNU ld with shared library support. These
8181 # ancient GNU ld didn't support --whole-archive et. al.
8182 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8188 case `$LD -v 2>/dev/null` in
8196 # See if GNU ld supports shared libraries.
8229 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8248 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
8280 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8321 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8330 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
8342 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8351 LD -v 2>&1` in
8366 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8378 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8385 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8401 # PORTME fill in a description of your system's linker (not GNU ld)
8406 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8451 # When large executables or shared objects are built, AIX ld can
8660 # see comment about different semantics on the GNU ld section
8727 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8739 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8753 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8761 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8779 archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8795 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8862 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8872 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8874 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8882 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8890 if test -f /usr/libexec/ld.so; then
8901 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8929 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8942 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8944 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
8961 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8963 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8990 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9001 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9005 ## LD is ld it makes a PLAMLIB
9007 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9012 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9021 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9028 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9055 # ever link correctly. If we're not using GNU ld we use -z text
9078 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9109 # to ld, don't add -lc before -lgcc.
9169 dynamic_linker="$host_os ld.so"
9292 dynamic_linker="$host_os ld.so"
9305 # the default ld.so.conf also contains /usr/contrib/lib and
9364 dynamic_linker='Win32 ld.exe'
9503 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9528 case $LD in # libtool.m4 will add one of these switches to LD
9566 # Append ld.so.conf contents to the search path
9567 if test -f /etc/ld.so.conf; then
9568 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9572 # We used to test for /lib/ld.so.1 and disable shared libraries on
9578 dynamic_linker='GNU/Linux ld.so'
9588 dynamic_linker='NetBSD (a.out) ld.so'
9592 dynamic_linker='NetBSD ld.elf_so'
9647 dynamic_linker='OS/2 ld.exe'
10716 LD \
10886 LD=$lt_LD
11083 # If ld is used when linking, flag to hardcode \$libdir into
11324 lt_save_LD=$LD
11339 test -z "${LDCXX+set}" || LD=$LDCXX
11366 # Check whether --with-gnu-ld was given.
11373 ac_prog=ld
11375 # Check if gcc -print-prog-name=ld gives a path.
11376 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11377 $as_echo_n "checking for ld used by $CC... " >&6; }
11381 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11383 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11389 # Canonicalize the pathname of ld
11394 test -z "$LD" && LD="$ac_prog"
11398 ac_prog=ld
11401 # If it is relative, then search for the first ld in PATH.
11406 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
11407 $as_echo_n "checking for GNU ld... " >&6; }
11409 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11410 $as_echo_n "checking for non-GNU ld... " >&6; }
11415 if test -z "$LD"; then
11422 # Check to see if the program is GNU ld. I'd rather use --version,
11423 # but apparently some variants of GNU ld only accept -v.
11424 # Break only if it was the GNU/non-GNU ld that we prefer.
11437 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11441 LD="$lt_cv_path_LD"
11442 if test -n "$LD"; then
11443 { $as_echo "$as_me:$LINENO: result: $LD" >&5
11444 $as_echo "$LD" >&6; }
11449 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11450 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11452 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11453 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11458 case `$LD -v 2>&1 </dev/null` in
11473 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11474 # archiving commands below assume that GNU ld is being used.
11482 # If archive_cmds runs LD, not CC, wlarc should be empty
11487 # ancient GNU ld didn't support --whole-archive et. al.
11488 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11500 # linker, instead of GNU ld. If possible, this setting should
11518 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11519 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11555 # When large executables or shared objects are built, AIX ld can
11762 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11789 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11828 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11864 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12038 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12098 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12147 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12161 if test -f /usr/libexec/ld.so; then
12214 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12277 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12417 # ever link correctly. If we're not using GNU ld we use -z text
12477 LD_CXX="$LD"
12830 lt_prog_compiler_wl_CXX='-Qoption ld '
12880 lt_prog_compiler_wl_CXX='-Qoption ld '
13114 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13115 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13160 # to ld, don't add -lc before -lgcc.
13220 dynamic_linker="$host_os ld.so"
13292 dynamic_linker="$host_os ld.so"
13305 # the default ld.so.conf also contains /usr/contrib/lib and
13364 dynamic_linker='Win32 ld.exe'
13502 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13527 case $LD in # libtool.m4 will add one of these switches to LD
13565 # Append ld.so.conf contents to the search path
13566 if test -f /etc/ld.so.conf; then
13567 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13571 # We used to test for /lib/ld.so.1 and disable shared libraries on
13577 dynamic_linker='GNU/Linux ld.so'
13587 dynamic_linker='NetBSD (a.out) ld.so'
13591 dynamic_linker='NetBSD ld.elf_so'
13646 dynamic_linker='OS/2 ld.exe'
13965 LD=$lt_LD_CXX
14162 # If ld is used when linking, flag to hardcode \$libdir into
14240 LDCXX=$LD
14241 LD=$lt_save_LD
14381 LD_F77="$LD"
14572 lt_prog_compiler_wl_F77='-Qoption ld ';;
14579 lt_prog_compiler_wl_F77='-Qoption ld '
14801 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14802 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14872 # If archive_cmds runs LD, not CC, wlarc should be empty
14875 # Set some defaults for GNU ld with shared library support. These
14881 # ancient GNU ld didn't support --whole-archive et. al.
14882 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14888 case `$LD -v 2>/dev/null` in
14896 # See if GNU ld supports shared libraries.
14929 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14948 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14980 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15021 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15030 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15042 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15051 case `$LD -v 2>&1` in
15066 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15078 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15085 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15101 # PORTME fill in a description of your system's linker (not GNU ld)
15106 archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
15151 # When large executables or shared objects are built, AIX ld can
15340 # see comment about different semantics on the GNU ld section
15407 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15419 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15433 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15441 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15459 archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15475 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15542 archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15552 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15554 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15562 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15570 if test -f /usr/libexec/ld.so; then
15581 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15609 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15622 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15624 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15641 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15643 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15670 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15681 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15685 ## LD is ld it makes a PLAMLIB
15687 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15692 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15701 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15708 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15735 # ever link correctly. If we're not using GNU ld we use -z text
15758 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15789 # to ld, don't add -lc before -lgcc.
15849 dynamic_linker="$host_os ld.so"
15921 dynamic_linker="$host_os ld.so"
15934 # the default ld.so.conf also contains /usr/contrib/lib and
15993 dynamic_linker='Win32 ld.exe'
16131 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16156 case $LD in # libtool.m4 will add one of these switches to LD
16194 # Append ld.so.conf contents to the search path
16195 if test -f /etc/ld.so.conf; then
16196 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16200 # We used to test for /lib/ld.so.1 and disable shared libraries on
16206 dynamic_linker='GNU/Linux ld.so'
16216 dynamic_linker='NetBSD (a.out) ld.so'
16220 dynamic_linker='NetBSD ld.elf_so'
16275 dynamic_linker='OS/2 ld.exe'
16594 LD=$lt_LD_F77
16791 # If ld is used when linking, flag to hardcode \$libdir into
17181 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
17188 lt_prog_compiler_wl_GCJ='-Qoption ld '
17410 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17411 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17481 # If archive_cmds runs LD, not CC, wlarc should be empty
17484 # Set some defaults for GNU ld with shared library support. These
17490 # ancient GNU ld didn't support --whole-archive et. al.
17491 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17497 case `$LD -v 2>/dev/null` in
17505 # See if GNU ld supports shared libraries.
17538 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17557 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17589 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17630 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17639 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17651 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17660 case `$LD -v 2>&1` in
17675 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17687 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17694 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17710 # PORTME fill in a description of your system's linker (not GNU ld)
17715 archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17760 # When large executables or shared objects are built, AIX ld can
17969 # see comment about different semantics on the GNU ld section
18036 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18048 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18062 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18070 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18088 archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18104 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18171 archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18181 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18183 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18191 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18199 if test -f /usr/libexec/ld.so; then
18210 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18238 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18251 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18253 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
18270 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18272 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18299 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18310 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18314 ## LD is ld it makes a PLAMLIB
18316 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18321 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18330 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18337 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18364 # ever link correctly. If we're not using GNU ld we use -z text
18387 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18418 # to ld, don't add -lc before -lgcc.
18478 dynamic_linker="$host_os ld.so"
18550 dynamic_linker="$host_os ld.so"
18563 # the default ld.so.conf also contains /usr/contrib/lib and
18622 dynamic_linker='Win32 ld.exe'
18760 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18785 case $LD in # libtool.m4 will add one of these switches to LD
18823 # Append ld.so.conf contents to the search path
18824 if test -f /etc/ld.so.conf; then
18825 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18829 # We used to test for /lib/ld.so.1 and disable shared libraries on
18835 dynamic_linker='GNU/Linux ld.so'
18845 dynamic_linker='NetBSD (a.out) ld.so'
18849 dynamic_linker='NetBSD ld.elf_so'
18904 dynamic_linker='OS/2 ld.exe'
19223 LD=$lt_LD_GCJ
19420 # If ld is used when linking, flag to hardcode \$libdir into
19709 LD=$lt_LD_RC
19906 # If ld is used when linking, flag to hardcode \$libdir into
21354 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in