glapi: fix bug with tls and relocs
authorGeorge Sapountzis <gsapountzis@gmail.com>
Tue, 9 Mar 2010 22:43:01 +0000 (00:43 +0200)
committerGeorge Sapountzis <gsapountzis@gmail.com>
Wed, 10 Mar 2010 16:44:47 +0000 (18:44 +0200)
commit7cd8f0ef9d905080dc857c4739be9780b24a7fd2
tree1164ea5adb38f45f8333127136e50b4cb31f8616
parentbae31355150f66f7130d76a2ab4d4b735f239c71
glapi: fix bug with tls and relocs

add_dispatch (driver) and maybe get_proc_address (client) may be called before
set_dispatch is called, which results in generate_entrypoint using an unreloced
function template.
src/mesa/glapi/glapi_getproc.c