Lines Matching refs:LD
1065 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
3319 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3326 ac_prog=ld
3328 # Check if gcc -print-prog-name=ld gives a path.
3329 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3330 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3334 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3336 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3342 # Canonicalize the pathname of ld
3347 test -z "$LD" && LD="$ac_prog"
3351 ac_prog=ld
3354 # If it is relative, then search for the first ld in PATH.
3359 echo "$as_me:$LINENO: checking for GNU ld" >&5
3360 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3362 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3363 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3368 if test -z "$LD"; then
3375 # Check to see if the program is GNU ld. I'd rather use --version,
3376 # but apparently some variants of GNU ld only accept -v.
3377 # Break only if it was the GNU/non-GNU ld that we prefer.
3390 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3394 LD="$lt_cv_path_LD"
3395 if test -n "$LD"; then
3396 echo "$as_me:$LINENO: result: $LD" >&5
3397 echo "${ECHO_T}$LD" >&6
3402 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3403 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3405 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3406 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3411 case `$LD -v 2>&1 </dev/null` in
3425 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3426 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3439 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3445 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3609 case $LD in
3749 LD="${LD-ld} -melf32bsmip"
3752 LD="${LD-ld} -melf32bmipn32"
3755 LD="${LD-ld} -melf64bmip"
3761 LD="${LD-ld} -32"
3764 LD="${LD-ld} -n32"
3767 LD="${LD-ld} -64"
3787 LD="${LD-ld} -m elf_i386"
3790 LD="${LD-ld} -m elf32ppclinux"
3793 LD="${LD-ld} -m elf_s390"
3796 LD="${LD-ld} -m elf32_sparc"
3803 LD="${LD-ld} -m elf_x86_64"
3806 LD="${LD-ld} -m elf64ppc"
3809 LD="${LD-ld} -m elf64_s390"
3812 LD="${LD-ld} -m elf64_sparc"
3907 yes*) LD="${LD-ld} -m elf64_sparc" ;;
3908 *) LD="${LD-ld} -64" ;;
6136 test -z "$LD" && LD=ld
6597 lt_prog_compiler_wl='-Qoption ld ';;
6604 lt_prog_compiler_wl='-Qoption ld '
6826 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6827 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6896 # If archive_cmds runs LD, not CC, wlarc should be empty
6899 # Set some defaults for GNU ld with shared library support. These
6905 # ancient GNU ld didn't support --whole-archive et. al.
6906 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6912 case `$LD -v 2>/dev/null` in
6920 # See if GNU ld supports shared libraries.
6953 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6972 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7004 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7036 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7045 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7057 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7066 case `$LD -v 2>&1` in
7081 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7093 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7100 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7116 # PORTME fill in a description of your system's linker (not GNU ld)
7121 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'
7166 # When large executables or shared objects are built, AIX ld can
7357 # see comment about different semantics on the GNU ld section
7416 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7425 # Don't fix this by using the ld
7437 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7451 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7459 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7477 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'
7493 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7560 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'
7570 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7572 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7580 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7598 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7623 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'
7636 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'
7638 $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'
7655 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7657 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7666 # without $wl, iff we do not link with $LD.
7685 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7696 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7700 ## LD is ld it makes a PLAMLIB
7702 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7707 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7716 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7723 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7750 # ever link correctly. If we're not using GNU ld we use -z text
7773 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7804 # to ld, don't add -lc before -lgcc.
7864 dynamic_linker="$host_os ld.so"
7949 dynamic_linker="$host_os ld.so"
7962 # the default ld.so.conf also contains /usr/contrib/lib and
8021 dynamic_linker='Win32 ld.exe'
8067 dynamic_linker='GNU ld.so'
8176 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8201 case $LD in # libtool.m4 will add one of these switches to LD
8260 # Append ld.so.conf contents to the search path
8261 if test -f /etc/ld.so.conf; then
8262 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8266 # We used to test for /lib/ld.so.1 and disable shared libraries on
8272 dynamic_linker='GNU/Linux ld.so'
8284 dynamic_linker='GNU ld.so'
8294 dynamic_linker='NetBSD (a.out) ld.so'
8298 dynamic_linker='NetBSD ld.elf_so'
8353 dynamic_linker='OS/2 ld.exe'
9407 LD \
9578 LD=$lt_LD
9771 # If ld is used when linking, flag to hardcode \$libdir into
10011 lt_save_LD=$LD
10026 test -z "${LDCXX+set}" || LD=$LDCXX
10053 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10060 ac_prog=ld
10062 # Check if gcc -print-prog-name=ld gives a path.
10063 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10064 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10068 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10070 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10076 # Canonicalize the pathname of ld
10081 test -z "$LD" && LD="$ac_prog"
10085 ac_prog=ld
10088 # If it is relative, then search for the first ld in PATH.
10093 echo "$as_me:$LINENO: checking for GNU ld" >&5
10094 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10096 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10097 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10102 if test -z "$LD"; then
10109 # Check to see if the program is GNU ld. I'd rather use --version,
10110 # but apparently some variants of GNU ld only accept -v.
10111 # Break only if it was the GNU/non-GNU ld that we prefer.
10124 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10128 LD="$lt_cv_path_LD"
10129 if test -n "$LD"; then
10130 echo "$as_me:$LINENO: result: $LD" >&5
10131 echo "${ECHO_T}$LD" >&6
10136 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10137 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10139 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10140 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10145 case `$LD -v 2>&1 </dev/null` in
10160 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10161 # archiving commands below assume that GNU ld is being used.
10169 # If archive_cmds runs LD, not CC, wlarc should be empty
10174 # ancient GNU ld didn't support --whole-archive et. al.
10175 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10187 # linker, instead of GNU ld. If possible, this setting should
10205 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10206 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10242 # When large executables or shared objects are built, AIX ld can
10431 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10458 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10512 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10525 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10561 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10737 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'
10797 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'
10823 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10886 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'
10949 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'
11088 # ever link correctly. If we're not using GNU ld we use -z text
11148 LD_CXX="$LD"
11505 lt_prog_compiler_wl_CXX='-Qoption ld '
11739 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11740 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11784 # to ld, don't add -lc before -lgcc.
11844 dynamic_linker="$host_os ld.so"
11929 dynamic_linker="$host_os ld.so"
11942 # the default ld.so.conf also contains /usr/contrib/lib and
12001 dynamic_linker='Win32 ld.exe'
12047 dynamic_linker='GNU ld.so'
12156 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12181 case $LD in # libtool.m4 will add one of these switches to LD
12240 # Append ld.so.conf contents to the search path
12241 if test -f /etc/ld.so.conf; then
12242 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12246 # We used to test for /lib/ld.so.1 and disable shared libraries on
12252 dynamic_linker='GNU/Linux ld.so'
12264 dynamic_linker='GNU ld.so'
12274 dynamic_linker='NetBSD (a.out) ld.so'
12278 dynamic_linker='NetBSD ld.elf_so'
12333 dynamic_linker='OS/2 ld.exe'
12634 LD=$lt_LD_CXX
12827 # If ld is used when linking, flag to hardcode \$libdir into
12905 LDCXX=$LD
12906 LD=$lt_save_LD
13039 LD_F77="$LD"
13208 lt_prog_compiler_wl_F77='-Qoption ld ';;
13215 lt_prog_compiler_wl_F77='-Qoption ld '
13437 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13438 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13507 # If archive_cmds runs LD, not CC, wlarc should be empty
13510 # Set some defaults for GNU ld with shared library support. These
13516 # ancient GNU ld didn't support --whole-archive et. al.
13517 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13523 case `$LD -v 2>/dev/null` in
13531 # See if GNU ld supports shared libraries.
13564 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13583 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13615 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13647 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13656 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13668 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13677 case `$LD -v 2>&1` in
13692 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13704 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13711 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13727 # PORTME fill in a description of your system's linker (not GNU ld)
13732 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'
13777 # When large executables or shared objects are built, AIX ld can
13948 # see comment about different semantics on the GNU ld section
14007 # Don't fix this by using the ld
14016 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14028 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14042 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14050 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14068 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'
14084 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14151 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'
14161 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14163 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14171 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14189 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14214 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'
14227 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'
14229 $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'
14246 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14248 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14257 # without $wl, iff we do not link with $LD.
14276 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14287 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14291 ## LD is ld it makes a PLAMLIB
14293 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14298 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14307 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14314 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14341 # ever link correctly. If we're not using GNU ld we use -z text
14364 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14395 # to ld, don't add -lc before -lgcc.
14455 dynamic_linker="$host_os ld.so"
14540 dynamic_linker="$host_os ld.so"
14553 # the default ld.so.conf also contains /usr/contrib/lib and
14612 dynamic_linker='Win32 ld.exe'
14658 dynamic_linker='GNU ld.so'
14767 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14792 case $LD in # libtool.m4 will add one of these switches to LD
14851 # Append ld.so.conf contents to the search path
14852 if test -f /etc/ld.so.conf; then
14853 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14857 # We used to test for /lib/ld.so.1 and disable shared libraries on
14863 dynamic_linker='GNU/Linux ld.so'
14875 dynamic_linker='GNU ld.so'
14885 dynamic_linker='NetBSD (a.out) ld.so'
14889 dynamic_linker='NetBSD ld.elf_so'
14944 dynamic_linker='OS/2 ld.exe'
15245 LD=$lt_LD_F77
15438 # If ld is used when linking, flag to hardcode \$libdir into
15807 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
15814 lt_prog_compiler_wl_GCJ='-Qoption ld '
16036 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16037 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16106 # If archive_cmds runs LD, not CC, wlarc should be empty
16109 # Set some defaults for GNU ld with shared library support. These
16115 # ancient GNU ld didn't support --whole-archive et. al.
16116 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16122 case `$LD -v 2>/dev/null` in
16130 # See if GNU ld supports shared libraries.
16163 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16182 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16214 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16246 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16255 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16267 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16276 case `$LD -v 2>&1` in
16291 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16303 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16310 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16326 # PORTME fill in a description of your system's linker (not GNU ld)
16331 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'
16376 # When large executables or shared objects are built, AIX ld can
16567 # see comment about different semantics on the GNU ld section
16626 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16635 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16647 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16661 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16669 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16687 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'
16703 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16770 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'
16780 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16782 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16790 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16808 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16833 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'
16846 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'
16848 $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'
16865 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16867 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16876 # without $wl, iff we do not link with $LD.
16895 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16906 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16910 ## LD is ld it makes a PLAMLIB
16912 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16917 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16926 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16933 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16960 # ever link correctly. If we're not using GNU ld we use -z text
16983 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17014 # to ld, don't add -lc before -lgcc.
17074 dynamic_linker="$host_os ld.so"
17159 dynamic_linker="$host_os ld.so"
17172 # the default ld.so.conf also contains /usr/contrib/lib and
17231 dynamic_linker='Win32 ld.exe'
17277 dynamic_linker='GNU ld.so'
17386 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17411 case $LD in # libtool.m4 will add one of these switches to LD
17470 # Append ld.so.conf contents to the search path
17471 if test -f /etc/ld.so.conf; then
17472 ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17476 # We used to test for /lib/ld.so.1 and disable shared libraries on
17482 dynamic_linker='GNU/Linux ld.so'
17494 dynamic_linker='GNU ld.so'
17504 dynamic_linker='NetBSD (a.out) ld.so'
17508 dynamic_linker='NetBSD ld.elf_so'
17563 dynamic_linker='OS/2 ld.exe'
17864 LD=$lt_LD_GCJ
18057 # If ld is used when linking, flag to hardcode \$libdir into
18348 LD=$lt_LD_RC
18541 # If ld is used when linking, flag to hardcode \$libdir into