Re: --version-script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Mathieu Lacage" <mathieu.lacage@xxxxxxxxx> writes:

> mathieu@mathieu:~/code$ cat test.map
> A {
> global:
>   test;
> local:
>   *;
> };
> B {
> global:
>   test;
> } A;

You can't use a version script to assign different versions to the
same symbol.  To do that, you need to use .symver in your input file.
I probably have the details wrong, but you need something like
    asm(".symver test_version_a,test@A");
That assumes that you have a different test_version_a symbol.  To give
the same symbol different versions you need to use a symbol alias.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux