https://sourceware.org/bugzilla/show_bug.cgi?id=19698

--- Comment #15 from H.J. Lu <hjl.tools at gmail dot com> ---
A simple testcase:

[hjl@gnu-6 pr19698]$ cat foo.c
void
foo ()
{
}
[hjl@gnu-6 pr19698]$ cat foo.v
"foo@VERS.1" = foo;

VERSION {
VERS.2 {
  global:
    foo;
};

VERS.1 {
};
}
[hjl@gnu-6 pr19698]$ make
readelf --dyn-syms libfoo.so | grep foo
     2: 00000000000002b4     0 FUNC    GLOBAL DEFAULT    6 foo@@VERS.1
     5: 00000000000002b4     7 FUNC    GLOBAL DEFAULT    6 foo@@VERS.2
[hjl@gnu-6 pr19698]$

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to