This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Symver attribute
On Tue, Nov 19, 2019 at 03:53:43PM +0100, Jan Hubicka wrote:
> > Sounds perfectly fine to me, but how many tests will need changing? Is
> > it only those that use symbol versioning directly?
>
> There are no tests presently, I plan to write some so those will get
> dg-require-symver.
>
> .symver is output only if you use explicit symver function/variable
> attribute. So the "only" downdisde of this is that instead of getting
> friendly error message from GCC that your target does not support
> symvers (because we can not easily check for it) you will get less
> friendly error message from assembler. I hope that is acceptale since
> we have pre-existing situations like that already.
Ah, I thought this would happen for various things from libc as well, so
there would be a lot of random fallout. I probably misunderstood :-)
Segher