aboutsummaryrefslogtreecommitdiff
path: root/devel/avr-gcc-3/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/avr-gcc-3/files')
-rw-r--r--devel/avr-gcc-3/files/patch-aa12
-rw-r--r--devel/avr-gcc-3/files/patch-ab302
-rw-r--r--devel/avr-gcc-3/files/patch-ac12
-rw-r--r--devel/avr-gcc-3/files/patch-ad12
-rw-r--r--devel/avr-gcc-3/files/patch-binary-constants120
-rw-r--r--devel/avr-gcc-3/files/patch-dwarfdebug8
-rw-r--r--devel/avr-gcc-3/files/patch-newdevices169
7 files changed, 0 insertions, 635 deletions
diff --git a/devel/avr-gcc-3/files/patch-aa b/devel/avr-gcc-3/files/patch-aa
deleted file mode 100644
index 8fe15263247a..000000000000
--- a/devel/avr-gcc-3/files/patch-aa
+++ /dev/null
@@ -1,12 +0,0 @@
---- libiberty/Makefile.in.orig Wed Jan 14 22:27:28 2004
-+++ libiberty/Makefile.in Wed Apr 21 11:14:30 2004
-@@ -267,7 +267,8 @@
- @MAINT@ echo stamp > stamp-functions
-
- INSTALL_DEST = @INSTALL_DEST@
--install: install_to_$(INSTALL_DEST) install-subdir
-+#install: install_to_$(INSTALL_DEST) install-subdir
-+install:
-
- install_to_libdir: all
- ${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
diff --git a/devel/avr-gcc-3/files/patch-ab b/devel/avr-gcc-3/files/patch-ab
deleted file mode 100644
index 9ebf9649b5e2..000000000000
--- a/devel/avr-gcc-3/files/patch-ab
+++ /dev/null
@@ -1,302 +0,0 @@
---- Makefile.in.orig Wed Jan 14 21:09:37 2004
-+++ Makefile.in Wed Apr 21 12:27:58 2004
-@@ -595,23 +595,7 @@
- maybe-configure-libtermcap \
- maybe-configure-utils
- .PHONY: configure-target
--configure-target: \
-- maybe-configure-target-libstdc++-v3 \
-- maybe-configure-target-newlib \
-- maybe-configure-target-libf2c \
-- maybe-configure-target-libobjc \
-- maybe-configure-target-libtermcap \
-- maybe-configure-target-winsup \
-- maybe-configure-target-libgloss \
-- maybe-configure-target-libiberty \
-- maybe-configure-target-gperf \
-- maybe-configure-target-examples \
-- maybe-configure-target-libffi \
-- maybe-configure-target-libjava \
-- maybe-configure-target-zlib \
-- maybe-configure-target-boehm-gc \
-- maybe-configure-target-qthreads \
-- maybe-configure-target-rda
-+configure-target:
-
- # The target built for a native build.
- .PHONY: all.normal
-@@ -684,23 +668,7 @@
- maybe-all-libtermcap \
- maybe-all-utils
- .PHONY: all-target
--all-target: \
-- maybe-all-target-libstdc++-v3 \
-- maybe-all-target-newlib \
-- maybe-all-target-libf2c \
-- maybe-all-target-libobjc \
-- maybe-all-target-libtermcap \
-- maybe-all-target-winsup \
-- maybe-all-target-libgloss \
-- maybe-all-target-libiberty \
-- maybe-all-target-gperf \
-- maybe-all-target-examples \
-- maybe-all-target-libffi \
-- maybe-all-target-libjava \
-- maybe-all-target-zlib \
-- maybe-all-target-boehm-gc \
-- maybe-all-target-qthreads \
-- maybe-all-target-rda
-+all-target:
-
- # Do a target for all the subdirectories. A ``make do-X'' will do a
- # ``make X'' in all subdirectories (because, in general, there is a
-@@ -778,23 +746,7 @@
- maybe-info-utils
-
- .PHONY: info-target
--info-target: \
-- maybe-info-target-libstdc++-v3 \
-- maybe-info-target-newlib \
-- maybe-info-target-libf2c \
-- maybe-info-target-libobjc \
-- maybe-info-target-libtermcap \
-- maybe-info-target-winsup \
-- maybe-info-target-libgloss \
-- maybe-info-target-libiberty \
-- maybe-info-target-gperf \
-- maybe-info-target-examples \
-- maybe-info-target-libffi \
-- maybe-info-target-libjava \
-- maybe-info-target-zlib \
-- maybe-info-target-boehm-gc \
-- maybe-info-target-qthreads \
-- maybe-info-target-rda
-+info-target:
-
- # GCC, the eternal special case
- .PHONY: maybe-info-gcc info-gcc
-@@ -2654,23 +2606,7 @@
- maybe-dvi-utils
-
- .PHONY: dvi-target
--dvi-target: \
-- maybe-dvi-target-libstdc++-v3 \
-- maybe-dvi-target-newlib \
-- maybe-dvi-target-libf2c \
-- maybe-dvi-target-libobjc \
-- maybe-dvi-target-libtermcap \
-- maybe-dvi-target-winsup \
-- maybe-dvi-target-libgloss \
-- maybe-dvi-target-libiberty \
-- maybe-dvi-target-gperf \
-- maybe-dvi-target-examples \
-- maybe-dvi-target-libffi \
-- maybe-dvi-target-libjava \
-- maybe-dvi-target-zlib \
-- maybe-dvi-target-boehm-gc \
-- maybe-dvi-target-qthreads \
-- maybe-dvi-target-rda
-+dvi-target:
-
- # GCC, the eternal special case
- .PHONY: maybe-dvi-gcc dvi-gcc
-@@ -4530,23 +4466,7 @@
- maybe-TAGS-utils
-
- .PHONY: TAGS-target
--TAGS-target: \
-- maybe-TAGS-target-libstdc++-v3 \
-- maybe-TAGS-target-newlib \
-- maybe-TAGS-target-libf2c \
-- maybe-TAGS-target-libobjc \
-- maybe-TAGS-target-libtermcap \
-- maybe-TAGS-target-winsup \
-- maybe-TAGS-target-libgloss \
-- maybe-TAGS-target-libiberty \
-- maybe-TAGS-target-gperf \
-- maybe-TAGS-target-examples \
-- maybe-TAGS-target-libffi \
-- maybe-TAGS-target-libjava \
-- maybe-TAGS-target-zlib \
-- maybe-TAGS-target-boehm-gc \
-- maybe-TAGS-target-qthreads \
-- maybe-TAGS-target-rda
-+TAGS-target:
-
- # GCC, the eternal special case
- .PHONY: maybe-TAGS-gcc TAGS-gcc
-@@ -6406,23 +6326,7 @@
- maybe-install-info-utils
-
- .PHONY: install-info-target
--install-info-target: \
-- maybe-install-info-target-libstdc++-v3 \
-- maybe-install-info-target-newlib \
-- maybe-install-info-target-libf2c \
-- maybe-install-info-target-libobjc \
-- maybe-install-info-target-libtermcap \
-- maybe-install-info-target-winsup \
-- maybe-install-info-target-libgloss \
-- maybe-install-info-target-libiberty \
-- maybe-install-info-target-gperf \
-- maybe-install-info-target-examples \
-- maybe-install-info-target-libffi \
-- maybe-install-info-target-libjava \
-- maybe-install-info-target-zlib \
-- maybe-install-info-target-boehm-gc \
-- maybe-install-info-target-qthreads \
-- maybe-install-info-target-rda
-+install-info-target:
-
- # GCC, the eternal special case
- .PHONY: maybe-install-info-gcc install-info-gcc
-@@ -8363,23 +8267,7 @@
- maybe-installcheck-utils
-
- .PHONY: installcheck-target
--installcheck-target: \
-- maybe-installcheck-target-libstdc++-v3 \
-- maybe-installcheck-target-newlib \
-- maybe-installcheck-target-libf2c \
-- maybe-installcheck-target-libobjc \
-- maybe-installcheck-target-libtermcap \
-- maybe-installcheck-target-winsup \
-- maybe-installcheck-target-libgloss \
-- maybe-installcheck-target-libiberty \
-- maybe-installcheck-target-gperf \
-- maybe-installcheck-target-examples \
-- maybe-installcheck-target-libffi \
-- maybe-installcheck-target-libjava \
-- maybe-installcheck-target-zlib \
-- maybe-installcheck-target-boehm-gc \
-- maybe-installcheck-target-qthreads \
-- maybe-installcheck-target-rda
-+installcheck-target:
-
- # GCC, the eternal special case
- .PHONY: maybe-installcheck-gcc installcheck-gcc
-@@ -10239,23 +10127,7 @@
- maybe-mostlyclean-utils
-
- .PHONY: mostlyclean-target
--mostlyclean-target: \
-- maybe-mostlyclean-target-libstdc++-v3 \
-- maybe-mostlyclean-target-newlib \
-- maybe-mostlyclean-target-libf2c \
-- maybe-mostlyclean-target-libobjc \
-- maybe-mostlyclean-target-libtermcap \
-- maybe-mostlyclean-target-winsup \
-- maybe-mostlyclean-target-libgloss \
-- maybe-mostlyclean-target-libiberty \
-- maybe-mostlyclean-target-gperf \
-- maybe-mostlyclean-target-examples \
-- maybe-mostlyclean-target-libffi \
-- maybe-mostlyclean-target-libjava \
-- maybe-mostlyclean-target-zlib \
-- maybe-mostlyclean-target-boehm-gc \
-- maybe-mostlyclean-target-qthreads \
-- maybe-mostlyclean-target-rda
-+mostlyclean-target:
-
- # GCC, the eternal special case
- .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
-@@ -11992,23 +11864,7 @@
- maybe-clean-utils
-
- .PHONY: clean-target
--clean-target: \
-- maybe-clean-target-libstdc++-v3 \
-- maybe-clean-target-newlib \
-- maybe-clean-target-libf2c \
-- maybe-clean-target-libobjc \
-- maybe-clean-target-libtermcap \
-- maybe-clean-target-winsup \
-- maybe-clean-target-libgloss \
-- maybe-clean-target-libiberty \
-- maybe-clean-target-gperf \
-- maybe-clean-target-examples \
-- maybe-clean-target-libffi \
-- maybe-clean-target-libjava \
-- maybe-clean-target-zlib \
-- maybe-clean-target-boehm-gc \
-- maybe-clean-target-qthreads \
-- maybe-clean-target-rda
-+clean-target:
-
- # GCC, the eternal special case
- .PHONY: maybe-clean-gcc clean-gcc
-@@ -13759,23 +13615,7 @@
- maybe-distclean-utils
-
- .PHONY: distclean-target
--distclean-target: \
-- maybe-distclean-target-libstdc++-v3 \
-- maybe-distclean-target-newlib \
-- maybe-distclean-target-libf2c \
-- maybe-distclean-target-libobjc \
-- maybe-distclean-target-libtermcap \
-- maybe-distclean-target-winsup \
-- maybe-distclean-target-libgloss \
-- maybe-distclean-target-libiberty \
-- maybe-distclean-target-gperf \
-- maybe-distclean-target-examples \
-- maybe-distclean-target-libffi \
-- maybe-distclean-target-libjava \
-- maybe-distclean-target-zlib \
-- maybe-distclean-target-boehm-gc \
-- maybe-distclean-target-qthreads \
-- maybe-distclean-target-rda
-+distclean-target:
-
- # GCC, the eternal special case
- .PHONY: maybe-distclean-gcc distclean-gcc
-@@ -15526,23 +15366,7 @@
- maybe-maintainer-clean-utils
-
- .PHONY: maintainer-clean-target
--maintainer-clean-target: \
-- maybe-maintainer-clean-target-libstdc++-v3 \
-- maybe-maintainer-clean-target-newlib \
-- maybe-maintainer-clean-target-libf2c \
-- maybe-maintainer-clean-target-libobjc \
-- maybe-maintainer-clean-target-libtermcap \
-- maybe-maintainer-clean-target-winsup \
-- maybe-maintainer-clean-target-libgloss \
-- maybe-maintainer-clean-target-libiberty \
-- maybe-maintainer-clean-target-gperf \
-- maybe-maintainer-clean-target-examples \
-- maybe-maintainer-clean-target-libffi \
-- maybe-maintainer-clean-target-libjava \
-- maybe-maintainer-clean-target-zlib \
-- maybe-maintainer-clean-target-boehm-gc \
-- maybe-maintainer-clean-target-qthreads \
-- maybe-maintainer-clean-target-rda
-+maintainer-clean-target:
-
- # GCC, the eternal special case
- .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
-@@ -17526,23 +17350,7 @@
- maybe-install-utils
-
- .PHONY: install-target
--install-target: \
-- maybe-install-target-libstdc++-v3 \
-- maybe-install-target-newlib \
-- maybe-install-target-libf2c \
-- maybe-install-target-libobjc \
-- maybe-install-target-libtermcap \
-- maybe-install-target-winsup \
-- maybe-install-target-libgloss \
-- maybe-install-target-libiberty \
-- maybe-install-target-gperf \
-- maybe-install-target-examples \
-- maybe-install-target-libffi \
-- maybe-install-target-libjava \
-- maybe-install-target-zlib \
-- maybe-install-target-boehm-gc \
-- maybe-install-target-qthreads \
-- maybe-install-target-rda
-+install-target:
-
- uninstall:
- @echo "the uninstall target is not supported in this tree"
diff --git a/devel/avr-gcc-3/files/patch-ac b/devel/avr-gcc-3/files/patch-ac
deleted file mode 100644
index a1826c113722..000000000000
--- a/devel/avr-gcc-3/files/patch-ac
+++ /dev/null
@@ -1,12 +0,0 @@
---- configure.in.orig Mon Mar 1 20:27:33 2004
-+++ configure.in Wed Apr 21 11:14:31 2004
-@@ -428,6 +428,9 @@
- arm-*-pe*)
- noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
- ;;
-+ avr-*-*)
-+ noconfigdirs="$noconfigdirs ${libstdcxx_version} target-libglosstarget-libiberty"
-+ ;;
- arm-*-oabi*)
- noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
- ;;
diff --git a/devel/avr-gcc-3/files/patch-ad b/devel/avr-gcc-3/files/patch-ad
deleted file mode 100644
index 05c5c3a7407f..000000000000
--- a/devel/avr-gcc-3/files/patch-ad
+++ /dev/null
@@ -1,12 +0,0 @@
---- config.guess.orig Sun Feb 22 15:44:23 2004
-+++ config.guess Wed Apr 21 15:10:25 2004
-@@ -792,6 +792,9 @@
- #endif
- EOF
- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
-+ if [ ".$UNAME_MACHINE" = ".amd64" ] ; then
-+ UNAME_MACHINE=x86_64
-+ fi
- # GNU/KFreeBSD systems have a "k" prefix to indicate we are using
- # FreeBSD's kernel, but not the complete OS.
- case ${LIBC} in gnu) kernel_only='k' ;; esac
diff --git a/devel/avr-gcc-3/files/patch-binary-constants b/devel/avr-gcc-3/files/patch-binary-constants
deleted file mode 100644
index 57dd9abe8d75..000000000000
--- a/devel/avr-gcc-3/files/patch-binary-constants
+++ /dev/null
@@ -1,120 +0,0 @@
---- gcc/cpplib.h.orig Mon Feb 9 13:23:51 2004
-+++ gcc/cpplib.h Thu Apr 29 12:24:10 2004
-@@ -630,6 +630,7 @@
- #define CPP_N_DECIMAL 0x0100
- #define CPP_N_HEX 0x0200
- #define CPP_N_OCTAL 0x0400
-+#define CPP_N_BINARY 0x0800
-
- #define CPP_N_UNSIGNED 0x1000 /* Properties. */
- #define CPP_N_IMAGINARY 0x2000
---- gcc/cppexp.c.orig Thu Feb 12 00:52:56 2004
-+++ gcc/cppexp.c Thu Apr 29 12:29:40 2004
-@@ -22,6 +22,9 @@
- #include "system.h"
- #include "cpplib.h"
- #include "cpphash.h"
-+#include "flags.h"
-+#include "coretypes.h"
-+#include "toplev.h"
-
- #define PART_PRECISION (sizeof (cpp_num_part) * CHAR_BIT)
- #define HALF_MASK (~(cpp_num_part) 0 >> (PART_PRECISION / 2))
-@@ -75,6 +78,9 @@
- #define SYNTAX_ERROR2(msgid, arg) \
- do { cpp_error (pfile, CPP_DL_ERROR, msgid, arg); goto syntax_error; } \
- while(0)
-+#define SYNTAX_ERROR3(msgid, arg1, arg2) \
-+ do { cpp_error (pfile, CPP_DL_ERROR, msgid, arg1, arg2); goto syntax_error; } \
-+ while(0)
-
- /* Subroutine of cpp_classify_number. S points to a float suffix of
- length LEN, possibly zero. Returns 0 for an invalid suffix, or a
-@@ -171,6 +177,11 @@
- radix = 16;
- str++;
- }
-+ else if ((*str == 'b' || *str == 'B') && (str[1] == '0' || str[1] == '1'))
-+ {
-+ radix = 2;
-+ str++;
-+ }
- }
-
- /* Now scan for a well-formed integer or float. */
-@@ -209,7 +220,8 @@
- radix = 10;
-
- if (max_digit >= radix)
-- SYNTAX_ERROR2 ("invalid digit \"%c\" in octal constant", '0' + max_digit);
-+ SYNTAX_ERROR3 ("invalid digit \"%c\" in %s constant", '0' + max_digit,
-+ radix == 2? "binary": "octal");
-
- if (float_flag != NOT_FLOAT)
- {
-@@ -288,11 +300,16 @@
- if ((result & CPP_N_IMAGINARY) && CPP_PEDANTIC (pfile))
- cpp_error (pfile, CPP_DL_PEDWARN,
- "imaginary constants are a GCC extension");
-+ if (radix == 2 && CPP_PEDANTIC (pfile))
-+ cpp_error (pfile, CPP_DL_PEDWARN,
-+ "binary constants are a GCC extension");
-
- if (radix == 10)
- result |= CPP_N_DECIMAL;
- else if (radix == 16)
- result |= CPP_N_HEX;
-+ else if (radix == 2)
-+ result |= CPP_N_BINARY;
- else
- result |= CPP_N_OCTAL;
-
-@@ -341,6 +358,11 @@
- else if ((type & CPP_N_RADIX) == CPP_N_HEX)
- {
- base = 16;
-+ p += 2;
-+ }
-+ else if ((type & CPP_N_RADIX) == CPP_N_BINARY)
-+ {
-+ base = 2;
- p += 2;
- }
-
---- gcc/doc/extend.texi.orig Wed Jun 9 20:31:59 2004
-+++ gcc/doc/extend.texi Wed Jul 7 20:51:58 2004
-@@ -475,6 +475,7 @@
- * Pragmas:: Pragmas accepted by GCC.
- * Unnamed Fields:: Unnamed struct/union fields within structs/unions.
- * Thread-Local:: Per-thread variables.
-+* Binary constants:: Binary constants using the `0b' prefix.
- @end menu
-
- @node Statement Exprs
-@@ -7648,6 +7649,26 @@
- Non-@code{static} members shall not be @code{__thread}.
- @end quotation
- @end itemize
-+
-+@node Binary constants
-+@section Binary constants using the `0b' prefix
-+@cindex Binary constants using the `0b' prefix
-+
-+@emph{Note:} This is currently a private extension of AVR-GCC.
-+
-+Integer constants can be written as binary constants, consisting of a
-+sequence of `0' and `1' digits, prefixed by `0b'. This is
-+particularly useful in environments that operate a lot on the
-+bit-level (like microcontrollers).
-+
-+The following statements are identical:
-+
-+@smallexample
-+i = 42;
-+i = 0x2a;
-+i = 052;
-+i = 0b101010;
-+@end smallexample
-
- @node C++ Extensions
- @chapter Extensions to the C++ Language
diff --git a/devel/avr-gcc-3/files/patch-dwarfdebug b/devel/avr-gcc-3/files/patch-dwarfdebug
deleted file mode 100644
index 4663f984f160..000000000000
--- a/devel/avr-gcc-3/files/patch-dwarfdebug
+++ /dev/null
@@ -1,8 +0,0 @@
---- gcc/config/avr/avr.h.orig Tue Mar 9 03:59:55 2004
-+++ gcc/config/avr/avr.h Sun Jul 4 21:46:12 2004
-@@ -2479,4 +2479,5 @@
- /* zero register r1 */
- #define ZERO_REGNO 1
-
-+#define DWARF2_DEBUGGING_INFO 1
- #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
diff --git a/devel/avr-gcc-3/files/patch-newdevices b/devel/avr-gcc-3/files/patch-newdevices
deleted file mode 100644
index 34232e1472d4..000000000000
--- a/devel/avr-gcc-3/files/patch-newdevices
+++ /dev/null
@@ -1,169 +0,0 @@
-diff -ur ../gcc-3.4.4-orig/gcc/config/avr/avr.c ./gcc/config/avr/avr.c
---- ../gcc-3.4.4-orig/gcc/config/avr/avr.c 2005-03-20 22:14:28.000000000 +0100
-+++ ./gcc/config/avr/avr.c 2005-08-16 11:57:05.000000000 +0200
-@@ -175,6 +175,12 @@
- { "at90c8534", 2, "__AVR_AT90C8534__" },
- { "at90s8535", 2, "__AVR_AT90S8535__" },
- { "at86rf401", 2, "__AVR_AT86RF401__" },
-+ /* Classic + MOVW, <= 8K. */
-+ { "attiny13", 2, "__AVR_ATtiny13__" },
-+ { "attiny2313", 2, "__AVR_ATtiny2313__" },
-+ { "attiny25", 2, "__AVR_ATtiny25__" },
-+ { "attiny45", 2, "__AVR_ATtiny45__" },
-+ { "attiny85", 2, "__AVR_ATtiny85__" },
- /* Classic, > 8K. */
- { "avr3", 3, NULL },
- { "atmega103", 3, "__AVR_ATmega103__" },
-@@ -185,19 +191,36 @@
- /* Enhanced, <= 8K. */
- { "avr4", 4, NULL },
- { "atmega8", 4, "__AVR_ATmega8__" },
-+ { "atmega48", 4, "__AVR_ATmega48__" },
-+ { "atmega88", 4, "__AVR_ATmega88__" },
- { "atmega8515", 4, "__AVR_ATmega8515__" },
- { "atmega8535", 4, "__AVR_ATmega8535__" },
-+ { "at90pwm2", 4, "__AVR_AT90PWM2__" },
-+ { "at90pwm3", 4, "__AVR_AT90PWM3__" },
- /* Enhanced, > 8K. */
- { "avr5", 5, NULL },
- { "atmega16", 5, "__AVR_ATmega16__" },
- { "atmega161", 5, "__AVR_ATmega161__" },
- { "atmega162", 5, "__AVR_ATmega162__" },
- { "atmega163", 5, "__AVR_ATmega163__" },
-+ { "atmega164", 5, "__AVR_ATmega164__" },
-+ { "atmega168", 5, "__AVR_ATmega168__" },
- { "atmega169", 5, "__AVR_ATmega169__" },
- { "atmega32", 5, "__AVR_ATmega32__" },
- { "atmega323", 5, "__AVR_ATmega323__" },
-+ { "atmega324", 5, "__AVR_ATmega324__" },
-+ { "atmega325", 5, "__AVR_ATmega325__" },
-+ { "atmega3250", 5, "__AVR_ATmega3250__" },
-+ { "atmega329", 5, "__AVR_ATmega329__" },
-+ { "atmega3290", 5, "__AVR_ATmega3290__" },
- { "atmega64", 5, "__AVR_ATmega64__" },
-+ { "atmega644", 5, "__AVR_ATmega644__" },
-+ { "atmega645", 5, "__AVR_ATmega645__" },
-+ { "atmega6450", 5, "__AVR_ATmega6450__" },
-+ { "atmega649", 5, "__AVR_ATmega649__" },
-+ { "atmega6490", 5, "__AVR_ATmega6490__" },
- { "atmega128", 5, "__AVR_ATmega128__" },
-+ { "at90can128", 5, "__AVR_AT90CAN128__" },
- { "at94k", 5, "__AVR_AT94K__" },
- /* Assembler only. */
- { "avr1", 1, NULL },
-diff -ur ../gcc-3.4.4-orig/gcc/config/avr/avr.h ./gcc/config/avr/avr.h
---- ../gcc-3.4.4-orig/gcc/config/avr/avr.h 2004-03-09 03:59:55.000000000 +0100
-+++ ./gcc/config/avr/avr.h 2005-08-16 11:58:10.000000000 +0200
-@@ -2351,12 +2351,12 @@
- Do not define this macro if it does not need to do anything. */
-
- #define LINK_SPEC " %{!mmcu*:-m avr2}\
--%{mmcu=at90s1200|mmcu=attiny1*|mmcu=attiny28:-m avr1} \
--%{mmcu=attiny22|mmcu=attiny26|mmcu=at90s2*|mmcu=at90s4*|mmcu=at90s8*|mmcu=at90c8*|mmcu=at86rf401:-m avr2}\
-+%{mmcu=at90s1200|mmcu=attiny11|mmcu=attiny12|mmcu=attiny15|mmcu=attiny28:-m avr1} \
-+%{mmcu=attiny22|mmcu=attiny26|mmcu=at90s2*|mmcu=at90s4*|mmcu=at90s8*|mmcu=at90c8*|mmcu=at86rf401|mmcu=attiny13|mmcu=attiny2313|mmcu=attiny25|mmcu=attiny45|mmcu=attiny85:-m avr2}\
- %{mmcu=atmega103|mmcu=atmega603|mmcu=at43*|mmcu=at76*:-m avr3}\
--%{mmcu=atmega8*:-m avr4}\
--%{mmcu=atmega16*|mmcu=atmega32*|mmcu=atmega64|mmcu=atmega128|mmcu=at94k:-m avr5}\
--%{mmcu=atmega64|mmcu=atmega128|mmcu=atmega162|mmcu=atmega169: -Tdata 0x800100} "
-+%{mmcu=atmega8*|mmcu=atmega48|mmcu=at90pwm*:-m avr4}\
-+%{mmcu=atmega16*|mmcu=atmega32*|mmcu=atmega64*|mmcu=atmega128|mmcu=at90can128|mmcu=at94k:-m avr5}\
-+%{mmcu=atmega324|mmcu=atmega325|mmcu=atmega3250|mmcu=atmega329|mmcu=atmega3290|mmcu=atmega48|mmcu=atmega88|mmcu=atmega64|mmcu=atmega644|mmcu=atmega645|mmcu=atmega6450|mmcu=atmega649|mmcu=atmega6490|mmcu=atmega128|mmcu=at90can128|mmcu=atmega162|mmcu=atmega164|mmcu=atmega168|mmcu=atmega169|mmcu=at90pwm*: -Tdata 0x800100} "
-
- /* A C string constant that tells the GCC driver program options to
- pass to the linker. It can also specify how to translate options
-@@ -2365,7 +2365,7 @@
- Do not define this macro if it does not need to do anything. */
-
- #define LIB_SPEC \
-- "%{!mmcu=at90s1*:%{!mmcu=attiny1*:%{!mmcu=attiny28: -lc }}}"
-+ "%{!mmcu=at90s1*:%{!mmcu=attiny11:%{!mmcu=attiny12:%{!mmcu=attiny15:%{!mmcu=attiny28: -lc }}}}}"
- /* Another C string constant used much like `LINK_SPEC'. The
- difference between the two is that `LIB_SPEC' is used at the end
- of the command given to the linker.
-@@ -2377,7 +2377,7 @@
- /* No libstdc++ for now. Empty string doesn't work. */
-
- #define LIBGCC_SPEC \
-- "%{!mmcu=at90s1*:%{!mmcu=attiny1*:%{!mmcu=attiny28: -lgcc }}}"
-+ "%{!mmcu=at90s1*:%{!mmcu=attiny11:%{!mmcu=attiny12:%{!mmcu=attiny15:%{!mmcu=attiny28: -lgcc }}}}}"
- /* Another C string constant that tells the GCC driver program how
- and when to place a reference to `libgcc.a' into the linker
- command line. This constant is placed both before and after the
-@@ -2421,23 +2421,45 @@
- %{mmcu=at90c8534:crtc8534.o%s} \
- %{mmcu=at90s8535:crts8535.o%s} \
- %{mmcu=at86rf401:crt86401.o%s} \
-+%{mmcu=attiny13:crttn13.o%s} \
-+%{mmcu=attiny2313:crttn2313.o%s} \
-+%{mmcu=attiny25:crttn25.o%s} \
-+%{mmcu=attiny45:crttn45.o%s} \
-+%{mmcu=attiny85:crttn85.o%s} \
- %{mmcu=atmega103|mmcu=avr3:crtm103.o%s} \
- %{mmcu=atmega603:crtm603.o%s} \
- %{mmcu=at43usb320:crt43320.o%s} \
- %{mmcu=at43usb355:crt43355.o%s} \
- %{mmcu=at76c711:crt76711.o%s} \
- %{mmcu=atmega8|mmcu=avr4:crtm8.o%s} \
-+%{mmcu=atmega48:crtm48.o%s} \
-+%{mmcu=atmega88:crtm88.o%s} \
- %{mmcu=atmega8515:crtm8515.o%s} \
- %{mmcu=atmega8535:crtm8535.o%s} \
-+%{mmcu=at90pwm2:crt90pwm2.o%s} \
-+%{mmcu=at90pwm3:crt90pwm3.o%s} \
- %{mmcu=atmega16:crtm16.o%s} \
- %{mmcu=atmega161|mmcu=avr5:crtm161.o%s} \
- %{mmcu=atmega162:crtm162.o%s} \
- %{mmcu=atmega163:crtm163.o%s} \
-+%{mmcu=atmega164:crtm164.o%s} \
-+%{mmcu=atmega168:crtm168.o%s} \
- %{mmcu=atmega169:crtm169.o%s} \
- %{mmcu=atmega32:crtm32.o%s} \
- %{mmcu=atmega323:crtm323.o%s} \
-+%{mmcu=atmega324:crtm324.o%s} \
-+%{mmcu=atmega325:crtm325.o%s} \
-+%{mmcu=atmega3250:crtm3250.o%s} \
-+%{mmcu=atmega329:crtm329.o%s} \
-+%{mmcu=atmega3290:crtm3290.o%s} \
- %{mmcu=atmega64:crtm64.o%s} \
-+%{mmcu=atmega644:crtm644.o%s} \
-+%{mmcu=atmega645:crtm645.o%s} \
-+%{mmcu=atmega6450:crtm6450.o%s} \
-+%{mmcu=atmega649:crtm649.o%s} \
-+%{mmcu=atmega6490:crtm6490.o%s} \
- %{mmcu=atmega128:crtm128.o%s} \
-+%{mmcu=at90can128:crtcan128.o%s} \
- %{mmcu=at94k:crtat94k.o%s}"
-
- #define EXTRA_SPECS {"crt_binutils", CRT_BINUTILS_SPECS},
-diff -ur ../gcc-3.4.4-orig/gcc/config/avr/t-avr ./gcc/config/avr/t-avr
---- ../gcc-3.4.4-orig/gcc/config/avr/t-avr 2005-04-25 06:17:34.000000000 +0200
-+++ ./gcc/config/avr/t-avr 2005-08-16 11:57:05.000000000 +0200
-@@ -46,13 +46,22 @@
- mmcu?avr3=mmcu?at43usb320 mmcu?avr3=mmcu?at43usb355 \
- mmcu?avr3=mmcu?at76c711 \
- mmcu?avr4=mmcu?atmega8515 mmcu?avr4=mmcu?atmega8535 \
-- mmcu?avr4=mmcu?atmega8 \
-+ mmcu?avr4=mmcu?atmega8 mmcu?avr4=mmcu?atmega48 \
-+ mmcu?avr4=mmcu?atmega88 \
-+ mmcu?avr4=mmcu?at90pwm2 mmcu?avr4=mmcu?at90pwm3 \
- mmcu?avr5=mmcu?atmega161 mmcu?avr5=mmcu?atmega162 \
-- mmcu?avr5=mmcu?atmega163 mmcu?avr5=mmcu?atmega169 \
-+ mmcu?avr5=mmcu?atmega163 mmcu?avr5=mmcu?atmega164 \
-+ mmcu?avr5=mmcu?atmega168 mmcu?avr5=mmcu?atmega169 \
- mmcu?avr5=mmcu?atmega16 \
-- mmcu?avr5=mmcu?atmega323 mmcu?avr5=mmcu?atmega32 \
-- mmcu?avr5=mmcu?atmega64 mmcu?avr5=mmcu?atmega128 \
-- mmcu?avr5=mmcu?at94k
-+ mmcu?avr5=mmcu?atmega323 mmcu?avr5=mmcu?atmega324 \
-+ mmcu?avr5=mmcu?atmega325 mmcu?avr5=mmcu?atmega3250 \
-+ mmcu?avr5=mmcu?atmega329 mmcu?avr5=mmcu?atmega3290 \
-+ mmcu?avr5=mmcu?atmega32 \
-+ mmcu?avr5=mmcu?atmega644 mmcu?avr5=mmcu?atmega645 \
-+ mmcu?avr5=mmcu?atmega6450 mmcu?avr5=mmcu?atmega649 \
-+ mmcu?avr5=mmcu?atmega6490 mmcu?avr5=mmcu?atmega64 \
-+ mmcu?avr5=mmcu?atmega128 \
-+ mmcu?avr5=mmcu?at94k mmcu?avr5=mmcu?at90can128
-
- MULTILIB_EXCEPTIONS =
-