Home | History | Annotate | Download | only in dist

Lines Matching refs:LD

1057   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
3307 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3314 ac_prog=ld
3316 # Check if gcc -print-prog-name=ld gives a path.
3317 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3318 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3322 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3324 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3330 # Canonicalize the pathname of ld
3335 test -z "$LD" && LD="$ac_prog"
3339 ac_prog=ld
3342 # If it is relative, then search for the first ld in PATH.
3347 echo "$as_me:$LINENO: checking for GNU ld" >&5
3348 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3350 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3351 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3356 if test -z "$LD"; then
3363 # Check to see if the program is GNU ld. I'd rather use --version,
3364 # but apparently some variants of GNU ld only accept -v.
3365 # Break only if it was the GNU/non-GNU ld that we prefer.
3378 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3382 LD="$lt_cv_path_LD"
3383 if test -n "$LD"; then
3384 echo "$as_me:$LINENO: result: $LD" >&5
3385 echo "${ECHO_T}$LD" >&6
3390 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3391 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3393 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3394 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3399 case `$LD -v 2>&1 </dev/null` in
3413 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3414 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3427 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3433 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3597 case $LD in
3737 LD="${LD-ld} -melf32bsmip"
3740 LD="${LD-ld} -melf32bmipn32"
3743 LD="${LD-ld} -melf64bmip"
3749 LD="${LD-ld} -32"
3752 LD="${LD-ld} -n32"
3755 LD="${LD-ld} -64"
3775 LD="${LD-ld} -m elf_i386"
3778 LD="${LD-ld} -m elf32ppclinux"
3781 LD="${LD-ld} -m elf_s390"
3784 LD="${LD-ld} -m elf32_sparc"
3791 LD="${LD-ld} -m elf_x86_64"
3794 LD="${LD-ld} -m elf64ppc"
3797 LD="${LD-ld} -m elf64_s390"
3800 LD="${LD-ld} -m elf64_sparc"
3895 yes*) LD="${LD-ld} -m elf64_sparc" ;;
3896 *) LD="${LD-ld} -64" ;;
6124 test -z "$LD" && LD=ld
6585 lt_prog_compiler_wl='-Qoption ld ';;
6592 lt_prog_compiler_wl='-Qoption ld '
6814 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6815 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6884 # If archive_cmds runs LD, not CC, wlarc should be empty
6887 # Set some defaults for GNU ld with shared library support. These
6893 # ancient GNU ld didn't support --whole-archive et. al.
6894 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6900 case `$LD -v 2>/dev/null` in
6908 # See if GNU ld supports shared libraries.
6941 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6960 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6992 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7024 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7033 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7045 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7054 case `$LD -v 2>&1` in
7069 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7081 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7088 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7104 # PORTME fill in a description of your system's linker (not GNU ld)
7109 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'
7154 # When large executables or shared objects are built, AIX ld can
7345 # see comment about different semantics on the GNU ld section
7404 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7413 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7425 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7439 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7447 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7465 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'
7481 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7548 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'
7558 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7560 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7568 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7586 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7611 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'
7624 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'
7626 $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'
7643 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7645 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7654 # without $wl, iff we do not link with $LD.
7673 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7684 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7688 ## LD is ld it makes a PLAMLIB
7690 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7695 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7704 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7711 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7738 # ever link correctly. If we're not using GNU ld we use -z text
7761 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7792 # to ld, don't add -lc before -lgcc.
7852 dynamic_linker="$host_os ld.so"
7937 dynamic_linker="$host_os ld.so"
7950 # the default ld.so.conf also contains /usr/contrib/lib and
8009 dynamic_linker='Win32 ld.exe'
8055 dynamic_linker='GNU ld.so'
8164 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8189 case $LD in # libtool.m4 will add one of these switches to LD
8248 # Append ld.so.conf contents to the search path
8249 if test -f /etc/ld.so.conf; then
8250 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8254 # We used to test for /lib/ld.so.1 and disable shared libraries on
8260 dynamic_linker='GNU/Linux ld.so'
8272 dynamic_linker='GNU ld.so'
8282 dynamic_linker='NetBSD (a.out) ld.so'
8286 dynamic_linker='NetBSD ld.elf_so'
8341 dynamic_linker='OS/2 ld.exe'
9395 LD \
9563 LD=$lt_LD
9756 # If ld is used when linking, flag to hardcode \$libdir into
9996 lt_save_LD=$LD
10011 test -z "${LDCXX+set}" || LD=$LDCXX
10038 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10045 ac_prog=ld
10047 # Check if gcc -print-prog-name=ld gives a path.
10048 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10049 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10053 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10055 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10061 # Canonicalize the pathname of ld
10066 test -z "$LD" && LD="$ac_prog"
10070 ac_prog=ld
10073 # If it is relative, then search for the first ld in PATH.
10078 echo "$as_me:$LINENO: checking for GNU ld" >&5
10079 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10081 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10082 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10087 if test -z "$LD"; then
10094 # Check to see if the program is GNU ld. I'd rather use --version,
10095 # but apparently some variants of GNU ld only accept -v.
10096 # Break only if it was the GNU/non-GNU ld that we prefer.
10109 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10113 LD="$lt_cv_path_LD"
10114 if test -n "$LD"; then
10115 echo "$as_me:$LINENO: result: $LD" >&5
10116 echo "${ECHO_T}$LD" >&6
10121 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10122 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10124 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10125 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10130 case `$LD -v 2>&1 </dev/null` in
10145 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10146 # archiving commands below assume that GNU ld is being used.
10154 # If archive_cmds runs LD, not CC, wlarc should be empty
10159 # ancient GNU ld didn't support --whole-archive et. al.
10160 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10172 # linker, instead of GNU ld. If possible, this setting should
10190 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10191 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10227 # When large executables or shared objects are built, AIX ld can
10416 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10443 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10497 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10510 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10546 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10722 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'
10782 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'
10808 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10871 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'
10934 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'
11073 # ever link correctly. If we're not using GNU ld we use -z text
11133 LD_CXX="$LD"
11490 lt_prog_compiler_wl_CXX='-Qoption ld '
11724 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11725 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11769 # to ld, don't add -lc before -lgcc.
11829 dynamic_linker="$host_os ld.so"
11914 dynamic_linker="$host_os ld.so"
11927 # the default ld.so.conf also contains /usr/contrib/lib and
11986 dynamic_linker='Win32 ld.exe'
12032 dynamic_linker='GNU ld.so'
12141 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12166 case $LD in # libtool.m4 will add one of these switches to LD
12225 # Append ld.so.conf contents to the search path
12226 if test -f /etc/ld.so.conf; then
12227 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12231 # We used to test for /lib/ld.so.1 and disable shared libraries on
12237 dynamic_linker='GNU/Linux ld.so'
12249 dynamic_linker='GNU ld.so'
12259 dynamic_linker='NetBSD (a.out) ld.so'
12263 dynamic_linker='NetBSD ld.elf_so'
12318 dynamic_linker='OS/2 ld.exe'
12616 LD=$lt_LD_CXX
12809 # If ld is used when linking, flag to hardcode \$libdir into
12887 LDCXX=$LD
12888 LD=$lt_save_LD
13021 LD_F77="$LD"
13190 lt_prog_compiler_wl_F77='-Qoption ld ';;
13197 lt_prog_compiler_wl_F77='-Qoption ld '
13419 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13420 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13489 # If archive_cmds runs LD, not CC, wlarc should be empty
13492 # Set some defaults for GNU ld with shared library support. These
13498 # ancient GNU ld didn't support --whole-archive et. al.
13499 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13505 case `$LD -v 2>/dev/null` in
13513 # See if GNU ld supports shared libraries.
13546 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13565 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13597 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13629 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13638 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13650 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13659 case `$LD -v 2>&1` in
13674 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13686 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13693 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13709 # PORTME fill in a description of your system's linker (not GNU ld)
13714 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'
13759 # When large executables or shared objects are built, AIX ld can
13930 # see comment about different semantics on the GNU ld section
13989 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13998 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14010 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14024 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14032 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14050 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'
14066 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14133 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'
14143 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14145 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14153 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14171 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14196 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'
14209 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'
14211 $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'
14228 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14230 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14239 # without $wl, iff we do not link with $LD.
14258 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14269 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14273 ## LD is ld it makes a PLAMLIB
14275 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14280 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14289 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14296 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14323 # ever link correctly. If we're not using GNU ld we use -z text
14346 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14377 # to ld, don't add -lc before -lgcc.
14437 dynamic_linker="$host_os ld.so"
14522 dynamic_linker="$host_os ld.so"
14535 # the default ld.so.conf also contains /usr/contrib/lib and
14594 dynamic_linker='Win32 ld.exe'
14640 dynamic_linker='GNU ld.so'
14749 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14774 case $LD in # libtool.m4 will add one of these switches to LD
14833 # Append ld.so.conf contents to the search path
14834 if test -f /etc/ld.so.conf; then
14835 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14839 # We used to test for /lib/ld.so.1 and disable shared libraries on
14845 dynamic_linker='GNU/Linux ld.so'
14857 dynamic_linker='GNU ld.so'
14867 dynamic_linker='NetBSD (a.out) ld.so'
14871 dynamic_linker='NetBSD ld.elf_so'
14926 dynamic_linker='OS/2 ld.exe'
15224 LD=$lt_LD_F77
15417 # If ld is used when linking, flag to hardcode \$libdir into
15786 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
15793 lt_prog_compiler_wl_GCJ='-Qoption ld '
16015 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16016 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16085 # If archive_cmds runs LD, not CC, wlarc should be empty
16088 # Set some defaults for GNU ld with shared library support. These
16094 # ancient GNU ld didn't support --whole-archive et. al.
16095 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16101 case `$LD -v 2>/dev/null` in
16109 # See if GNU ld supports shared libraries.
16142 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16161 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16193 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16225 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16234 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16246 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16255 case `$LD -v 2>&1` in
16270 if $LD
16282 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16289 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16305 # PORTME fill in a description of your system's linker (not GNU ld)
16310 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'
16355 # When large executables or shared objects are built, AIX ld can
16546 # see comment about different semantics on the GNU ld section
16605 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16614 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16626 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16640 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16648 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16666 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'
16682 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16749 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'
16759 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16761 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16769 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16787 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16812 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'
16825 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'
16827 $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'
16844 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16846 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16855 # without $wl, iff we do not link with $LD.
16874 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16885 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16889 ## LD is ld it makes a PLAMLIB
16891 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16896 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16905 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16912 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16939 # ever link correctly. If we're not using GNU ld we use -z text
16962 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16993 # to ld, don't add -lc before -lgcc.
17053 dynamic_linker="$host_os ld.so"
17138 dynamic_linker="$host_os ld.so"
17151 # the default ld.so.conf also contains /usr/contrib/lib and
17210 dynamic_linker='Win32 ld.exe'
17256 dynamic_linker='GNU ld.so'
17365 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17390 case $LD in # libtool.m4 will add one of these switches to LD
17449 # Append ld.so.conf contents to the search path
17450 if test -f /etc/ld.so.conf; then
17451 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17455 # We used to test for /lib/ld.so.1 and disable shared libraries on
17461 dynamic_linker='GNU/Linux ld.so'
17473 dynamic_linker='GNU ld.so'
17483 dynamic_linker='NetBSD (a.out) ld.so'
17487 dynamic_linker='NetBSD ld.elf_so'
17542 dynamic_linker='OS/2 ld.exe'
17840 LD=$lt_LD_GCJ
18033 # If ld is used when linking, flag to hardcode \$libdir into
18321 LD=$lt_LD_RC
18514 # If ld is used when linking, flag to hardcode \$libdir into