targets/xa: limit the amount of exported symbols
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 2 May 2014 21:02:15 +0000 (22:02 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 25 May 2014 22:21:46 +0000 (23:21 +0100)
commita75baba2f14a2bcdaf640aeef86d67b41bb2a76f
treef55233e9ef80d31a2d444f7f4a780246709ee58a
parentce12bbd107996dacdb01e4a0f90ce141dfa8b05d
targets/xa: limit the amount of exported symbols

In the presence of LLVM the final library exports every symbol from
the llvm namespace. Resolve this by using a version script (w/o the
version/name tag).

Considering that there are only ~35 symbols, explicitly list them
to minimize the chances of rogue symbols sneaking in.

v2: Conditionally include the version-script.

Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> (v1)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/targets/xa/Makefile.am
src/gallium/targets/xa/xa.sym [new file with mode: 0644]