[Mesa-dev] [PATCH 14/16] targets/pipe-loader: cleanup version-script

Francisco Jerez currojerez at riseup.net
Sat Apr 5 03:16:09 PDT 2014


Emil Velikov <emil.l.velikov at gmail.com> writes:

> 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.
>
> Cc: Francisco Jerez <currojerez at riseup.net>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

Reviewed-by: Francisco Jerez <currojerez at riseup.net>

> ---
>  src/gallium/targets/pipe-loader/Makefile.am | 4 ++--
>  src/gallium/targets/pipe-loader/pipe.link   | 3 ---
>  src/gallium/targets/pipe-loader/pipe.sym    | 7 +++++++
>  3 files changed, 9 insertions(+), 5 deletions(-)
>  delete mode 100644 src/gallium/targets/pipe-loader/pipe.link
>  create mode 100644 src/gallium/targets/pipe-loader/pipe.sym
>
> diff --git a/src/gallium/targets/pipe-loader/Makefile.am b/src/gallium/targets/pipe-loader/Makefile.am
> index cdeb4b1..89a627d 100644
> --- a/src/gallium/targets/pipe-loader/Makefile.am
> +++ b/src/gallium/targets/pipe-loader/Makefile.am
> @@ -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) \
> -	-Wl,--no-undefined \
> -	-Wl,--version-script=$(top_srcdir)/src/gallium/targets/pipe-loader/pipe.link
> +	-Wl,--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
> index d6dd2af..0000000
> --- a/src/gallium/targets/pipe-loader/pipe.link
> +++ /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
> index 0000000..19b1d77
> --- /dev/null
> +++ b/src/gallium/targets/pipe-loader/pipe.sym
> @@ -0,0 +1,7 @@
> +{
> +	global:
> +		driver_descriptor;
> +		swrast_create_screen;
> +	local:
> +		*;
> +};
> -- 
> 1.9.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140405/b620ef21/attachment.sig>


More information about the mesa-dev mailing list