Re: [Bug c/39493] New: [Mips] No space for arguments when implicitely calling __get_tls_addr

2009-03-18 Thread Andrew Thomas Pinski
Sent from my iPhone On Mar 18, 2009, at 7:05 AM, "joel dot porquet at gmail dot com" > wrote: Mips ABI specifies to let the space for 4 arguments in stack when calling a function. This is not respected when accessing tls variable with a dynamic model: gcc implicitely calls __get_tls_addr

[Bug c/39493] New: [Mips] No space for arguments when implicitely calling __get_tls_addr

2009-03-18 Thread joel dot porquet at gmail dot com
Mips ABI specifies to let the space for 4 arguments in stack when calling a function. This is not respected when accessing tls variable with a dynamic model: gcc implicitely calls __get_tls_addr without making rooms for the arguments. The top of the stack is then likely to be erase. Here is an exam