X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;ds=sidebyside;f=ltcf-c.sh;h=5eb05db43f5a34b18650e2c9840ba26b99e1f294;hb=814bcb146bb5ac7662c6c9a8ea9253c89924325b;hp=7cc273d36ff2cf9761f0fc01961454f2156f9154;hpb=80dc6aa0624cdcc69759f95132637d8af5262c56;p=gcc.git diff --git a/ltcf-c.sh b/ltcf-c.sh index 7cc273d36ff..5eb05db43f5 100644 --- a/ltcf-c.sh +++ b/ltcf-c.sh @@ -17,7 +17,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -213,6 +213,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' @@ -263,6 +267,7 @@ else hardcode_direct=yes hardcode_libdir_separator=':' link_all_deplibs=yes + file_list_spec='${wl}-f,' # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to @@ -414,7 +419,7 @@ else hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported - whole_archive_flag_spec='-all_load $convenience' + whole_archive_flag_spec='' link_all_deplibs=yes ;;