On Wed, Jun 8, 2011 at 10:07 PM, Benjamin Franzke
benjaminfran...@googlemail.com wrote:
2011/6/7 Chia-I Wu olva...@gmail.com:
How is that the case? It seems the symbol is not used elsewhere.
Right, seems i tried solve the wrong side of the problem.
x86_64_entry_start is declared similar to
2011/6/7 Chia-I Wu olva...@gmail.com:
How is that the case? It seems the symbol is not used elsewhere.
Right, seems i tried solve the wrong side of the problem.
x86_64_entry_start is declared similar to a global static variable in
the asm code,
so it will be bound local.
But in
x86_64_entry_start needs to be bound global, in order to have the
correct address in entry_get_public (seems not to be needed on x86).
Otherwise addresses needed for _glapi_proc_address will be computed
from some random offset (0x6400229a61058b48 in my case).
---
src/mapi/mapi/entry_x86-64_tls.h
On Wed, Jun 8, 2011 at 2:33 AM, Benjamin Franzke
benjaminfran...@googlemail.com wrote:
x86_64_entry_start needs to be bound global, in order to have the
correct address in entry_get_public (seems not to be needed on x86).
Otherwise addresses needed for _glapi_proc_address will be computed