[Mesa-dev] [PATCH] gbm: make 'devices' array static

Julien Cristau jcristau at debian.org
Mon Mar 3 09:23:52 PST 2014


On Mon, Mar  3, 2014 at 17:21:15 +0000, Emil Velikov wrote:

> On 03/03/14 16:41, Julien Cristau wrote:
> > It's only used in this one file as far as I can tell, and exporting a
> > symbol named 'devices' from a shared library is a recipe for trouble.
> Hmm did you really get the 'devices' exported symbol, or did you notice
> this while going through the code ? Either way this looks good afaict
> 
The former:
$ objdump -T /usr/lib/x86_64-linux-gnu/libgbm.so.1 | grep devices
0000000000206360 g    DO .bss   0000000000000080  Base        devices

> Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>

Thanks.

Cheers,
Julien


More information about the mesa-dev mailing list