[Xfce4-commits] [xfce/libxfce4util] 01/01: Fix abicheck to handle ppc64 architecture

noreply at xfce.org noreply at xfce.org
Wed Mar 11 22:36:07 CET 2015


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository xfce/libxfce4util.

commit fa04406c294582a1a546b3e8565ad611a3590c03
Author: Colin Watson <cjwatson at canonical.com>
Date:   Tue Mar 15 15:15:04 2011 +0000

    Fix abicheck to handle ppc64 architecture
    
    According to Alan Modra, the PowerPC64 ABI defines function symbols on their
    OPD entry, in the .opd section which is part of the data segment; so
    functions on this architecture have symbol type D in nm.
    
    The adjusted regex is slightly more accurate than the old one, which matched
    anything containing " T", "R", or "G ".  Using a bracket expression seems to
    better match the likely intent of this regex.
---
 libxfce4util/abicheck.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libxfce4util/abicheck.sh b/libxfce4util/abicheck.sh
index a4a2955..ed0afdc 100755
--- a/libxfce4util/abicheck.sh
+++ b/libxfce4util/abicheck.sh
@@ -20,5 +20,5 @@
 #
 
 cpp -P -DINCLUDE_INTERNAL_SYMBOLS -DINCLUDE_VARIABLES -DALL_FILES ${srcdir:-.}/libxfce4util.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE//' | sort > expected-abi
-nm -D .libs/libxfce4util.so | grep " T\|R\|G " | cut -d ' ' -f 3 | grep -v '^_.*' | grep -v '^ *$' | sort > actual-abi
+nm -D .libs/libxfce4util.so | grep " [TRGD] " | cut -d ' ' -f 3 | grep -v '^_.*' | grep -v '^ *$' | sort > actual-abi
 diff -u expected-abi actual-abi && rm expected-abi actual-abi

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list