summarylogtreecommitdiffstats
path: root/45-gcc-4.1.2-bug-18989.patch
diff options
context:
space:
mode:
authorABDULLATIF Mouhamadi2017-05-24 01:24:14 +0200
committerABDULLATIF Mouhamadi2017-05-24 01:24:14 +0200
commitc7319c9a7fbc00c70bb104ab852eb4182ba6e36e (patch)
tree05f2d0142cd2c4b43754b6e026f706a50d28aab4 /45-gcc-4.1.2-bug-18989.patch
downloadaur-gcc-avr-tinyos.tar.gz
first commit
Diffstat (limited to '45-gcc-4.1.2-bug-18989.patch')
-rw-r--r--45-gcc-4.1.2-bug-18989.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/45-gcc-4.1.2-bug-18989.patch b/45-gcc-4.1.2-bug-18989.patch
new file mode 100644
index 000000000000..698b362a04d5
--- /dev/null
+++ b/45-gcc-4.1.2-bug-18989.patch
@@ -0,0 +1,15 @@
+--- gcc/config/avr/avr.h 2007/04/25 18:45:39 124161
++++ gcc/config/avr/avr.h 2007/04/25 18:52:21 124162
+@@ -690,7 +690,11 @@
+ #define ASM_OUTPUT_SKIP(STREAM, N) \
+ fprintf (STREAM, "\t.skip %lu,0\n", (unsigned long)(N))
+
+-#define ASM_OUTPUT_ALIGN(STREAM, POWER)
++#define ASM_OUTPUT_ALIGN(STREAM, POWER) \
++ do { \
++ if ((POWER) > 1) \
++ fprintf (STREAM, "\t.p2align\t%d\n", POWER); \
++ } while (0)
+
+ #define CASE_VECTOR_MODE HImode
+