This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] xtensa: add support for SSP


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]