This is the mail archive of the gcc@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: Porting libsanitizer to aarch64


On 05/22/2013 12:43 AM, Jakub Jelinek wrote:
> Changing frame grows upward into frame grows downward shouldn't be that
> hard, see e.g. rs6000 port, where
> #define FRAME_GROWS_DOWNWARD (flag_stack_protect != 0 || flag_asan != 0)
> and grep the port where it uses FRAME_GROWS_DOWNWARD.
> Basically you need to tweak initial elimination offset computation for it,
> and that might be it, or perhaps one or two extra spots.

FWIW, I would actually recommend against conditionalizing FRAME_GROWS_DOWNWARD
for a new port.  Just make it _always_ grow down and save yourself the
additional code bloat in the backend.


r~


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