On Mon, Dec 30, 2002 at 01:39:30PM -0800, Roland McGrath wrote:
>
> > Please try
> >
> > extern int x;
> > int _x __attribute__((section (".bss")));
> > asm(".symver _x,x@VERS_1");
> > int foo() { return x; }
>
> That produces an undefined reference to unversioned `x'.
>
If _x is undefined, as will generate a versioned reference to x.
H.J.