X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ltcf-c.sh;h=2b02417c46d93d5090f33f494c2da6ab58c018b7;hb=90f487dfe075092afbd0be376bd3c1cd5cfb8276;hp=d60a3baa19bc13295706d4471e0d6fcad7b8aac5;hpb=3866be5d4e427b4d114ad3b145496b8125c0fb0c;p=deliverable%2Fbinutils-gdb.git diff --git a/ltcf-c.sh b/ltcf-c.sh index d60a3baa19..2b02417c46 100644 --- a/ltcf-c.sh +++ b/ltcf-c.sh @@ -185,7 +185,7 @@ EOF whole_archive_flag_spec='-all_load $convenience' ;; - netbsd*) + netbsd* | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= @@ -223,6 +223,10 @@ EOF hardcode_shlibpath_var=no ;; + tpf*) + ld_shlibs=yes + ;; + *) if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' @@ -409,7 +413,7 @@ else ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd*) + freebsd* | kfreebsd*-gnu) archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes @@ -456,7 +460,7 @@ else link_all_deplibs=yes ;; - netbsd*) + netbsd* | knetbsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else