[Top][All Lists]

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

[PATCH] Include Owen Taylor's Solaris read-only symbols patch

From: Scott James Remnant
Subject: [PATCH] Include Owen Taylor's Solaris read-only symbols patch
Date: Fri, 31 Oct 2003 12:56:03 +0000

I had a couple of people complain about this to me, rather than

When combining GCC, Solaris LD and -export-symbols, read-only symbols
never get exported because they're marked with 'R' which isn't in the
list libtool looks for.

Owen submitted this two-line patch to bug-libtool back in October 2002,
unfortunately the list archives don't go back that far anymore.  A full
discussion of the problem can be found at

I've attached the patch against CVS HEAD.

Origin: Owen Taylor

Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?
diff -ruNp libtool-CVS~/ChangeLog libtool-CVS/ChangeLog
--- libtool-CVS~/ChangeLog      2003-10-30 14:40:11.000000000 +0000
+++ libtool-CVS/ChangeLog       2003-10-31 12:55:00.000000000 +0000
@@ -0,0 +1,6 @@
+2003-10-31  Scott James Remnant  <address@hidden>
+       * m4/libtool.m4: Include Owen Taylor's patch to recognise the 'R'
+       symbol type so read-only symbols can be exported when combining
+       GCC and Solaris LD.
diff -ruNp libtool-CVS~/m4/libtool.m4 libtool-CVS/m4/libtool.m4
--- libtool-CVS~/m4/libtool.m4  2003-10-30 14:28:00.000000000 +0000
+++ libtool-CVS/m4/libtool.m4   2003-10-31 12:53:46.000000000 +0000
@@ -4458,7 +4458,7 @@ osf*)
 solaris* | sysv5*)
-  symcode='[[BDT]]'
+  symcode='[[BDRT]]'
@@ -4476,7 +4476,7 @@ esac
 # If we're using GNU nm, then use its standard symbol codes.
 case `$NM -V 2>&1` in
 *GNU* | *'with BFD'*)
-  symcode='[[ABCDGISTW]]' ;;
+  symcode='[[ABCDGIRSTW]]' ;;
 # Try without a prefix undercore, then with it.

Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

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