[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
upstream.
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
http://bugzilla.gnome.org/show_bug.cgi?id=81232
I've attached the patch against CVS HEAD.
Origin: Owen Taylor
Scott
--
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*)
symcode='[[BCDEGQRST]]'
;;
solaris* | sysv5*)
- symcode='[[BDT]]'
+ symcode='[[BDRT]]'
;;
sysv4)
symcode='[[DFNSTU]]'
@@ -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]]' ;;
esac
# Try without a prefix undercore, then with it.
signature.asc
Description: This is a digitally signed message part
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] Include Owen Taylor's Solaris read-only symbols patch,
Scott James Remnant <=