summaryrefslogtreecommitdiff
path: root/devel/avr-gcc/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/avr-gcc/files')
-rw-r--r--devel/avr-gcc/files/patch-16bitassign13
-rw-r--r--devel/avr-gcc/files/patch-no-c++-excepts20
2 files changed, 33 insertions, 0 deletions
diff --git a/devel/avr-gcc/files/patch-16bitassign b/devel/avr-gcc/files/patch-16bitassign
new file mode 100644
index 000000000000..6a5659c18290
--- /dev/null
+++ b/devel/avr-gcc/files/patch-16bitassign
@@ -0,0 +1,13 @@
+--- gcc/config/avr/avr.c.orig Mon Aug 12 15:13:56 2002
++++ gcc/config/avr/avr.c Thu Aug 29 12:53:14 2002
+@@ -2711,8 +2711,8 @@
+ }
+ }
+ else
+- return *l=2, (AS2 (st ,%0,%A1) CR_TAB
+- AS2 (std,%0+1,%B1));
++ return *l=2, (AS2 (std,%0+1,%B1) CR_TAB
++ AS2 (st ,%0,%A1));
+ }
+ else if (GET_CODE (base) == PLUS)
+ {
diff --git a/devel/avr-gcc/files/patch-no-c++-excepts b/devel/avr-gcc/files/patch-no-c++-excepts
new file mode 100644
index 000000000000..d738b8228f20
--- /dev/null
+++ b/devel/avr-gcc/files/patch-no-c++-excepts
@@ -0,0 +1,20 @@
+Index: gcc/config/avr/avr.h
+===================================================================
+RCS file: /cvsroot/gcc/gcc/gcc/config/avr/avr.h,v
+retrieving revision 1.66
+diff -u -r1.66 avr.h
+--- gcc/config/avr/avr.h 11 Aug 2002 18:48:50 -0000 1.66
++++ gcc/config/avr/avr.h 28 Aug 2002 21:12:06 -0000
+@@ -2523,6 +2523,12 @@
+
+ Do not define this macro if it does not need to do anything. */
+
++#define CC1PLUS_SPEC "%{!frtti:-fno-rtti} \
++ %{!fenforce-eh-specs:-fno-enforce-eh-specs} \
++ %{!fexceptions:-fno-exceptions}"
++/* A C string constant that tells the GNU CC drvier program options to
++ pass to `cc1plus'. */
++
+ #define ASM_SPEC "%{mmcu=*:-mmcu=%*}"
+ /* A C string constant that tells the GNU CC driver program options to
+ pass to the assembler. It can also specify how to translate