Lines Matching refs:LD
516 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
784 LD
1540 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
4403 # Check whether --with-gnu-ld was given.
4410 ac_prog=ld
4412 # Check if gcc -print-prog-name=ld gives a path.
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4414 $as_echo_n "checking for ld used by $CC... " >&6; }
4418 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4420 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4426 # Canonicalize the pathname of ld
4431 test -z "$LD" && LD="$ac_prog"
4435 ac_prog=ld
4438 # If it is relative, then search for the first ld in PATH.
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4444 $as_echo_n "checking for GNU ld... " >&6; }
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4447 $as_echo_n "checking for non-GNU ld... " >&6; }
4452 if test -z "$LD"; then
4459 # Check to see if the program is GNU ld. I'd rather use --version,
4460 # but apparently some variants of GNU ld only accept -v.
4461 # Break only if it was the GNU/non-GNU ld that we prefer.
4474 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4478 LD="$lt_cv_path_LD"
4479 if test -n "$LD"; then
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4481 $as_echo "$LD" >&6; }
4486 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4488 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4493 case `$LD -v 2>&1 </dev/null` in
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4909 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4922 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4928 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5150 case $LD in
5909 LD="${LD-ld} -melf32bsmip"
5912 LD="${LD-ld} -melf32bmipn32"
5915 LD="${LD-ld} -melf64bmip"
5921 LD="${LD-ld} -32"
5924 LD="${LD-ld} -n32"
5927 LD="${LD-ld} -64"
5948 LD="${LD-ld} -m elf_i386_fbsd"
5951 LD="${LD-ld} -m elf_i386"
5954 LD="${LD-ld} -m elf32ppclinux"
5957 LD="${LD-ld} -m elf_s390"
5960 LD="${LD-ld} -m elf32_sparc"
5967 LD="${LD-ld} -m elf_x86_64_fbsd"
5970 LD="${LD-ld} -m elf_x86_64"
5973 LD="${LD-ld} -m elf64ppc"
5976 LD="${LD-ld} -m elf64_s390"
5979 LD="${LD-ld} -m elf64_sparc"
6046 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6048 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6049 LD="${LD-ld} -64"
7190 test -z "$LD" && LD=ld
7679 lt_prog_compiler_wl='-Qoption ld ';;
7686 lt_prog_compiler_wl='-Qoption ld '
7984 LD) supports shared libraries" >&5
7985 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8051 # If archive_cmds runs LD, not CC, wlarc should be empty
8054 # Set some defaults for GNU ld with shared library support. These
8060 # ancient GNU ld didn't support --whole-archive et. al.
8061 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8067 case `$LD -v 2>&1` in
8075 # See if GNU ld supports shared libraries.
8109 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8128 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8166 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8215 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8220 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8231 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8240 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8252 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8261 case `$LD -v 2>&1` in
8280 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8292 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8299 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8315 # PORTME fill in a description of your system's linker (not GNU ld)
8320 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'
8365 # When large executables or shared objects are built, AIX ld can
8582 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8596 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8604 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8622 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'
8638 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8704 # Try to use the -exported_symbol ld option, if it does not
8733 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8735 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8743 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8754 if test -f /usr/libexec/ld.so; then
8766 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8830 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8832 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8867 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8878 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8882 ## LD is ld it makes a PLAMLIB
8884 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8889 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8898 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8905 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8932 # ever link correctly. If we're not using GNU ld we use -z text
8955 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9010 # to ld, don't add -lc before -lgcc.
9278 dynamic_linker="$host_os ld.so"
9358 dynamic_linker="$host_os ld.so"
9371 # the default ld.so.conf also contains /usr/contrib/lib and
9433 dynamic_linker='Win32 ld.exe'
9572 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9597 case $LD in # libtool.m4 will add one of these switches to LD
9630 # Some binutils ld are patched to set DT_RUNPATH
9661 # Append ld.so.conf contents to the search path
9662 if test -f /etc/ld.so.conf; then
9663 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' ' '`
9667 # We used to test for /lib/ld.so.1 and disable shared libraries on
9673 dynamic_linker='GNU/Linux ld.so'
9685 dynamic_linker='NetBSD ld.elf_so'
9695 dynamic_linker='NetBSD (a.out) ld.so'
9699 dynamic_linker='NetBSD ld.elf_so'
9756 dynamic_linker='OS/2 ld.exe'
11812 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12020 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12131 LD \
13062 LD=$lt_LD
13118 # Whether we are building with GNU ld or not.
13131 # If ld is used when linking, flag to hardcode \$libdir into a binary