Mesa (master): targets/osmesa: limit the amount of exported symbols

Emil Velikov emil.l.velikov at gmail.com
Fri May 23 15:16:27 UTC 2014


On 23/05/14 16:04, Brian Paul wrote:
> Emil, I accidentally pushed this patch.  I forgot I had applied it in my tree
> for testing a couple days ago.  If you have any concerns with this, please
> feel free to revert.
> 
No problems Brian.

I will just follow up with a one-liner for the mangledGL symbols.

-Emil
> -Brian
> 
> On 05/23/2014 08:10 AM, Brian Paul wrote:
>> Module: Mesa
>> Branch: master
>> Commit: d4c3968c25885f6eb53dee4cc0c60d8d3f8fec32
>> URL:   
>> https://urldefense.proofpoint.com/v1/url?u=http://cgit.freedesktop.org/mesa/mesa/commit/?id%3Dd4c3968c25885f6eb53dee4cc0c60d8d3f8fec32&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=lGQMzzTgII0I7jefp2FHq7WtZ%2BTLs8wadB%2BiIj9xpBY%3D%0A&m=ueLGideVgyLbNvVSlKWOLqk4jXG4BWLcFvE5Op4EOcM%3D%0A&s=d5267a18f84a19cadc2be26519bbdf13c45a1d10b2d8a5260161bdd279006b31
>>
>>
>> Author: Emil Velikov <emil.l.velikov at gmail.com>
>> Date:   Tue May 20 18:07:00 2014 -0600
>>
>> targets/osmesa: limit the amount of exported symbols
>>
>> src/gallium/targets/osmesa/Makefile.am |  1 +
>> src/gallium/targets/osmesa/osmesa.sym  | 18 ++++++++++++++++++
>> 2 files changed, 19 insertions(+)
>> create mode 100644 src/gallium/targets/osmesa/osmesa.sym
>>
>> ---
>>
>>   src/gallium/targets/osmesa/Makefile.am |    1 +
>>   src/gallium/targets/osmesa/osmesa.sym  |   18 ++++++++++++++++++
>>   2 files changed, 19 insertions(+)
>>
>> diff --git a/src/gallium/targets/osmesa/Makefile.am
>> b/src/gallium/targets/osmesa/Makefile.am
>> index 067f980..0ec8a26 100644
>> --- a/src/gallium/targets/osmesa/Makefile.am
>> +++ b/src/gallium/targets/osmesa/Makefile.am
>> @@ -45,6 +45,7 @@ lib at OSMESA_LIB@_la_LDFLAGS = \
>>       -module \
>>       -no-undefined \
>>       -version-number @OSMESA_VERSION@ \
>> +    -Wl,--version-script=$(top_srcdir)/src/gallium/targets/osmesa/osmesa.sym \
>>       $(GC_SECTIONS) \
>>       $(LD_NO_UNDEFINED)
>>
>> diff --git a/src/gallium/targets/osmesa/osmesa.sym
>> b/src/gallium/targets/osmesa/osmesa.sym
>> new file mode 100644
>> index 0000000..b8230e0
>> --- /dev/null
>> +++ b/src/gallium/targets/osmesa/osmesa.sym
>> @@ -0,0 +1,18 @@
>> +{
>> +    global:
>> +        OSMesaColorClamp;
>> +        OSMesaCreateContext;
>> +        OSMesaCreateContextExt;
>> +        OSMesaDestroyContext;
>> +        OSMesaGetColorBuffer;
>> +        OSMesaGetCurrentContext;
>> +        OSMesaGetDepthBuffer;
>> +        OSMesaGetIntegerv;
>> +        OSMesaGetProcAddress;
>> +        OSMesaMakeCurrent;
>> +        OSMesaPixelStore;
>> +        OSMesaPostprocess;
>> +        gl*;
>> +    local:
>> +        *;
>> +};
>>
>> _______________________________________________
>> mesa-commit mailing list
>> mesa-commit at lists.freedesktop.org
>> https://urldefense.proofpoint.com/v1/url?u=http://lists.freedesktop.org/mailman/listinfo/mesa-commit&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=lGQMzzTgII0I7jefp2FHq7WtZ%2BTLs8wadB%2BiIj9xpBY%3D%0A&m=ueLGideVgyLbNvVSlKWOLqk4jXG4BWLcFvE5Op4EOcM%3D%0A&s=069a06af24b99b57551ae2d5f428be271ee52baf6954f576c5db783d7f98dc67
>>
>>
> 




More information about the mesa-commit mailing list