]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Merge branch 'lto'
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 17 Sep 2010 19:48:00 +0000 (21:48 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 17 Sep 2010 19:48:00 +0000 (21:48 +0200)
* lto:
  LTO: consistently accept -fwhopr* and -flto* for GCC.

1  2 
ChangeLog
libltdl/config/ltmain.m4sh
libltdl/m4/libtool.m4

diff --cc ChangeLog
index 17e50cf2db7f11ba48e11c1d885b3d28df7e1cbb,e6decf2c03081c731a110d1293b5c8e15010358b..326b6584072105d2c0a4c601863b61a35ddae38f
+++ b/ChangeLog
+ 2010-09-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+       LTO: consistently accept -fwhopr* and -flto* for GCC.
+       * libltdl/config/ltmain.m4sh (func_mode_link): Accept -fwhopr*.
+       * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Also match
+       -flto*.
 +2010-09-17  Charles Wilson  <libtool@cwilson.fastmail.fm>
 +
 +      Fix order of PATH manipulation in cwrapper and shwrapper
 +      * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src:main): Call
 +      lt_update_exe_path before lt_update_lib_path, to ensure that the
 +      temporary rpath values (which include the OBJDIRs of uninstalled
 +      libtool libraries) precede installation and final -rpath directories.
 +      (func_emit_wrapper): Prepend $dllsearchpath to PATH before prepending
 +      $temp_rpath to $shlibpath_var; similar rationale as above.
 +      Reported by Jon Turney <jon.turney@dronecode.org.uk>
 +
 +2010-09-17  Charles Wilson  <libtool@cwilson.fastmail.fm>
 +
 +      Document libtool variable to_host_file_cmd.
 +      * doc/libtool.texi (libtool script contents:to_host_file_cmd):
 +      Document variable.
 +      (libtool script contents:to_tool_file_cmd): Prefer `build platform'
 +      to `build system'; Ditto `host platform'.
 +
 +2010-09-16  Charles Wilson  <libtool@cwilson.fastmail.fm>
 +
 +      Fix sh.test failure introduced in 72064249
 +      * libltdl/config/ltmain.m4sh (func_mode_link): Avoid poor
 +      syntax.
 +
 +2010-09-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      tests: avoid localization failure due to unstable compiler messages.
 +      * tests/testsuite.at (LT_AT_NORMALIZE_COMPILER_OUTPUT):
 +      Attempt to normalize temporary file names in error messages.
 +      Fixes 'localized compiler messages' test failure on Darwin when
 +      creating fat (multi-ABI) libraries.
 +
 +2010-09-13  Peter Rosin  <peda@lysator.liu.se>
 +
 +      Prefer $NM @file when the toolchain isn't native to $build.
 +      * libltdl/config/ltmain.m4sh (func_mode_link): Avoid calculating
 +      the command line length and take the @file branch *if* the file
 +      names needs to be converted for the toolchain and the @file
 +      branch works.  Fixes problems in stresstest.at when doing a cross
 +      from Cygwin to MinGW using MinGW native tools (a.k.a. a "faked"
 +      cross), and for the specific case of MSVC on Cygwin it makes the
 +      test pass.
 +
 +2010-09-14  Eric Blake  <eblake@redhat.com>
 +
 +      maint: ship .xz, not .lzma
 +      * configure.ac (AM_INIT_AUTOMAKE): Prefer better file format.
 +      * Makefile.maint (git-release, git-dist, prev-tarball)
 +      (new-tarball, diffs): Use correct extension.
 +      * HACKING: Update instructions.
 +      * .gitignore: Ignore .xz files.
 +
 +2010-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      doc: avoid long lines in input and output, indexing fixes.
 +      * doc/libtool.texi (Linking libraries)
 +      (Module loaders for libltdl): Manually line-wrap examples, to
 +      avoid long lines.
 +      (Libltdl interface, User defined module data)
 +      (Module loaders for libltdl): Wrap long @deftypefun input lines
 +      using trailing '@'.  Use @deftypefun rather than @deftp where
 +      appropriate, and add spaces in @deftypefun lines to fix the
 +      index entries generated from these lines.
 +      (Cheap tricks): Use @smallexample rather than @example, to avoid
 +      long lines.
 +
 +      docs: @file and @option markup fixes.
 +      * doc/libtool.texi (Creating object files, Linking libraries)
 +      (Linking executables, Link mode, Finish mode, Autoconf macros)
 +      (Using Automake, Inter-library dependencies, Dlpreopening)
 +      (Linking with dlopened modules, Finding the dlname)
 +      (Libltdl interface, Test descriptions, Multiple dependencies):
 +      Add @option where needed, replace @samp with @file as
 +      appropriate.
 +
 +2010-09-12  Peter Rosin  <peda@lysator.liu.se>
 +
 +      * .gitignore: Ignore *.obj files for MSVC (and w32 in general).
 +
 +      Adjust to moved auxiliary files and add compile.
 +      * HACKING (Maintenance Notes): Adjust to moved files.  Add the
 +      compile script.
 +      * Makefile.maint (fetch): Also fetch the compile script.
 +
 +2010-09-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      tests: avoid empty AT_DATA contents, for zsh.
 +      * tests/libtoolize.at (libtoolize macro serial update)
 +      (libtoolize config files serial update, LIBTOOLIZE_OPTIONS):
 +      Do not create empty files with AT_DATA, the latter is documented
 +      to require a final newline.  Fixes testsuite failures with zsh
 +      4.3.10.
 +
 +2010-09-12  Charles Wilson  <libtool@cwilson.fastmail.fm>
 +
 +      When assigning $linklib value, honor [-all]-static[-libtool-libs]
 +
 +      * libltdl/config/ltmain.m4sh (func_mode_link): When prefer_static_libs
 +      and static library exists, ensure old_library name is used as $linklib.
 +      Fixes failure on mingw when both static and shared libraries are
 +      present.
 +
 +2010-09-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      tests: work around zsh use of $options variable.
 +      * tests/getopt-m4sh.at: Rename $options to $opts, the former is
 +      special for zsh 4.3.10.
 +
 +      Fix AC_NO_EXECUTABLES test failure on IRIX 6.5.
 +      * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [irix]: Cache result
 +      of link check for -Wl,-exported_symbol.
 +      * tests/no-executables.at (AC_NO_EXECUTABLES): Set
 +      lt_cv_irix_exported_symbol, to avoid link check.
 +
 +2010-09-12  Jürgen Reuter  <juergen.reuter@physik.uni-freiburg.de>  (tiny change)
 +          Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      Initial support for the NAG Fortran compiler on GNU/Linux.
 +      * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <nagfor>:
 +      New set of entries, for NAG Fortran 5.1 and 5.2.
 +      * NEWS: Update.
 +
 +2010-09-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      Fix getopt.m4sh to require Autoconf 2.62 or newer.
 +      * libltdl/config/getopt.m4sh (m4_version_prereq): Require 2.62,
 +      not 2.61.
 +
 +2010-09-11  Charles Wilson  <libtool@cwilson.fastmail.fm>
 +
 +      Correct typo: $sharedlib_from_linklib_cmd missing '_cmd'
 +
 +      * libltdl/config/ltmain.m4sh (func_generate_dlsyms): Fix obvious
 +      typo, $sharedlib_from_linklib_cmd missing '_cmd'.
 +
 +2010-09-10  Peter Rosin  <peda@lysator.liu.se>
 +
 +      Convert file name to toolchain format when invoking $NM.
 +      * libltdl/config/ltmain.m4sh (func_generate_dlsyms)
 +      (func_win32_libid, func_cygming_gnu_implib_p)
 +      (func_cygming_ms_implib_p): When using the name lister to find
 +      symbols in files, convert the file names to a format appropriate
 +      for the tool. Fixes testsuite issues in mdemo-static-make.test
 +      and mdemo-make.test when doing a cross from Cygwin/Wine to MinGW
 +      using MinGW native tools (a.k.a. a "faked" cross).
 +
 +2010-09-09  Peter Rosin  <peda@lysator.liu.se>
 +
 +      Fix dependency tracking for MSYS/MinGW.
 +      * libltdl/config/ltmain.m4sh (func_to_tool_file): Add lazy
 +      argument which allows the user to specify conversions that are
 +      not desired.
 +      (func_mode_compile): Don't convert source files on MSYS, as
 +      MSYS does it for us. This fixes a regression introduced by
 +      "Use func_to_tool_file instead of fix_srcfile_path".
 +      Reported by Charles Wilson.
 +
 +2010-09-08  Peter Rosin  <peda@lysator.liu.se>
 +
 +      Mention adjustment of naming of MSVC import libraries in NEWS.
 +      * NEWS: Mention the change in import library naming on MSVC.
 +
 +2010-09-07  Peter Rosin  <peda@lysator.liu.se>
 +
 +      Adjust naming of MSVC import libraries.
 +      * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [mingw, cygwin]
 +      [pw32, cegcc] <cl*, library_names_spec>: Adjust naming of the
 +      import library from foo-<major-version>.lib to foo.dll.lib, to
 +      avoid clashes with the static library for unversioned libraries.
 +      (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [mingw, cygwin, pw32]
 +      [cegcc] <cl*, archive_expsym_cmds>: Explicitely name the import
 +      library to match the above.
 +
 +      Fixup texi typo in previous.
 +      * doc/libtool.texi (libtool script content) <postlink_cmds>:
 +      Add missing 'code' command.
 +
 +      Convert POSIX file names to toolchain format for MSVC
 +      * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
 +      [cygwin, mingw, pw32, cegcc] <cl*, postlink_cmds>: Make
 +      sure the -outputresource: file name for the manifest tool is
 +      in w32 format.
 +      <cl*, archive_expsym_cmds>: Likewise for the MSVC command file
 +      containing the exports and the output file name.
 +      * libltdl/config/ltmain.m4sh (func_mode_link): Precalculate the
 +      toolchain format of the output_objdir file name and store it in
 +      the tool_output_objdir variable. Also replace any occurrence of
 +      @TOOL_OUTPUT@ in postlink_cmds with the toolchain version of the
 +      @OUTPUT@ content.
 +      * doc/libtool.texi (libtool script content): Update description
 +      of postlink_cmds to mention @TOOL_OUTPUT@.
 +
 +2010-09-06  Peter Rosin  <peda@lysator.liu.se>
 +
 +      Use func_to_tool_file instead of fix_srcfile_path.
 +      * libltdl/config/ltmain.m4sh (func_mode_compile): Replace the
 +      fix_srcfile_path hook with a call to func_to_tool_file.
 +      * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [cygwin,mingw,pw32]
 +      [cegcc]: Drop fix_srcfile_path.
 +      * doc/libtool.texi (libtool script contents): Likewise.
 +      * NEWS: Mention that fix_srcfile_path has been replaced.
 +
 +      Convert file names to toolchain format in $NM and $AR @files.
 +      * libltdl/config/ltmain.m4sh (func_mode_link): When listing
 +      symbols and when creating archives using command files (or
 +      response files), make sure that both the name of the command
 +      file and the content are made up of file names in a format
 +      appropriate for the tool. Fixes stresstest.at on MSYS when
 +      run with low command line length.
 +
 +      Convert file names to toolchain format when linking.
 +      * libltdl/config/ltmain.m4sh (func_mode_link): When exporting
 +      symbols and when linking using command files (or response
 +      files), make sure that both the name of the command file and
 +      the content are made up of file names in a format appropriate
 +      for the tool. Fixes problems in stresstest.at on MSYS when run
 +      with low command line length.
 +
 +      Add file name conversion from $build to toolchain.
 +      * configure.ac: Ensure to_tool_file_cmd is available to Makefile.
 +      * libltdl/m4/libtool.m4 (_LT_PATH_CONVERSION_FUNCTIONS): Add
 +      cache variable lt_cv_to_tool_file_cmd that describes how to
 +      convert file names from $build to toolchain format.
 +      * libltdl/config/ltmain.m4sh (func_to_tool_file): New function
 +      that utilizes the above.
 +      * Makefile.am: Ensure to_tool_file_cmd is included in
 +      TEST_ENVIRONMENT so that it is passed to (old testsuite) tests.
 +      * testsuite.at: Ensure to_tool_file_cmd is passed as a variable
 +      setting on the configure line for (new testsuite) tests.
 +      * doc/libtool.texi (libtool script content): Update with
 +      to_tool_file_cmd description.
 +      (Cygwin to MinGW Cross): Update to mention lt_cv_to_tool_file_cmd.
 +
  2010-09-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
  
        tests: avoid spurious test failure due to library mode on HP-UX.
Simple merge
Simple merge