devel/avr-gcc has been repocopied to devel/avr-gcc-3, so to make room
for devel/avr-gcc-devel taking over the role of the default AVR-GCC port now.
This commit is contained in:
parent
d10279cb28
commit
1e797b46c4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174588
@ -73,7 +73,7 @@
|
||||
SUBDIR += avarice
|
||||
SUBDIR += avltree
|
||||
SUBDIR += avr-binutils
|
||||
SUBDIR += avr-gcc
|
||||
SUBDIR += avr-gcc-3
|
||||
SUBDIR += avr-gcc-devel
|
||||
SUBDIR += avr-gdb
|
||||
SUBDIR += avr-libc
|
||||
|
@ -5,9 +5,8 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= gcc
|
||||
PORTNAME= gcc-3
|
||||
PORTVERSION= 3.4.6
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_GCC}
|
||||
MASTER_SITES+= http://people.freebsd.org/~joerg/:local
|
||||
|
@ -1,63 +0,0 @@
|
||||
# New ports collection makefile for: avr-gcc
|
||||
# Date created: 29 Nov 2000
|
||||
# Whom: Joerg Wunsch <joerg@freebsd.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= gcc
|
||||
PORTVERSION= 3.4.6
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_GCC}
|
||||
MASTER_SITES+= http://people.freebsd.org/~joerg/:local
|
||||
MASTER_SITE_SUBDIR= releases/${DISTNAME}
|
||||
PKGNAMEPREFIX= avr-
|
||||
DISTFILES= gcc-core-${PORTVERSION}${EXTRACT_SUFX} \
|
||||
gcc-g++-${PORTVERSION}${EXTRACT_SUFX}
|
||||
EXTRACT_ONLY= gcc-core-${PORTVERSION}${EXTRACT_SUFX} \
|
||||
gcc-g++-${PORTVERSION}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= joerg@freebsd.org
|
||||
COMMENT= FSF GCC 3.x for Atmel AVR 8-bit RISC cross-development
|
||||
|
||||
BUILD_DEPENDS= avr-as:${PORTSDIR}/devel/avr-binutils \
|
||||
avr-ld:${PORTSDIR}/devel/avr-binutils
|
||||
RUN_DEPENDS= avr-as:${PORTSDIR}/devel/avr-binutils \
|
||||
avr-ld:${PORTSDIR}/devel/avr-binutils
|
||||
|
||||
WRKSRC= ${WRKDIR}/gcc-${PORTVERSION}
|
||||
|
||||
USE_AUTOTOOLS= autoheader:213
|
||||
USE_PERL5_BUILD= yes
|
||||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
USE_BISON= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CONFLICTS= avr-gcc-devel-4*
|
||||
|
||||
CONFIGURE_ARGS= --target=avr --disable-nls
|
||||
|
||||
MAKE_FLAGS= LANGUAGES="c c++"
|
||||
# get rid of that silly -mcpu=pentiumpro FreeBSD 5+ is so fond of. :-(
|
||||
MAKE_ENV= MACHINE_ARCH=avr
|
||||
|
||||
MAN1= avr-cpp.1 avr-gcc.1 avr-g++.1 avr-gcov.1
|
||||
MAN7= fsf-funding.7 gfdl.7 gpl.7
|
||||
INFO= cpp gcc gccint cppinternals gccinstall
|
||||
|
||||
# As ${FILESDIR}/patch-binary-constants updates the documentation, we need to
|
||||
# recreate it.
|
||||
pre-build:
|
||||
cd ${WRKSRC}/gcc &&\
|
||||
makeinfo -I doc -I doc/include --no-split -o doc/gcc.info doc/gcc.texi
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500600
|
||||
BROKEN= System's Pod::Man too old to generate the documentation.
|
||||
IGNORE= you need a newer version of Perl to build the documentation
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
@ -1,6 +0,0 @@
|
||||
MD5 (gcc-core-3.4.6.tar.bz2) = 5324ace5145b12afd9ca867af7ec084d
|
||||
SHA256 (gcc-core-3.4.6.tar.bz2) = 3aab171d86e5a6c14cb9de35467a0472a7d5ef1d5b79a1df72ca533f8e82a133
|
||||
SIZE (gcc-core-3.4.6.tar.bz2) = 13366790
|
||||
MD5 (gcc-g++-3.4.6.tar.bz2) = ef81fd74bc9fd964120af47243a1360f
|
||||
SHA256 (gcc-g++-3.4.6.tar.bz2) = f186937402752d25317adf2832b0b1d316334e158ae380471ab62509e4ea90b1
|
||||
SIZE (gcc-g++-3.4.6.tar.bz2) = 2511332
|
@ -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)
|
@ -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"
|
@ -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}"
|
||||
;;
|
@ -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
|
@ -1,131 +0,0 @@
|
||||
--- gcc/config/avr/avr.md.orig Sat Mar 19 16:45:41 2005
|
||||
+++ gcc/config/avr/avr.md Thu Mar 2 09:45:36 2006
|
||||
@@ -346,69 +346,75 @@
|
||||
|
||||
;;=========================================================================
|
||||
;; move string (like memcpy)
|
||||
-;; implement as RTL loop
|
||||
|
||||
(define_expand "movstrhi"
|
||||
[(parallel [(set (match_operand:BLK 0 "memory_operand" "")
|
||||
- (match_operand:BLK 1 "memory_operand" ""))
|
||||
- (use (match_operand:HI 2 "const_int_operand" ""))
|
||||
- (use (match_operand:HI 3 "const_int_operand" ""))])]
|
||||
+ (match_operand:BLK 1 "memory_operand" ""))
|
||||
+ (use (match_operand:HI 2 "const_int_operand" ""))
|
||||
+ (use (match_operand:HI 3 "const_int_operand" ""))
|
||||
+ (clobber (match_scratch:HI 4 ""))
|
||||
+ (clobber (match_scratch:HI 5 ""))
|
||||
+ (clobber (match_dup 6))])]
|
||||
""
|
||||
"{
|
||||
- int prob;
|
||||
- HOST_WIDE_INT count;
|
||||
+ rtx addr0, addr1;
|
||||
+ int cnt8;
|
||||
enum machine_mode mode;
|
||||
- rtx label = gen_label_rtx ();
|
||||
- rtx loop_reg;
|
||||
- rtx jump;
|
||||
-
|
||||
- /* Copy pointers into new psuedos - they will be changed. */
|
||||
- rtx addr0 = copy_to_mode_reg (Pmode, XEXP (operands[0], 0));
|
||||
- rtx addr1 = copy_to_mode_reg (Pmode, XEXP (operands[1], 0));
|
||||
-
|
||||
- /* Create rtx for tmp register - we use this as scratch. */
|
||||
- rtx tmp_reg_rtx = gen_rtx_REG (QImode, TMP_REGNO);
|
||||
|
||||
if (GET_CODE (operands[2]) != CONST_INT)
|
||||
FAIL;
|
||||
-
|
||||
- count = INTVAL (operands[2]);
|
||||
- if (count <= 0)
|
||||
- FAIL;
|
||||
-
|
||||
- /* Work out branch probability for latter use. */
|
||||
- prob = REG_BR_PROB_BASE - REG_BR_PROB_BASE / count;
|
||||
-
|
||||
- /* See if constant fit 8 bits. */
|
||||
- mode = (count < 0x100) ? QImode : HImode;
|
||||
- /* Create loop counter register. */
|
||||
- loop_reg = copy_to_mode_reg (mode, gen_int_mode (count, mode));
|
||||
-
|
||||
- /* Now create RTL code for move loop. */
|
||||
- /* Label at top of loop. */
|
||||
- emit_label (label);
|
||||
-
|
||||
- /* Move one byte into scratch and inc pointer. */
|
||||
- emit_move_insn (tmp_reg_rtx, gen_rtx_MEM (QImode, addr1));
|
||||
- emit_move_insn (addr1, gen_rtx_PLUS (Pmode, addr1, const1_rtx));
|
||||
-
|
||||
- /* Move to mem and inc pointer. */
|
||||
- emit_move_insn (gen_rtx_MEM (QImode, addr0), tmp_reg_rtx);
|
||||
- emit_move_insn (addr0, gen_rtx_PLUS (Pmode, addr0, const1_rtx));
|
||||
-
|
||||
- /* Decrement count. */
|
||||
- emit_move_insn (loop_reg, gen_rtx_PLUS (mode, loop_reg, constm1_rtx));
|
||||
-
|
||||
- /* Compare with zero and jump if not equal. */
|
||||
- emit_cmp_and_jump_insns (loop_reg, const0_rtx, NE, NULL_RTX, mode, 1,
|
||||
- label);
|
||||
- /* Set jump probability based on loop count. */
|
||||
- jump = get_last_insn ();
|
||||
- REG_NOTES (jump) = gen_rtx_EXPR_LIST (REG_BR_PROB,
|
||||
- GEN_INT (prob),
|
||||
- REG_NOTES (jump));
|
||||
- DONE;
|
||||
+ cnt8 = byte_immediate_operand (operands[2], GET_MODE (operands[2]));
|
||||
+ mode = cnt8 ? QImode : HImode;
|
||||
+ operands[2] = copy_to_mode_reg (mode,
|
||||
+ gen_int_mode (INTVAL (operands[2]), mode));
|
||||
+ addr0 = copy_to_mode_reg (Pmode, XEXP (operands[0], 0));
|
||||
+ addr1 = copy_to_mode_reg (Pmode, XEXP (operands[1], 0));
|
||||
+
|
||||
+ operands[6] = gen_rtx_SCRATCH (mode);
|
||||
+ operands[0] = gen_rtx (MEM, BLKmode, addr0);
|
||||
+ operands[1] = gen_rtx (MEM, BLKmode, addr1);
|
||||
}")
|
||||
+
|
||||
+(define_insn "*movstrqi_insn"
|
||||
+ [(set (mem:BLK (match_operand:HI 0 "register_operand" "e"))
|
||||
+ (mem:BLK (match_operand:HI 1 "register_operand" "e")))
|
||||
+ (use (match_operand:QI 2 "register_operand" "r"))
|
||||
+ (use (match_operand:QI 3 "const_int_operand" "i"))
|
||||
+ (clobber (match_scratch:HI 4 "=0"))
|
||||
+ (clobber (match_scratch:HI 5 "=1"))
|
||||
+ (clobber (match_scratch:QI 6 "=2"))]
|
||||
+ ""
|
||||
+ "ld __tmp_reg__,%a1+
|
||||
+ st %a0+,__tmp_reg__
|
||||
+ dec %2
|
||||
+ brne .-8"
|
||||
+ [(set_attr "length" "4")
|
||||
+ (set_attr "cc" "clobber")])
|
||||
+
|
||||
+(define_insn "*movstrhi"
|
||||
+ [(set (mem:BLK (match_operand:HI 0 "register_operand" "e,e"))
|
||||
+ (mem:BLK (match_operand:HI 1 "register_operand" "e,e")))
|
||||
+ (use (match_operand:HI 2 "register_operand" "!w,d"))
|
||||
+ (use (match_operand:HI 3 "const_int_operand" ""))
|
||||
+ (clobber (match_scratch:HI 4 "=0,0"))
|
||||
+ (clobber (match_scratch:HI 5 "=1,1"))
|
||||
+ (clobber (match_scratch:HI 6 "=2,2"))]
|
||||
+ ""
|
||||
+ "*{
|
||||
+ if (which_alternative==0)
|
||||
+ return (AS2 (ld,__tmp_reg__,%a1+) CR_TAB
|
||||
+ AS2 (st,%a0+,__tmp_reg__) CR_TAB
|
||||
+ AS2 (sbiw,%A2,1) CR_TAB
|
||||
+ AS1 (brne,.-8));
|
||||
+ else
|
||||
+ return (AS2 (ld,__tmp_reg__,%a1+) CR_TAB
|
||||
+ AS2 (st,%a0+,__tmp_reg__) CR_TAB
|
||||
+ AS2 (subi,%A2,1) CR_TAB
|
||||
+ AS2 (sbci,%B2,0) CR_TAB
|
||||
+ AS1 (brne,.-10));
|
||||
+}"
|
||||
+ [(set_attr "length" "4,5")
|
||||
+ (set_attr "cc" "clobber,clobber")])
|
||||
|
||||
;; =0 =0 =0 =0 =0 =0 =0 =0 =0 =0 =0 =0 =0 =0 =0 =0 =0 =0 =0 =0 =0 =0 =0 =0
|
||||
;; memset (%0, 0, %1)
|
@ -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
|
@ -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
|
@ -1,46 +0,0 @@
|
||||
2004-05-12 Theodore A. Roth <troth@openavr.org>
|
||||
|
||||
* gcc/config/avr/avr.c (avr_handle_fndecl_attribute): Generate a
|
||||
warning if the function name does not begin with "__vector" and the
|
||||
function has either the 'signal' or 'interrupt' attribute.
|
||||
|
||||
Index: gcc/config/avr/avr.c
|
||||
===================================================================
|
||||
RCS file: /cvsroot/gcc/gcc/gcc/config/avr/avr.c,v
|
||||
retrieving revision 1.118
|
||||
diff -u -p -p -r1.118 avr.c
|
||||
--- gcc/config/avr/avr.c 13 Mar 2004 06:43:30 -0000 1.118
|
||||
+++ gcc/config/avr/avr.c 12 May 2004 19:40:28 -0000
|
||||
@@ -4566,6 +4559,32 @@ avr_handle_fndecl_attribute (tree *node,
|
||||
warning ("`%s' attribute only applies to functions",
|
||||
IDENTIFIER_POINTER (name));
|
||||
*no_add_attrs = true;
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ const char *func_name = IDENTIFIER_POINTER (DECL_NAME (*node));
|
||||
+ const char *attr = IDENTIFIER_POINTER (name);
|
||||
+
|
||||
+ /* If the function has the 'signal' or 'interrupt' attribute, test to
|
||||
+ make sure that the name of the function is "__vector_NN" so as to
|
||||
+ catch when the user misspells the interrupt vector name. */
|
||||
+
|
||||
+ if (strncmp (attr, "interrupt", strlen ("interrupt")) == 0)
|
||||
+ {
|
||||
+ if (strncmp (func_name, "__vector", strlen ("__vector")) != 0)
|
||||
+ {
|
||||
+ warning ("`%s' appears to be a misspelled interrupt handler",
|
||||
+ func_name);
|
||||
+ }
|
||||
+ }
|
||||
+ else if (strncmp (attr, "signal", strlen ("signal")) == 0)
|
||||
+ {
|
||||
+ if (strncmp (func_name, "__vector", strlen ("__vector")) != 0)
|
||||
+ {
|
||||
+ warning ("`%s' appears to be a misspelled signal handler",
|
||||
+ func_name);
|
||||
+ }
|
||||
+ }
|
||||
}
|
||||
|
||||
return NULL_TREE;
|
@ -1,218 +0,0 @@
|
||||
diff -ur ../gcc-3.4.6.orig/gcc/config/avr/avr.c ./gcc/config/avr/avr.c
|
||||
--- ../gcc-3.4.6.orig/gcc/config/avr/avr.c Sun Mar 20 22:14:28 2005
|
||||
+++ ./gcc/config/avr/avr.c Sun Mar 19 23:06:42 2006
|
||||
@@ -175,6 +175,18 @@
|
||||
{ "at90c8534", 2, "__AVR_AT90C8534__" },
|
||||
{ "at90s8535", 2, "__AVR_AT90S8535__" },
|
||||
{ "at86rf401", 2, "__AVR_AT86RF401__" },
|
||||
+ { "attiny261", 2, "__AVR_ATtiny261__" },
|
||||
+ { "attiny461", 2, "__AVR_ATtiny461__" },
|
||||
+ { "attiny861", 2, "__AVR_ATtiny861__" },
|
||||
+ /* Classic + MOVW, <= 8K. */
|
||||
+ { "attiny13", 2, "__AVR_ATtiny13__" },
|
||||
+ { "attiny2313", 2, "__AVR_ATtiny2313__" },
|
||||
+ { "attiny24", 2, "__AVR_ATtiny24__" },
|
||||
+ { "attiny44", 2, "__AVR_ATtiny44__" },
|
||||
+ { "attiny84", 2, "__AVR_ATtiny84__" },
|
||||
+ { "attiny25", 2, "__AVR_ATtiny25__" },
|
||||
+ { "attiny45", 2, "__AVR_ATtiny45__" },
|
||||
+ { "attiny85", 2, "__AVR_ATtiny85__" },
|
||||
/* Classic, > 8K. */
|
||||
{ "avr3", 3, NULL },
|
||||
{ "atmega103", 3, "__AVR_ATmega103__" },
|
||||
@@ -185,19 +197,50 @@
|
||||
/* 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__" },
|
||||
+ { "atmega164p",5, "__AVR_ATmega164P__" },
|
||||
+ { "atmega165", 5, "__AVR_ATmega165__" },
|
||||
+ { "atmega165p", 5,"__AVR_ATmega165P__" },
|
||||
+ { "atmega168", 5, "__AVR_ATmega168__" },
|
||||
{ "atmega169", 5, "__AVR_ATmega169__" },
|
||||
+ { "atmega169p", 5,"__AVR_ATmega169P__" },
|
||||
{ "atmega32", 5, "__AVR_ATmega32__" },
|
||||
{ "atmega323", 5, "__AVR_ATmega323__" },
|
||||
+ { "atmega324p",5, "__AVR_ATmega324P__" },
|
||||
+ { "atmega325", 5, "__AVR_ATmega325__" },
|
||||
+ { "atmega3250", 5, "__AVR_ATmega3250__" },
|
||||
+ { "atmega329", 5, "__AVR_ATmega329__" },
|
||||
+ { "atmega3290", 5, "__AVR_ATmega3290__" },
|
||||
+ { "atmega406", 5, "__AVR_ATmega406__" },
|
||||
+ { "atmega640", 5, "__AVR_ATmega640__" },
|
||||
{ "atmega64", 5, "__AVR_ATmega64__" },
|
||||
+ { "atmega644", 5, "__AVR_ATmega644__" },
|
||||
+ { "atmega644p",5, "__AVR_ATmega644P__" },
|
||||
+ { "atmega645", 5, "__AVR_ATmega645__" },
|
||||
+ { "atmega6450", 5, "__AVR_ATmega6450__" },
|
||||
+ { "atmega649", 5, "__AVR_ATmega649__" },
|
||||
+ { "atmega6490", 5, "__AVR_ATmega6490__" },
|
||||
{ "atmega128", 5, "__AVR_ATmega128__" },
|
||||
+ { "atmega1280",5, "__AVR_ATmega1280__" },
|
||||
+ { "atmega1281",5, "__AVR_ATmega1281__" },
|
||||
+ { "at90can32", 5, "__AVR_AT90CAN32__" },
|
||||
+ { "at90can64", 5, "__AVR_AT90CAN64__" },
|
||||
+ { "at90can128", 5, "__AVR_AT90CAN128__" },
|
||||
+ { "at90usb646", 5, "__AVR_AT90USB646__" },
|
||||
+ { "at90usb647", 5, "__AVR_AT90USB647__" },
|
||||
+ { "at90usb1286", 5, "__AVR_AT90USB1286__" },
|
||||
+ { "at90usb1287", 5, "__AVR_AT90USB1287__" },
|
||||
{ "at94k", 5, "__AVR_AT94K__" },
|
||||
/* Assembler only. */
|
||||
{ "avr1", 1, NULL },
|
||||
diff -ur ../gcc-3.4.6.orig/gcc/config/avr/avr.h ./gcc/config/avr/avr.h
|
||||
--- ../gcc-3.4.6.orig/gcc/config/avr/avr.h Tue Mar 9 04:00:15 2004
|
||||
+++ ./gcc/config/avr/avr.h Sun Mar 19 23:08:23 2006
|
||||
@@ -2351,12 +2351,13 @@
|
||||
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=attiny24|mmcu=attiny44|mmcu=attiny84|mmcu=attiny25|mmcu=attiny45|mmcu=attiny85|mmcu=attiny261|mmcu=attiny461|mmcu=attiny861:-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=atmega406|mmcu=atmega64*|mmcu=atmega128*|mmcu=at90can*|mmcu=at90usb*|mmcu=at94k:-m avr5}\
|
||||
+%{mmcu=atmega324*|mmcu=atmega325|mmcu=atmega3250|mmcu=atmega329|mmcu=atmega3290|mmcu=atmega406|mmcu=atmega48|mmcu=atmega88|mmcu=atmega64|mmcu=atmega644*|mmcu=atmega645|mmcu=atmega6450|mmcu=atmega649|mmcu=atmega6490|mmcu=atmega128|mmcu=at90can*|mmcu=atmega162|mmcu=atmega164*|mmcu=atmega165*|mmcu=atmega168|mmcu=atmega169*|mmcu=at90pwm*|mmcu=at90usb*: -Tdata 0x800100}\
|
||||
+%{mmcu=atmega640|mmcu=atmega1280|mmcu=atmega1281: -Tdata 0x800200} "
|
||||
|
||||
/* 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 +2366,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 +2378,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 +2422,65 @@
|
||||
%{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=attiny24:crttn24.o%s} \
|
||||
+%{mmcu=attiny44:crttn44.o%s} \
|
||||
+%{mmcu=attiny84:crttn84.o%s} \
|
||||
+%{mmcu=attiny25:crttn25.o%s} \
|
||||
+%{mmcu=attiny45:crttn45.o%s} \
|
||||
+%{mmcu=attiny85:crttn85.o%s} \
|
||||
+%{mmcu=attiny261:crttn261.o%s} \
|
||||
+%{mmcu=attiny461:crttn461.o%s} \
|
||||
+%{mmcu=attiny861:crttn861.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=atmega164p:crtm164p.o%s} \
|
||||
+%{mmcu=atmega165:crtm165.o%s} \
|
||||
+%{mmcu=atmega165p:crtm165p.o%s} \
|
||||
+%{mmcu=atmega168:crtm168.o%s} \
|
||||
%{mmcu=atmega169:crtm169.o%s} \
|
||||
+%{mmcu=atmega169p:crtm169p.o%s} \
|
||||
%{mmcu=atmega32:crtm32.o%s} \
|
||||
%{mmcu=atmega323:crtm323.o%s} \
|
||||
+%{mmcu=atmega324p:crtm324p.o%s} \
|
||||
+%{mmcu=atmega325:crtm325.o%s} \
|
||||
+%{mmcu=atmega3250:crtm3250.o%s} \
|
||||
+%{mmcu=atmega329:crtm329.o%s} \
|
||||
+%{mmcu=atmega3290:crtm3290.o%s} \
|
||||
+%{mmcu=atmega406:crtm406.o%s} \
|
||||
%{mmcu=atmega64:crtm64.o%s} \
|
||||
+%{mmcu=atmega640:crtm640.o%s} \
|
||||
+%{mmcu=atmega644:crtm644.o%s} \
|
||||
+%{mmcu=atmega644p:crtm644p.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=atmega1280:crtm1280.o%s} \
|
||||
+%{mmcu=atmega1281:crtm1281.o%s} \
|
||||
+%{mmcu=at90can32:crtcan32.o%s} \
|
||||
+%{mmcu=at90can64:crtcan64.o%s} \
|
||||
+%{mmcu=at90can128:crtcan128.o%s} \
|
||||
+%{mmcu=at90usb646:crtusb646.o%s} \
|
||||
+%{mmcu=at90usb647:crtusb647.o%s} \
|
||||
+%{mmcu=at90usb1286:crtusb1286.o%s} \
|
||||
+%{mmcu=at90usb1287:crtusb1287.o%s} \
|
||||
%{mmcu=at94k:crtat94k.o%s}"
|
||||
|
||||
#define EXTRA_SPECS {"crt_binutils", CRT_BINUTILS_SPECS},
|
||||
diff -ur ../gcc-3.4.6.orig/gcc/config/avr/t-avr ./gcc/config/avr/t-avr
|
||||
--- ../gcc-3.4.6.orig/gcc/config/avr/t-avr Mon Apr 25 06:17:34 2005
|
||||
+++ ./gcc/config/avr/t-avr Sun Mar 19 23:08:56 2006
|
||||
@@ -46,12 +46,31 @@
|
||||
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?atmega164p \
|
||||
+ mmcu?avr5=mmcu?atmega165 mmcu?avr5=mmcu?atmega165p \
|
||||
+ mmcu?avr5=mmcu?atmega168 mmcu?avr5=mmcu?atmega169 \
|
||||
+ mmcu?avr5=mmcu?atmega169p \
|
||||
mmcu?avr5=mmcu?atmega16 \
|
||||
- mmcu?avr5=mmcu?atmega323 mmcu?avr5=mmcu?atmega32 \
|
||||
- mmcu?avr5=mmcu?atmega64 mmcu?avr5=mmcu?atmega128 \
|
||||
+ mmcu?avr5=mmcu?atmega323 mmcu?avr5=mmcu?atmega324p \
|
||||
+ mmcu?avr5=mmcu?atmega325 mmcu?avr5=mmcu?atmega3250 \
|
||||
+ mmcu?avr5=mmcu?atmega329 mmcu?avr5=mmcu?atmega3290 \
|
||||
+ mmcu?avr5=mmcu?atmega32 \
|
||||
+ mmcu?avr5=mmcu?atmega406 \
|
||||
+ mmcu?avr5=mmcu?atmega640 mmcu?avr5=mmcu?atmega644 \
|
||||
+ mmcu?avr5=mmcu?atmega644p 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?atmega1280 mmcu?avr5=mmcu?atmega1281 \
|
||||
+ mmcu?avr5=mmcu?at90can32 \
|
||||
+ mmcu?avr5=mmcu?at90can64 \
|
||||
+ mmcu?avr5=mmcu?at90can128 \
|
||||
+ mmcu?avr5=mmcu?at90usb646 mmcu?avr5=mmcu?at90usb647 \
|
||||
+ mmcu?avr5=mmcu?at90usb1286 mmcu?avr5=mmcu?at90usb1287 \
|
||||
mmcu?avr5=mmcu?at94k
|
||||
|
||||
MULTILIB_EXCEPTIONS =
|
@ -1,21 +0,0 @@
|
||||
FSF gcc-3.x for Atmel AVR cross-development
|
||||
|
||||
This brings the gcc compiler to the Atmel AVR 8-bit RISC family of
|
||||
microcontrollers.
|
||||
|
||||
Supported debugging formats: -gstabs [default] and -gdwarf-2
|
||||
Locally hack added: recognizes 0bXXX binary constants
|
||||
Locally added support for the following AVR devices:
|
||||
|
||||
ATtiny13/ATtiny2313 ATtiny24/ATtiny44/ATtiny84
|
||||
ATtiny25/ATtiny45/ATtiny85 ATtiny261/ATtiny461/ATtiny861
|
||||
ATmega48/ATmega88/ATmega168 ATmega406
|
||||
ATmega164P/ATmega324P/ATmega644/ATmega644P
|
||||
ATmega165/ATmega165P/ATmega169P
|
||||
ATmega325/ATmega3250/ATmega645/ATmega6450
|
||||
ATmega329/ATmega3290/ATmega649/ATmega6490
|
||||
ATmega640/ATmega1280/ATmega1281 AT90PWM2/AT90PWM3
|
||||
AT90CAN32/64/128 AT90USB646/647/1286/1287
|
||||
|
||||
WWW: http://gcc.gnu.org/
|
||||
WWW: http://www.nongnu.org/avr-libc/
|
@ -1,62 +0,0 @@
|
||||
avr/bin/c++
|
||||
avr/bin/g++
|
||||
avr/bin/gcc
|
||||
bin/avr-c++
|
||||
bin/avr-cpp
|
||||
bin/avr-g++
|
||||
bin/avr-gcc
|
||||
bin/avr-gcc-3.4.6
|
||||
bin/avr-gccbug
|
||||
lib/gcc/avr/3.4.6/avr3/libgcc.a
|
||||
lib/gcc/avr/3.4.6/avr3/libgcov.a
|
||||
lib/gcc/avr/3.4.6/avr4/libgcc.a
|
||||
lib/gcc/avr/3.4.6/avr4/libgcov.a
|
||||
lib/gcc/avr/3.4.6/avr5/libgcc.a
|
||||
lib/gcc/avr/3.4.6/avr5/libgcov.a
|
||||
lib/gcc/avr/3.4.6/include/README
|
||||
lib/gcc/avr/3.4.6/include/fixed
|
||||
lib/gcc/avr/3.4.6/include/float.h
|
||||
lib/gcc/avr/3.4.6/include/iso646.h
|
||||
lib/gcc/avr/3.4.6/include/limits.h
|
||||
lib/gcc/avr/3.4.6/include/stdarg.h
|
||||
lib/gcc/avr/3.4.6/include/stdbool.h
|
||||
lib/gcc/avr/3.4.6/include/stddef.h
|
||||
lib/gcc/avr/3.4.6/include/syslimits.h
|
||||
lib/gcc/avr/3.4.6/include/unwind.h
|
||||
lib/gcc/avr/3.4.6/include/varargs.h
|
||||
lib/gcc/avr/3.4.6/install-tools/gsyslimits.h
|
||||
lib/gcc/avr/3.4.6/install-tools/include/README
|
||||
lib/gcc/avr/3.4.6/install-tools/include/float.h
|
||||
lib/gcc/avr/3.4.6/install-tools/include/iso646.h
|
||||
lib/gcc/avr/3.4.6/install-tools/include/limits.h
|
||||
lib/gcc/avr/3.4.6/install-tools/include/stdarg.h
|
||||
lib/gcc/avr/3.4.6/install-tools/include/stdbool.h
|
||||
lib/gcc/avr/3.4.6/install-tools/include/stddef.h
|
||||
lib/gcc/avr/3.4.6/install-tools/include/unwind.h
|
||||
lib/gcc/avr/3.4.6/install-tools/include/varargs.h
|
||||
lib/gcc/avr/3.4.6/install-tools/mkheaders.conf
|
||||
lib/gcc/avr/3.4.6/libgcc.a
|
||||
lib/gcc/avr/3.4.6/libgcov.a
|
||||
lib/gcc/avr/3.4.6/specs
|
||||
libexec/gcc/avr/3.4.6/cc1
|
||||
libexec/gcc/avr/3.4.6/cc1plus
|
||||
libexec/gcc/avr/3.4.6/collect2
|
||||
libexec/gcc/avr/3.4.6/install-tools/fix-header
|
||||
libexec/gcc/avr/3.4.6/install-tools/fixinc.sh
|
||||
libexec/gcc/avr/3.4.6/install-tools/fixincl
|
||||
libexec/gcc/avr/3.4.6/install-tools/fixproto
|
||||
libexec/gcc/avr/3.4.6/install-tools/mkheaders
|
||||
libexec/gcc/avr/3.4.6/install-tools/mkinstalldirs
|
||||
@dirrm lib/gcc/avr/3.4.6/avr3
|
||||
@dirrm lib/gcc/avr/3.4.6/avr4
|
||||
@dirrm lib/gcc/avr/3.4.6/avr5
|
||||
@dirrm lib/gcc/avr/3.4.6/include
|
||||
@dirrm lib/gcc/avr/3.4.6/install-tools/include
|
||||
@dirrm lib/gcc/avr/3.4.6/install-tools
|
||||
@dirrm lib/gcc/avr/3.4.6
|
||||
@dirrm lib/gcc/avr
|
||||
@dirrm lib/gcc
|
||||
@dirrm libexec/gcc/avr/3.4.6/install-tools
|
||||
@dirrm libexec/gcc/avr/3.4.6
|
||||
@dirrm libexec/gcc/avr
|
||||
@dirrm libexec/gcc
|
Loading…
Reference in New Issue
Block a user