aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatoly Sokolov <aesok@post.ru>2007-09-04 00:35:10 +0400
committerAnatoly Sokolov <aesok@gcc.gnu.org>2007-09-04 00:35:10 +0400
commit93976860d0239acf537aa3cd902f69e7b708d95d (patch)
tree3497850eac3e29a8fdd263a104d96d496dda1458
parenta3324f269ebfcd6208b0f493862ec3b8162cdf8e (diff)
downloadgcc-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/ChangeLog5
-rw-r--r--gcc/config/avr/avr.h1
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