libtool-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Libtool branch, master, updated. v2.4.2-302-g55fd801


From: Peter Rosin
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.2-302-g55fd801
Date: Fri, 19 Oct 2012 06:55:46 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  55fd801b97a669ba5336836ce7b8971b8673a517 (commit)
      from  cfe82e7f854ed1f746d6cfd7febf4aad42fbfec1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 55fd801b97a669ba5336836ce7b8971b8673a517
Author: Peter Rosin <address@hidden>
Date:   Fri Oct 19 08:54:15 2012 +0200

    libtool: avoid non-underscore symbols in the "dumpbin -symbols" wrapper
    
    If an object has a symbol lacking an expected leading underscore,
    the symbol name is not printed, but the symbol type is, leading
    to output such as:
        T _normal _normal
        T T _another _another
    when the expected output would have been something like:
        T _normal _normal
        T no_underscore no_underscore
        T _another _another
    However, symbols lacking an expected leading underscore are
    not "real" symbols, they are internal symbols which we don't
    care about, therefore drop them instead.
    * m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS) [MSVC]: Output the whole
    symbol line in one go.
    * NEWS: Update.

-----------------------------------------------------------------------

Summary of changes:
 NEWS          |    2 ++
 m4/libtool.m4 |    8 ++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/NEWS b/NEWS
index d2e48d6..17436b1 100644
--- a/NEWS
+++ b/NEWS
@@ -55,6 +55,8 @@ NEWS - list of user-visible changes between releases of GNU 
Libtool
     (e.g. the ability to parse `var+=append') as $CONFIG_SHELL, libtool
     will now correctly fallback to using only vanilla shell features
     instead of failing with a parse at startup.
+  - Fix a bug in the wrapper for using Microsoft dumpbin as name lister
+    which could lead to broken symbol listings in some corner cases.
 
 ** Important incompatible changes:
 
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 2dac8a1..d02bd25 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -3686,10 +3686,10 @@ for ac_symprfx in "" "_"; do
 "     \$ 0!~/External *\|/{next};"\
 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 "     {if(hide[section]) next};"\
-"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
-"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
-"     s[1]~/address@hidden/{print s[1], s[1]; next};"\
-"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
+"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
+"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
+"     s[1]~/address@hidden/{print f,s[1],s[1]; next};"\
+"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
 "     ' prfx=^$ac_symprfx]"
   else
     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[    
]]\($symcode$symcode*\)[[       ]][[    
]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"


hooks/post-receive
-- 
GNU Libtool



reply via email to

[Prev in Thread] Current Thread [Next in Thread]