diff options
author | Anatoly Sokolov <aesok@post.ru> | 2007-09-04 00:35:10 +0400 |
---|---|---|
committer | Anatoly Sokolov <aesok@gcc.gnu.org> | 2007-09-04 00:35:10 +0400 |
commit | 93976860d0239acf537aa3cd902f69e7b708d95d (patch) | |
tree | 3497850eac3e29a8fdd263a104d96d496dda1458 | |
parent | a3324f269ebfcd6208b0f493862ec3b8162cdf8e (diff) | |
download | gcc-93976860d0239acf537aa3cd902f69e7b708d95d.zip gcc-93976860d0239acf537aa3cd902f69e7b708d95d.tar.gz gcc-93976860d0239acf537aa3cd902f69e7b708d95d.tar.bz2 |
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: r128059
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/avr/avr.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1d12d5d..82dabe4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-09-03 Anatoly Sokolov <aesok@post.ru> + + PR target/28902 + * config/avr/avr.h (TARGET_VTABLE_ENTRY_ALIGN): Define. + 2007-09-03 Zack Weinberg <zack@codesourcery.com> * optabs.c (expand_ffs): Initialize val and defined_at_zero diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h index 7736dfc..362987a 100644 --- a/gcc/config/avr/avr.h +++ b/gcc/config/avr/avr.h @@ -99,6 +99,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 |