From 647446e1049a10fe0af0fe41ad712af9d1425b40 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Fri, 23 Jan 2004 06:04:07 +0000 Subject: [PATCH] * m4/libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Recognise the 'R' symbol type so read-only symbols can be exported when combining GCC and Solaris LD. --- ChangeLog | 6 ++++++ libtool.m4 | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 03bb55711..ea3bc26ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-01-23 Owen Taylor + + * m4/libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Recognise the + 'R' symbol type so read-only symbols can be exported when combining + GCC and Solaris LD. + 2004-01-23 Scott James Remnant * ltmain.in: When relinking, place the -L parameter containing diff --git a/libtool.m4 b/libtool.m4 index 40a5ff1c8..cc66cbd47 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -4404,7 +4404,7 @@ osf*) symcode='[[BCDEGQRST]]' ;; solaris* | sysv5*) - symcode='[[BDT]]' + symcode='[[BDRT]]' ;; sysv4) symcode='[[DFNSTU]]' @@ -4422,7 +4422,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. -- 2.47.3