[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: two instances of global from shared lib linked with -Bsymbolic
From: |
Ian Lance Taylor |
Subject: |
Re: two instances of global from shared lib linked with -Bsymbolic |
Date: |
06 Apr 2004 21:41:10 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Alan Modra <address@hidden> writes:
> If fun1 is made protected, then the library will behave as Rafal
> desires. See gcc's info on function attributes.
>
> void __attribute__ ((visibility ("protected")))
> fun1 () { ... }
>
> I've thought before that a useful extension to our ld version scripts
> would be to have a "protected" keyword in addition to "global" and
> "local".
Hmmm, yes, for a function that will work, but will it really work for
a global variable? How does it work in the presence of COPY
relocations?
Ian
- two instances of global from shared lib linked with -Bsymbolic, Rafal Dabrowa, 2004/04/06
- Re: two instances of global from shared lib linked with -Bsymbolic, Ian Lance Taylor, 2004/04/06
- Re: two instances of global from shared lib linked with -Bsymbolic, Rafal Dabrowa, 2004/04/06
- Re: two instances of global from shared lib linked with -Bsymbolic, Ian Lance Taylor, 2004/04/06
- Re: two instances of global from shared lib linked with -Bsymbolic, Rafal Dabrowa, 2004/04/06
- Re: two instances of global from shared lib linked with -Bsymbolic, Ian Lance Taylor, 2004/04/06
- Re: two instances of global from shared lib linked with -Bsymbolic, Alan Modra, 2004/04/06
- Re: two instances of global from shared lib linked with -Bsymbolic,
Ian Lance Taylor <=
- Re: two instances of global from shared lib linked with -Bsymbolic, Alan Modra, 2004/04/06
- Re: two instances of global from shared lib linked with -Bsymbolic, Rafal Dabrowa, 2004/04/07
- Re: two instances of global from shared lib linked with -Bsymbolic, Alan Modra, 2004/04/07
- Re: two instances of global from shared lib linked with -Bsymbolic, Ian Lance Taylor, 2004/04/07
- Re: two instances of global from shared lib linked with -Bsymbolic, Rafal Dabrowa, 2004/04/08
- Re: two instances of global from shared lib linked with -Bsymbolic, Ian Lance Taylor, 2004/04/08