aboutsummaryrefslogtreecommitdiff
path: root/contrib/make_sunver.pl
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2011-11-21 17:03:50 +0000
committerRainer Orth <ro@gcc.gnu.org>2011-11-21 17:03:50 +0000
commitadcd36bc3fb6d707477683284024d11c179a4822 (patch)
treec02f30287a054a81055483a7e265e0d78137c81f /contrib/make_sunver.pl
parentd4b4b54263c81a0fbebc54580ab3ebb279d14d54 (diff)
downloadgcc-adcd36bc3fb6d707477683284024d11c179a4822.zip
gcc-adcd36bc3fb6d707477683284024d11c179a4822.tar.gz
gcc-adcd36bc3fb6d707477683284024d11c179a4822.tar.bz2
Support sun symbol versioning in libitm
libitm: * acinclude.m4 (LIBITM_CHECK_LINKER_FEATURES): Handle gold. (LIBITM_ENABLE_SYMVERS): Handle sun style. * Makefile.am: Handle sun style versioning. (libitm_la_LINK): Add $(libitm_la_LDFLAGS). * configure: Regenerate. * Makefile.in: Regenerate. contrib: * make_sunver.pl: Convert '?' in glob patterns to '.'. From-SVN: r181588
Diffstat (limited to 'contrib/make_sunver.pl')
-rw-r--r--contrib/make_sunver.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/make_sunver.pl b/contrib/make_sunver.pl
index 2928374..96ad22c 100644
--- a/contrib/make_sunver.pl
+++ b/contrib/make_sunver.pl
@@ -276,9 +276,10 @@ while (<F>) {
if (/^([ \t]*)([^ \t;{}#]+);?[ \t]*$/) {
my $ws = $1;
my $ptn = $2;
- # Turn the glob into a regex by replacing '*' with '.*'.
+ # Turn the glob into a regex by replacing '*' with '.*', '?' with '.'.
# Keep $ptn so we can still print the original form.
($pattern = $ptn) =~ s/\*/\.\*/g;
+ $pattern =~ s/\?/\./g;
if ($glob eq 'ign') {
# We're in a local: * section; just continue.