This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] xtensa: add support for SSP
On Mon, May 8, 2017 at 4:24 PM, augustine.sterling@gmail.com
<augustine.sterling@gmail.com> wrote:
> On Mon, May 8, 2017 at 3:55 PM, Max Filippov <jcmvbkbc@gmail.com> wrote:
>> gcc/
>> 2017-03-27 Max Filippov <jcmvbkbc@gmail.com>
>>
>> * config/xtensa/xtensa-protos.h
>> (xtensa_initial_elimination_offset): New declaration.
>> * config/xtensa/xtensa.c (xtensa_initial_elimination_offset):
>> New function. Move its body from the INITIAL_ELIMINATION_OFFSET
>> macro definition, add case for FRAME_POINTER_REGNUM when
>> FRAME_GROWS_DOWNWARD.
>> * config/xtensa/xtensa.h (FRAME_GROWS_DOWNWARD): New macro
>> definition.
>> (INITIAL_ELIMINATION_OFFSET): Replace body with call to
>> xtensa_initial_elimination_offset.
>
> Approved.
Applied to trunk. Thank you!
-- Max