[PATCH] Replace __attribute__((visibility("protected")))
H.J. Lu
hjl.tools@gmail.com
Fri Mar 6 21:11:00 GMT 2015
On Fri, Mar 6, 2015 at 12:11 PM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> "H.J. Lu" <hongjiu.lu@intel.com> writes:
>
>> diff --git a/elf/ifuncdep2.c b/elf/ifuncdep2.c
>> index 99d1926..599eba7 100644
>> --- a/elf/ifuncdep2.c
>> +++ b/elf/ifuncdep2.c
>> @@ -2,7 +2,8 @@
>>
>> #include "ifunc-sel.h"
>>
>> -int global __attribute__ ((visibility ("protected"))) = -1;
>> +int global = -1;
>> +asm (".protected global");
>
> Some architectures use a symbol prefix.
>
Here is the updated patch to use __SYMBOL_PREFIX. OK
to install?
Thanks.
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Replace-__attribute__-visibility-protected.patch
Type: text/x-patch
Size: 1915 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150306/4ba8844e/attachment.bin>
More information about the Libc-alpha
mailing list