From bd3b92123ef1e52bf52c4524ccb932fb95d86ceb Mon Sep 17 00:00:00 2001 From: Anatoly Sokolov Date: Tue, 4 Sep 2007 01:03:50 +0400 Subject: [PATCH] re PR target/28902 (Fix for "alingment of XXX is greater than maximum object alignment" on AVR) PR target/28902 * config/avr/avr.h (TARGET_VTABLE_ENTRY_ALIGN): Define. From-SVN: r128060 --- gcc/ChangeLog | 5 +++++ gcc/config/avr/avr.h | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5dd29397e3b2..5f7785a28e86 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-09-03 Anatoly Sokolov + + PR target/28902 + * config/avr/avr.h (TARGET_VTABLE_ENTRY_ALIGN): Define. + 2007-09-01 Nick Clifton * COPYING3, COPYING3.LIB: New files. diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h index f7e1444d7fe8..df5bf3e7d82b 100644 --- a/gcc/config/avr/avr.h +++ b/gcc/config/avr/avr.h @@ -95,6 +95,7 @@ extern GTY(()) section *progmem_section; /* No data type wants to be aligned rounder than this. */ #define BIGGEST_ALIGNMENT 8 +#define TARGET_VTABLE_ENTRY_ALIGN 8 #define STRICT_ALIGNMENT 0 -- 2.47.2