[PATCH] Don't change stack_alignment_needed for __tls_get_addr
Mon Feb 1 19:55:00 GMT 2016
On Mon, Feb 1, 2016 at 6:30 PM, H.J. Lu <firstname.lastname@example.org> wrote:
> On Wed, Jan 27, 2016 at 11:49 AM, Uros Bizjak <email@example.com> wrote:
>> On Wed, Jan 27, 2016 at 8:25 PM, H.J. Lu <firstname.lastname@example.org> wrote:
>>> __tls_get_addr must be called with 16-byte aligned stack, which is
>>> guaranted by setting preferred_stack_boundary to 128 bits. There
>>> is no need to change stack_alignment_needed for __tls_get_addr.
>>> Tested on x86-64. OK for trunk?
>> You know the purpose of these flags better than I, so - OK.
>>> PR target/68986
>>> * config/i386/i386.c (ix86_update_stack_boundary): Don't
>>> change stack_alignment_needed for __tls_get_addr call.
> Here is the backport for GCC 5. Ok for gcc-5-branch?
More information about the Gcc-patches