X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=ltconfig;h=cfbfda85dad362eaca1398f59ffdf474b6af7bd0;hp=9c420ace72625ef3fc4f80a18b73b2b5b8eccb8c;hb=fea24b60a0745a99b850278ead90d97fd2286c1a;hpb=fbccfde769917f6a98ae42eb3736989159c2b218 diff --git a/ltconfig b/ltconfig index 9c420ace726..cfbfda85dad 100755 --- a/ltconfig +++ b/ltconfig @@ -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 @@ -266,6 +266,7 @@ exclude_expsyms="_GLOBAL_OFFSET_TABLE_" # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= +file_list_spec= ## Tools: old_AR="$AR" @@ -625,7 +626,7 @@ old_postuninstall_cmds= if test -n "$RANLIB"; then old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + old_postinstall_cmds="~$old_postinstall_cmds~\$RANLIB \$oldlib" fi # Source the script associated with the $tagname tag configuration. @@ -1132,7 +1133,7 @@ freebsd1*) ;; freebsd*) - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo elf` version_type=freebsd-$objformat case $version_type in freebsd-elf*) @@ -1168,6 +1169,17 @@ gnu*) hardcode_into_libs=yes ;; +kfreebsd*-gnu | knetbsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' + soname_spec='${libname}${release}.so$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. @@ -1363,6 +1375,18 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) esac ;; +tpf*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $major $libname.so' + soname_spec='${libname}${release}.so$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU/Linux ld.so' + ;; + uts4*) version_type=linux library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' @@ -1592,7 +1616,7 @@ aix3*) fi ;; -aix4*) +aix4* | aix5*) test "$enable_shared" = yes && enable_static=no ;; esac @@ -2141,7 +2165,7 @@ case $ltmain in finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ hardcode_libdir_flag_spec hardcode_libdir_separator \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - compiler_c_o need_locks exclude_expsyms include_expsyms; do + compiler_c_o need_locks exclude_expsyms include_expsyms file_list_spec; do case $var in reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ @@ -2191,7 +2215,7 @@ case $ltmain in # # 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 @@ -2534,6 +2558,12 @@ exclude_expsyms=$exclude_expsyms # Symbols that must always be exported. include_expsyms=$include_expsyms +# Specify filename containing input files. +file_list_spec=$file_list_spec + +# with_gnu_ld value +with_gnu_ld=$with_gnu_ld + EOF if test -z "$tagname"; then @@ -2618,7 +2648,7 @@ EOF # # 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. # */ # # #include /* for printf() */