From f276d31d2484ae55d53099f44dea1b212006f84e Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Thu, 8 Aug 2013 08:15:57 +0000 Subject: [PATCH] Fix MALLOC_ABI_ALIGNMENT for arm 2013-08-08 Bernd Edlinger PR target/58065 * config/arm/arm.h (MALLOC_ABI_ALIGNMENT): New, From-SVN: r201589 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/arm.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c84e21306c8..4410a8ca1ef 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-08-08 Bernd Edlinger + + PR target/58065 + * config/arm/arm.h (MALLOC_ABI_ALIGNMENT): Define. + 2013-08-07 Xinliang David Li * config/i386/i386.opt: New option -mtune-ctrl=. diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 387d2717431..1781b75b34b 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -645,6 +645,8 @@ extern int prefer_neon_for_64bits; #define BIGGEST_ALIGNMENT (ARM_DOUBLEWORD_ALIGN ? DOUBLEWORD_ALIGNMENT : 32) +#define MALLOC_ABI_ALIGNMENT BIGGEST_ALIGNMENT + /* XXX Blah -- this macro is used directly by libobjc. Since it supports no vector modes, cut out the complexity and fall back on BIGGEST_FIELD_ALIGNMENT. */ -- 2.30.2