summarylogtreecommitdiffstats
path: root/rfa1.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 /rfa1.patch
downloadaur-gcc-avr-tinyos.tar.gz
first commit
Diffstat (limited to 'rfa1.patch')
-rw-r--r--rfa1.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/rfa1.patch b/rfa1.patch
new file mode 100644
index 00000000000..4cd079c90cf
--- /dev/null
+++ b/rfa1.patch
@@ -0,0 +1,41 @@
+diff -ruN gcc-orig/gcc/config/avr/avr.c gcc-4.1.2/gcc/config/avr/avr.c
+--- gcc/config/avr/avr.c 2011-05-30 17:38:04.000000000 +0200
++++ gcc/config/avr/avr.c 2011-05-30 17:39:57.564303380 +0200
+@@ -241,6 +241,7 @@
+ { "atmega128", 5, "__AVR_ATmega128__" },
+ { "atmega1280",5, "__AVR_ATmega1280__" },
+ { "atmega1281",5, "__AVR_ATmega1281__" },
++ { "atmega128rfa1",5, "__AVR_ATmega128RFA1__" },
+ { "atmega16hva",5, "__AVR_ATmega16HVA__" },
+ { "at90can32", 5, "__AVR_AT90CAN32__" },
+ { "at90can64", 5, "__AVR_AT90CAN64__" },
+diff -ruN gcc-orig/gcc/config/avr/avr.h gcc-4.1.2/gcc/config/avr/avr.h
+--- gcc/config/avr/avr.h 2011-05-30 17:38:04.000000000 +0200
++++ gcc/config/avr/avr.h 2011-05-30 17:42:08.132880519 +0200
+@@ -842,6 +842,7 @@
+ %{mmcu=atmega640|\
+ mmcu=atmega1280|\
+ mmcu=atmega1281|\
++ mmcu=atmega128rfa1|\
+ mmcu=atmega256*: -Tdata 0x800200} "
+
+ #define LIB_SPEC \
+@@ -933,6 +934,7 @@
+ %{mmcu=atmega128:crtm128.o%s} \
+ %{mmcu=atmega1280:crtm1280.o%s} \
+ %{mmcu=atmega1281:crtm1281.o%s} \
++%{mmcu=atmega128rfa1:crtm128rfa1.o%s} \
+ %{mmcu=atmega8hva:crtm8hva.o%s} \
+ %{mmcu=atmega16hva:crtm16hva.o%s} \
+ %{mmcu=atmega2560:crtm2560.o%s} \
+diff -ruN gcc-orig/gcc/config/avr/t-avr gcc-4.1.2/gcc/config/avr/t-avr
+--- gcc/config/avr/t-avr 2011-05-30 17:38:04.000000000 +0200
++++ gcc/config/avr/t-avr 2011-05-30 17:42:43.393833397 +0200
+@@ -90,6 +90,7 @@
+ mmcu?avr5=mmcu?atmega128 \
+ mmcu?avr5=mmcu?atmega1280 \
+ mmcu?avr5=mmcu?atmega1281 \
++ mmcu?avr5=mmcu?atmega128rfa1 \
+ mmcu?avr5=mmcu?atmega16hva \
+ mmcu?avr5=mmcu?at90can32 \
+ mmcu?avr5=mmcu?at90can64 \