Re: [Mesa-dev] [PATCH] mesa: Ensure stack is realigned on x86.

2014-12-02 Thread Jose Fonseca
On 02/12/14 21:10, Brian Paul wrote: On 12/02/2014 01:27 PM, Jose Fonseca wrote: From: José Fonseca Nowadays GCC assumes stack pointer is 16-byte aligned even on 32-bits, but that is an assumption OpenGL drivers (or any dynamic library for that matter) can affort to make as there are many clos

Re: [Mesa-dev] [PATCH] mesa: Ensure stack is realigned on x86.

2014-12-02 Thread Brian Paul
On 12/02/2014 01:27 PM, Jose Fonseca wrote: From: José Fonseca Nowadays GCC assumes stack pointer is 16-byte aligned even on 32-bits, but that is an assumption OpenGL drivers (or any dynamic library for that matter) can affort to make as there are many closed- and open- can or cannot? affort

[Mesa-dev] [PATCH] mesa: Ensure stack is realigned on x86.

2014-12-02 Thread Jose Fonseca
From: José Fonseca Nowadays GCC assumes stack pointer is 16-byte aligned even on 32-bits, but that is an assumption OpenGL drivers (or any dynamic library for that matter) can affort to make as there are many closed- and open- source application binaries out there that only assume 4-byte stack al