targets/pipe-loader: cleanup version-script
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 5 Apr 2014 17:04:18 +0000 (18:04 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 2 May 2014 20:48:27 +0000 (21:48 +0100)
Drop the version/name tag from the script as it was never
meant to be there. Add swrast_create_screen as it is used
when loading swrast. Rename the file to pipe.sym.

v2: Rebase on top of the LD_NO_UNDEFINED changes.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/targets/pipe-loader/Makefile.am
src/gallium/targets/pipe-loader/pipe.link [deleted file]
src/gallium/targets/pipe-loader/pipe.sym [new file with mode: 0644]

index 6a5b38066cb77cec9249a28497ec80782ba97e31..a1c7d251b5aaebaeb904230a2587442e80c8bac6 100644 (file)
@@ -47,9 +47,9 @@ AM_LDFLAGS = \
        -module \
        -no-undefined \
        -avoid-version \
+       -Wl,--version-script=$(top_srcdir)/src/gallium/targets/pipe-loader/pipe.sym \
        $(GC_SECTIONS) \
-       $(LD_NO_UNDEFINED) \
-       -Wl,--version-script=$(top_srcdir)/src/gallium/targets/pipe-loader/pipe.link
+       $(LD_NO_UNDEFINED)
 
 if HAVE_MESA_LLVM
 PIPE_LIBS += $(LLVM_LIBS)
diff --git a/src/gallium/targets/pipe-loader/pipe.link b/src/gallium/targets/pipe-loader/pipe.link
deleted file mode 100644 (file)
index d6dd2af..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-VERSION {
-       global: driver_descriptor; local: *;
-};
diff --git a/src/gallium/targets/pipe-loader/pipe.sym b/src/gallium/targets/pipe-loader/pipe.sym
new file mode 100644 (file)
index 0000000..19b1d77
--- /dev/null
@@ -0,0 +1,7 @@
+{
+       global:
+               driver_descriptor;
+               swrast_create_screen;
+       local:
+               *;
+};