--- gcc-avr-4.9.2+Atmel3.5.4.orig/bug1/Makefile +++ gcc-avr-4.9.2+Atmel3.5.4/bug1/Makefile @@ -0,0 +1,7 @@ +CC = avr-gcc +CPPFLAGS= -mmcu=attiny45 + +bootloader: + +clean: + rm -f bootloader --- gcc-avr-4.9.2+Atmel3.5.4.orig/bug1/bootloader.S +++ gcc-avr-4.9.2+Atmel3.5.4/bug1/bootloader.S @@ -0,0 +1,23 @@ +#include + +main1: + rjmp main1 + +;bug 1 +tlsize=(tlend-TinyAsyLoad) +.org FLASHEND-tlsize + +;bug (?) 2 +;.org FLASHEND-(tlend-TinyAsyLoad) + + + + +; .section .bootloader,"ax",@progbits + .global main +main: +TinyAsyLoad: + rjmp main1 ;THIS MUST RESIDE AT THE LAST + ;ADDRESS OF FLASH +tlend: + --- gcc-avr-4.9.2+Atmel3.5.4.orig/debian/README.debian +++ gcc-avr-4.9.2+Atmel3.5.4/debian/README.debian @@ -0,0 +1,9 @@ +To make it possible to have different versions of gcc packages +installed for diffrent targets the locale and most common documentation have +been removed from the cross packages. If you want these files aswell you'll +have to install the same version of the native package as of this package. + +For nesC/TinyOS users, the addition of "OPTFLAGS:= -Wa,--allow-dollars" +to their makefiles will allow the use of dollars in function names (with +nesC >=1.1.3). Note, this will require binutils-avr >= 2.15-2. + --- gcc-avr-4.9.2+Atmel3.5.4.orig/debian/autoreconf +++ gcc-avr-4.9.2+Atmel3.5.4/debian/autoreconf @@ -0,0 +1 @@ +src --- gcc-avr-4.9.2+Atmel3.5.4.orig/debian/avr-gccbug.1 +++ gcc-avr-4.9.2+Atmel3.5.4/debian/avr-gccbug.1 @@ -0,0 +1,178 @@ +.\" Automatically generated by Pod::Man v1.34, Pod::Parser v1.13 +.\" +.\" Standard preamble: +.\" ======================================================================== +.de Sh \" Subsection heading +.br +.if t .Sp +.ne 5 +.PP +\fB\\$1\fR +.PP +.. +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Vb \" Begin verbatim text +.ft CW +.nf +.ne \\$1 +.. +.de Ve \" End verbatim text +.ft R +.fi +.. +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. | will give a +.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to +.\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C' +.\" expand to `' in nroff, nothing in troff, for use with C<>. +.tr \(*W-|\(bv\*(Tr +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' +.ie n \{\ +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` "" +. ds C' "" +'br\} +.el\{\ +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' +'br\} +.\" +.\" If the F register is turned on, we'll generate index entries on stderr for +.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index +.\" entries marked with X<> in POD. Of course, you'll have to process the +.\" output yourself in some meaningful fashion. +.if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +.. +. nr % 0 +. rr F +.\} +.\" +.\" For nroff, turn off justification. Always turn off hyphenation; it makes +.\" way too many mistakes in technical documents. +.hy 0 +.if n .na +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. +. \" fudge factors for nroff and troff +.if n \{\ +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP +.\} +.if t \{\ +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& +.\} +. \" simple accents for nroff and troff +.if n \{\ +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / +.\} +.if t \{\ +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' +.\} +. \" troff and (daisy-wheel) nroff accents +.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' +.ds 8 \h'\*(#H'\(*b\h'-\*(#H' +.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] +.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' +.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' +.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] +.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] +.ds ae a\h'-(\w'a'u*4/10)'e +.ds Ae A\h'-(\w'A'u*4/10)'E +. \" corrections for vroff +.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' +.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' +. \" for low resolution devices (crt and lpr) +.if \n(.H>23 .if \n(.V>19 \ +\{\ +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE +.\} +.rm #[ #] #H #V #F C +.\" ======================================================================== +.\" +.IX Title "GCCBUG 1" +.TH GCCBUG 1 "2003-06-03" "gcc-3.4" "GNU" +.SH "NAME" +gccbug \- Reporting GCC Bugs +.SH "SYNOPSIS" +.IX Header "SYNOPSIS" +gccbug + [ \fB\-\-cc\fR \fImail-address\fR ] + [ \fB\-\-version\fR ] | [ \fB\-\-help\fR ] +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +\&\fBgccbug\fR is a version of \s-1GNU\s0 \s-1GNATS\s0 send-pr configured for \s-1GCC\s0 bug +reporting. +.PP +Invoking \fBgccbug\fR calls the editor named in your environment +variable \fB\s-1VISUAL\s0\fR or \fB\s-1EDITOR\s0\fR on a problem report template. +.PP +Your bug reports play an essential role in making \s-1GCC\s0 reliable. However +since the maintainers are very overloaded, please first make sure that: +.IP "\(bu" 4 +The problem is not already known. See +<\fBhttp://gcc.gnu.org/bugs.html#known\fR> for a list of known bugs. +If it isn't known, then you should report the problem. +.Sp +You can browse the bug database for bugs reported at +<\fBhttp://gcc.gnu.org/cgi\-bin/gnatsweb.pl\fR>. +.IP "\(bu" 4 +You include the information that makes for fixing the bug. See +<\fBhttp://gcc.gnu.org/bugs.html#report\fR> for bug reporting instructions. +.SH "OPTIONS" +.IX Header "OPTIONS" +.IP "\fB\-\-cc\fR \fImail-address\fR" 4 +.IX Item "--cc mail-address" +Specifies the mail-address to which the \s-1PR\s0 should be carbon\-copied. +.IP "\fB\-\-version\fR" 4 +.IX Item "--version" +Displays the \fBgccbug\fR version number and a usage summary. No mail +is sent. +.IP "\fB\-\-help\fR" 4 +.IX Item "--help" +Displays a usage summary for \fBgccbug\fR. No mail is sent. +.PP +\&\fBgccbug\fR has more (undocumented) options, which may be +unsupported by a future \s-1GCC\s0 bug tracking system. +.SH "SEE ALSO" +.IX Header "SEE ALSO" +\&\fIgcc\fR\|(1), \fIsend\-pr\fR\|(1), \fIsend\-pr\fR\|(8), the info entries for \fIgcc\fR (node Bugs), +and the online pages at <\fBhttp://gcc.gnu.org/bugs.html\fR>. --- gcc-avr-4.9.2+Atmel3.5.4.orig/debian/changelog +++ gcc-avr-4.9.2+Atmel3.5.4/debian/changelog @@ -0,0 +1,516 @@ +gcc-avr (1:4.9.2+Atmel3.5.4-1) unstable; urgency=medium + + * New upstream release + + -- Hakan Ardo Tue, 04 Apr 2017 20:07:00 +0200 + +gcc-avr (1:4.9.2+Atmel3.5.3-1) unstable; urgency=medium + + * New upstream release + * Applied patch upstream patch + https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=ec1cc0263f156f706 + 93a62cf17b254a0029f4852 to support compilation with gcc 6 (closes: + #831174) + + -- Hakan Ardo Sun, 28 Aug 2016 19:45:37 +0200 + +gcc-avr (1:4.9.2+Atmel3.5.0-1) unstable; urgency=medium + + * New upstream release (closes: #790103) + + -- Hakan Ardo Sun, 06 Dec 2015 12:52:43 +0100 + +gcc-avr (1:4.8.1+Atmel3.4.5-1) unstable; urgency=medium + + * New upstream release + + -- Hakan Ardo Wed, 01 Apr 2015 20:12:15 +0200 + +gcc-avr (1:4.8.1+Atmel3.4.4-2) unstable; urgency=medium + + * Reduced sugestion on gcc-4.8 to gcc (>= 4:4.8) (closes: #751301) + + -- Hakan Ardo Mon, 04 Aug 2014 12:29:37 +0200 + +gcc-avr (1:4.8.1+Atmel3.4.4-1) unstable; urgency=medium + + * New upstream release from Atmel-AVR-GNU-Toolchain v3.4.4 + (http://distribute.atmel.no/tools/opensource/Atmel-AVR-GNU- + Toolchain/3.4.4/) + * Removed dh_undocumented + * Include full copyright statement + * Added ${misc:Depends} dependency + * Added build-arch and build-indep targets + * Run dh_autoreconf during build (closes: #744576) + + -- Hakan Ardo Sun, 01 Jun 2014 21:53:21 +0200 + +gcc-avr (1:4.8-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Switch to automake1.11. (Closes: #724374) + + -- Eric Dorland Sat, 15 Mar 2014 00:53:49 -0400 + +gcc-avr (1:4.8-2) unstable; urgency=low + + * Updated depenencies (closes: #725770) + + -- Hakan Ardo Tue, 08 Oct 2013 19:59:30 +0200 + +gcc-avr (1:4.8-1) unstable; urgency=low + + * New upstream release (closes: #701280, #684226) + + -- Hakan Ardo Sat, 05 Oct 2013 10:35:13 +0200 + +gcc-avr (1:4.7.2-2) unstable; urgency=low + + [ Ansgar Burchardt ] + * Add Built-Using for gcc-4.7-source. (closes: #696423) + + -- Hakan Ardo Tue, 25 Dec 2012 20:27:57 +0100 + +gcc-avr (1:4.7.2-1) unstable; urgency=low + + * New upstream release (closes: #693572) + + -- Hakan Ardo Tue, 27 Nov 2012 18:27:08 +0100 + +gcc-avr (1:4.7.0-2) unstable; urgency=low + + * New upstream release (closes: #674077) + * Use build scripts from gcc 4.7 (closes: #673568) + + -- Hakan Ardo Wed, 23 May 2012 09:36:40 +0200 + +gcc-avr (1:4.7.0-1) experimental; urgency=low + + * New upstream release + + -- Hakan Ardo Mon, 19 Mar 2012 07:47:46 +0100 + +gcc-avr (1:4.5.3-4) unstable; urgency=low + + * Backported patch for gcc bug 50289: + http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50289 + * Backported patch for gcc bug 46779: + http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46779 + + -- Hakan Ardo Wed, 08 Feb 2012 20:07:10 +0100 + +gcc-avr (1:4.5.3-3) unstable; urgency=low + + * Applied patch from peter green that removes + the --disable-checking configure option (closes: #645822) + + -- Hakan Ardo Sun, 20 Nov 2011 10:34:42 +0100 + +gcc-avr (1:4.5.3-2) unstable; urgency=low + + * Added 57-ctors-dtors-patch.diff patch that fixes GCC bug 45263. It + was ported from gcc cvs by Francois Lorrain + and confirmed by Changwoo Ryu + (closes: #634341) + + -- Hakan Ardo Thu, 11 Aug 2011 18:50:38 +0200 + +gcc-avr (1:4.5.3-1) unstable; urgency=low + + * New upstream release (closes: #550985, #594279, #629734) + * Replaced the patch-set with the patch-set provided by Atmel at + http://distribute.atmel.no/tools/opensource/avr-gcc/gcc-4.5.1/ + 30-gcc-4.5.1-fixedpoint-3-4-2010.patch + 31-gcc-4.5.1-xmega-v14.patch + 32-gcc-4.5.1-avrtiny10.patch + 33-gcc-4.5.1-osmain.patch + 34-gcc-4.5.1-builtins-v6.patch + 35-gcc-4.5.1-avrtiny10-non-fixedpoint.patch + 37-gcc-4.5.1-option-list-devices.patch + 38-gcc-4.5.1-bug13473.patch + 39-gcc-4.5.1-bug13579.patch + 40-gcc-4.5.1-bug-18145-v4.patch + 41-gcc-4.5.1-avrtiny10-bug-12510.patch + 42-gcc-4.5.1-bug12915.patch + 43-gcc-4.5.1-bug13932.patch + 44-gcc-4.5.1-bug13789.patch + 50-gcc-4.5.1-new-devices.patch + 51-gcc-4.5.1-atmega32_5_50_90_pa.patch + 54-gcc-4.5.1-attiny1634.patch + 56-gcc-4.5.1-atmega48pa.patch + + -- Hakan Ardo Sat, 09 Jul 2011 19:26:28 +0200 + +gcc-avr (1:4.3.5-1) unstable; urgency=low + + * New upstream release + * Removed build-depedns on dbs (closes: #576067) + * Updated the patch-set from + http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/avr-gcc/files/: + patch-avr-libgcc.S + patch-newdevices + patch-xmega + patch-xx-os_main + patch-bug19636-24894-31644-31786 + patch-bug33009 + patch-bug34210-35508 + patch-bug35013 + patch-bug11259 + patch-bug18145 + patch-builtins + patch-disable-ssp + patch-param-inline-call-cost + + + + -- Hakan Ardo Fri, 30 Jul 2010 09:59:34 +0200 + +gcc-avr (1:4.3.4-1) unstable; urgency=low + + * New upstream release (closes: #543016, #491399) + * Applied patches from + http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/avr-gcc/files/: + patch-avr-libgcc.S (rev 1.1) + patch-newdevices (rev 1.20) + patch-xmega (rev 1.2) + patch-xx-os_main (rev 1.1) + patch-bug19636-24894-31644-31786 (rev 1.1) + patch-bug33009 (rev 1.1) + patch-bug34210-35508 (rev 1.1) + patch-bug35013 (rev 1.1) + + + -- Hakan Ardo Sat, 31 Oct 2009 11:01:45 +0100 + +gcc-avr (1:4.3.3-1) unstable; urgency=low + + * New upstream release + + -- Hakan Ardo Sun, 25 Jan 2009 16:10:20 +0100 + +gcc-avr (1:4.3.2-1) unstable; urgency=low + + * Removed patches 40-1-gcc-4.3.0-bug-30243, 41-0-gcc-4.3.0-bug-34932 + and 40-9-gcc-4.3.0-bug-35542 as they has been incoporated + upstream in the code provided by gcc-4.3-source 4.3.2-1 (closes: + #501424). + + -- Hakan Ardo Sat, 11 Oct 2008 09:07:49 +0200 + +gcc-avr (1:4.3.0-4) unstable; urgency=low + + * No longer applies 40-8-gcc-4.3.0-bug-35519 and + 41-1-gcc-4.3.0-bug-leaf as the src provided + by gcc-4.3-source 4.3.1-6 already has this patch applied (closes: + #490310) + + -- Hakan Ardo Mon, 21 Jul 2008 18:22:33 +0200 + +gcc-avr (1:4.3.0-3) unstable; urgency=low + + * Revered to an unpatched 4.3.0 release + * Applied WinAVR-20080610 from patches/gcc/4.3.0/ in cvs server + anonymous@winavr.cvs.sourceforge.net:/cvsroot/winavr with tag + WinAVR-20080610: + 20-gcc-4.3.0-libiberty-Makefile.in.patch + 21-gcc-4.3.0-disable-libssp.patch + 40-0-gcc-4.3.0-bug-10768.patch + 40-1-gcc-4.3.0-bug-30243.patch + 40-2-gcc-4.3.0-bug-11259_v3.patch + 40-3-gcc-4.3.0-bug-spill3.patch + 40-4-gcc-4.3.0-bug-35013.patch + 40-6-gcc-4.3.0-libgcc16.patch + 40-7-gcc-4.3.0-bug-33009.patch + 40-8-gcc-4.3.0-bug-35519.patch + 40-9-gcc-4.3.0-bug-35542.patch + 41-0-gcc-4.3.0-bug-34932.patch + 41-1-gcc-4.3.0-bug-leaf.patch + 50-gcc-4.3.0-mega256.patch + 51-gcc-4.3.0-xmega-v9.patch + 52-gcc-4.3.0-atmega32m1.patch + 53-gcc-4.3.0-atmega32c1.patch + 54-gcc-4.3.0-atmega32u4.patch + 55-gcc-4.3.0-attiny167.patch + 56-gcc-4.3.0-remove-atmega32hvb.patch + 60-gcc-4.3.0-ada-xgnatugn.patch + 61-gcc-4.3.0-osmain.patch + + -- Hakan Ardo Wed, 02 Jul 2008 11:01:26 +0200 + +gcc-avr (1:4.3.0-2) unstable; urgency=low + + * libiberty.a now removed for X86_64 arch aswell (closes: #474674) + + -- Hakan Ardo Mon, 07 Apr 2008 16:36:22 +0200 + +gcc-avr (1:4.3.0-1) unstable; urgency=low + + * New upstream release + + -- Hakan Ardo Fri, 04 Apr 2008 11:37:41 +0200 + +gcc-avr (1:4.2.3-1) unstable; urgency=low + + * Moved /usr/libexec/gcc/ to /usr/lib/gcc/ (closes: #457213) + * Fixed 0b patch to handle dsfg free docs (closes: #464260) + * New upstream release + + -- Hakan Ardo Thu, 07 Feb 2008 15:00:49 +0100 + +gcc-avr (1:4.2.2-1) unstable; urgency=low + + * New upstream release. + + -- Hakan Ardo Sat, 15 Dec 2007 16:39:42 +0100 + +gcc-avr (1:4.2.1-2) unstable; urgency=low + + * Recompiled with new binutils + + -- Hakan Ardo Tue, 14 Aug 2007 18:12:04 +0200 + +gcc-avr (1:4.2.1-1) unstable; urgency=low + + * New upstream release (includes newdevices patch from freeBSD) (closes: #420061) + * Now uses unpack rules from gcc-source package (closes: #421142) + * Applied binary constants patch (closes: #426940) + + -- Hakan Ardo Thu, 9 Aug 2007 09:04:11 +0200 + +gcc-avr (1:4.1.2-1) unstable; urgency=low + + * New upstream release + + -- Hakan Ardo Mon, 30 Apr 2007 10:46:13 +0200 + +gcc-avr (1:4.1.1-1) unstable; urgency=low + + * New upstream release (closes: #415917) + * Now uses gcc-4.1-source (closes: #413214) + + -- Hakan Ardo Sun, 22 Apr 2007 17:17:59 +0200 + +gcc-avr (1:4.1.0.dfsg.1-1) unstable; urgency=low + + [ Frank Küster ] + * Add a makefile snippet to remove files from the tarballs that are + under GFDL and contain invariant sections. Thanks to Matthias Klose + for the list of files + * Let the clean target depend on the repack-gfdl target, and do the + cleaning (closes: #413216) + + [ Hakan Ardo ] + * Applied patch from Frank above + * Removed info files now recreated as empty files to allow compilation + as sugested by Matthias Klose + * Removed clean's dependency on repack-gfdl + + -- Hakan Ardo Mon, 19 Mar 2007 18:48:37 +0100 + +gcc-avr (1:4.1.0-1) unstable; urgency=low + + * Upstream release + * Removed debian/rules.old + * Now suggests gcc-4.1 instead (closes: #353267) + + -- Hakan Ardo Mon, 1 May 2006 11:27:41 +0200 + +gcc-avr (1:4.0.2-1) unstable; urgency=low + + * New upstream release + * Added missing avr-gccbug man page (closes: #321221) + * Removed duplicated Suggests fields from control + + -- Hakan Ardo Sat, 4 Feb 2006 17:39:37 +0100 + +gcc-avr (1:3.4.3-2) unstable; urgency=low + + * Rebuilt with new binutils adding support for atmega48, atmega88, + atmega168, attiny13, attiny2313 and at90can128. + + -- Hakan Ardo Sun, 27 Feb 2005 18:26:55 +0100 + +gcc-avr (1:3.4.3-1) unstable; urgency=low + + * New upstream release + * Applied patch from Theodore A. Roth enabling new avr devices, + including at90can128 + * No longer released as native package (closes: #270421) + * Added info to README.debian on how to compile nesC/TinyOS + * Removed --with-as=/usr/avr/bin/as from configure, which overrided -B + (closes: #275995) + + -- Hakan Ardo Sun, 26 Dec 2004 15:48:13 +0100 + +gcc-avr (1:3.4.1-1) unstable; urgency=low + + * Upstream update + * All cross libs now striped with avr-strip (closes: #264686) + + -- Hakan Ardo Wed, 11 Aug 2004 20:33:26 +0200 + +gcc-avr (1:3.4.0-1) unstable; urgency=low + + * Upstream release (closes: #241835) + + -- Hakan Ardo Sat, 15 May 2004 17:19:35 +0200 + +gcc-avr (1:3.3.2-1) unstable; urgency=low + + * Upstream update (closes: #160051) + * Readded Build-Depends on toolchain-source (closes: #207189, #207493) + * Updated copyright + + -- Hakan Ardo Mon, 29 Mar 2004 14:58:18 +0200 + +gcc-avr (1:3.2.90.20030512) unstable; urgency=low + + * Updated to 030512 snapshot + * Now contains src tar balls + * Now uses packhed dbs + * Updated build-depend on binutils-avr + + -- Hakan Ardo Wed, 25 Jun 2003 21:04:42 +0200 + +gcc-avr (1:3.2.3.cvs20030221-3) unstable; urgency=low + + * Now builddepends on automake1.4 (closes: #184760) + + -- Hakan Ardo Sun, 16 Mar 2003 11:51:41 +0100 + +gcc-avr (1:3.2.3.cvs20030221-2) unstable; urgency=low + + * libgcc.a was messed up by dh_strip (closes: #183062) + * Recompiled with toolchain-source 3.2-7 + + -- Hakan Ardo Tue, 11 Mar 2003 16:07:30 +0100 + +gcc-avr (1:3.2.3.cvs20030221-1) unstable; urgency=low + + * New upstream release (3.2.3.cvs20030221) + + -- Hakan Ardo Wed, 26 Feb 2003 12:24:51 +0100 + +gcc-avr (1:3.2-3) unstable; urgency=low + + * Recompiled with toolchain-source 3.2-3 + + -- Hakan Ardo Thu, 7 Nov 2002 22:53:11 +0100 + +gcc-avr (1:3.2-2) unstable; urgency=low + + * Relaxed dependency on native pkg and added README.debian describing + the case (closes: #161060) + * Recompiled with toolchain-source 3.2-2 + + -- Hakan Ardo Fri, 18 Oct 2002 09:41:32 +0200 + +gcc-avr (1:3.2-1) unstable; urgency=low + + * New upstream release (3.2) + + -- Hakan Ardo Sun, 18 Aug 2002 16:38:47 +0200 + +gcc-avr (1:3.1.1-1) unstable; urgency=low + + * New upstream release (3.1.1) + + -- Hakan Ardo Fri, 2 Aug 2002 16:15:39 +0200 + +gcc-avr (1:3.1-3) unstable; urgency=low + + * Recompiled with toolchain-source 3.1-3 (closes: #142646) + + -- Hakan Ardo Sat, 6 Jul 2002 17:13:27 +0200 + +gcc-avr (1:3.1-2) unstable; urgency=low + + * Recompiled with toolchain-source 3.1-2 (closes: #148778) + + -- Hakan Ardo Fri, 5 Jul 2002 09:51:20 +0200 + +gcc-avr (1:3.1-1) unstable; urgency=low + + * New upstream release (3.1) + + -- Hakan Ardo Fri, 31 May 2002 13:57:13 +0200 + +gcc-avr (1:3.0.4-4) unstable; urgency=low + + * Recompiled with toolchain-source 3.0.4-5 (closes: #143172) + + -- Hakan Ardo Thu, 2 May 2002 15:48:16 +0200 + +gcc-avr (1:3.0.4-3) unstable; urgency=low + + * Recompiled with toolchain-source 3.0.4-4 + + -- Hakan Ardo Mon, 8 Apr 2002 11:57:54 +0200 + +gcc-avr (1:3.0.4-2) unstable; urgency=low + + * Recompiled with toolchain-source 3.0.4-3 + + -- Hakan Ardo Sat, 30 Mar 2002 12:42:19 +0100 + +gcc-avr (1:3.0.4-1) unstable; urgency=low + + * New upstream release (3.0.4) + * Fixed man file removal (closes: #137586) + + -- Hakan Ardo Mon, 11 Mar 2002 15:18:57 +0100 + +gcc-avr (1:3.0.3-3) unstable; urgency=low + + * Removed som duplicated man pages + * Renamed avr-linux to avr as we dont run linux on target + * Recompiled with toolchain-source 3.0.3-3 + + -- Hakan Ardo Sat, 9 Feb 2002 15:50:16 +0100 + +gcc-avr (1:3.0.3-2) unstable; urgency=low + + * Now uses tar tjf (Bug #128550) + * Removed som unecessery build constraints + * Recompiled with toolchain-source 3.0.3-2 + + -- Hakan Ardo Thu, 10 Jan 2002 23:44:11 +0100 + +gcc-avr (1:3.0.3-1) unstable; urgency=low + + * gcc version no longer hardcoded in rules + * Upstream update to 3.0.3 + * Updated Build-Depends on binutils + + -- Hakan Ardo Tue, 8 Jan 2002 17:42:27 +0100 + +gcc-avr (3.0.ds9-7) unstable; urgency=low + + * Removed dependency on graphviz and updated version number of + toolchain-source (Bug #108902) + + -- Hakan Ardo Sun, 19 Aug 2001 22:12:10 +0200 + +gcc-avr (3.0.ds9-6) unstable; urgency=low + + * Dummy release to get pkg back in distribution (Bug #106872) + + -- Hakan Ardo Wed, 8 Aug 2001 18:21:53 +0200 + +gcc-avr (3.0.ds9-5) unstable; urgency=low + + * .deb file no longer in src pkg + * Now build-depends on toolchain-source instaed of using apt-get + (Bug #105847) + + -- Hakan Ardo Thu, 26 Jul 2001 13:09:26 +0200 + +gcc-avr (3.0.ds9-4) unstable; urgency=low + + * Initial Release + + -- Hakan Ardo Mon, 2 Jul 2001 22:45:33 +0200 + +Local variables: +mode: debian-changelog +End: --- gcc-avr-4.9.2+Atmel3.5.4.orig/debian/compat +++ gcc-avr-4.9.2+Atmel3.5.4/debian/compat @@ -0,0 +1 @@ +5 --- gcc-avr-4.9.2+Atmel3.5.4.orig/debian/control +++ gcc-avr-4.9.2+Atmel3.5.4/debian/control @@ -0,0 +1,19 @@ +Source: gcc-avr +Section: devel +Priority: extra +Maintainer: Hakan Ardo +Standards-Version: 3.9.5 +Build-Depends: m4, autoconf2.64, libtool, gawk, bzip2, binutils-avr (>= 2.26.20160125+Atmel3.5.4), bison, flex, gettext, texinfo, zlib1g-dev, debhelper (>= 4.2.10), tar (>= 1.13.18), automake1.11, libmpfr-dev, lsb-release, patchutils, libmpc-dev, dpkg (>= 1.16.2), dh-autoreconf +Build-Conflicts: libgcc0, libgcc300 + +Package: gcc-avr +Architecture: any +Section: devel +Priority: extra +Conflicts: avr-libc(<=1:1.7.1-2) +Depends: ${shlibs:Depends}, ${misc:Depends}, binutils-avr (>= 2.25+Atmel3.5.3) +Provides: c-compiler-avr +Suggests: task-c-devel, gcc-doc (>= 4:4.8), gcc (>= 4:4.8), avr-libc(>=1:1.8.0-4) +Description: GNU C compiler (cross compiler for avr) + This is the GNU C compiler, a fairly portable optimizing compiler which + supports multiple languages. This package includes support for C. --- gcc-avr-4.9.2+Atmel3.5.4.orig/debian/copyright +++ gcc-avr-4.9.2+Atmel3.5.4/debian/copyright @@ -0,0 +1,26 @@ +This is a debian pakcage of the GNU gcc compiler compiled as an avr +crosscompiler. It is created from a patched version provided by Atmel at: + + http://distribute.atmel.no/tools/opensource/Atmel-AVR-GNU-Toolchain/3.4.4/ + +GCC is Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, +1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, +2008, 2009, 2010, 2011 Free Software Foundation, Inc. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 3, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +Files that have exception clauses are licensed under the terms of the +GNU General Public License; either version 3, or (at your option) any +later version. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License is in `/usr/share/common-licenses/GPL', version 3 of this +license in `/usr/share/common-licenses/GPL-3'. --- gcc-avr-4.9.2+Atmel3.5.4.orig/debian/debian_patches/01_dissable_docs.diff +++ gcc-avr-4.9.2+Atmel3.5.4/debian/debian_patches/01_dissable_docs.diff @@ -0,0 +1,37 @@ +diff -rc gcc.org/Makefile.in gcc/Makefile.in +*** a/gcc/Makefile.in 2012-03-22 20:30:07.000000000 +0100 +--- b/gcc/Makefile.in 2012-03-22 20:28:34.000000000 +0100 +*************** +*** 1712,1718 **** + all.internal: start.encap rest.encap doc + # This is what to compile if making a cross-compiler. + all.cross: native gcc-cross$(exeext) cpp$(exeext) specs \ +! libgcc-support lang.all.cross doc @GENINSRC@ srcextra + # This is what must be made before installing GCC and converting libraries. + start.encap: native xgcc$(exeext) cpp$(exeext) specs \ + libgcc-support lang.start.encap @GENINSRC@ srcextra +--- 1712,1718 ---- + all.internal: start.encap rest.encap doc + # This is what to compile if making a cross-compiler. + all.cross: native gcc-cross$(exeext) cpp$(exeext) specs \ +! libgcc-support lang.all.cross @GENINSRC@ srcextra + # This is what must be made before installing GCC and converting libraries. + start.encap: native xgcc$(exeext) cpp$(exeext) specs \ + libgcc-support lang.start.encap @GENINSRC@ srcextra +*************** +*** 4486,4492 **** + # Install the driver last so that the window when things are + # broken is small. + install: install-common $(INSTALL_HEADERS) \ +! install-cpp install-man install-info install-@POSUB@ \ + install-driver install-lto-wrapper install-gcc-ar + + ifeq ($(enable_plugin),yes) +--- 4486,4492 ---- + # Install the driver last so that the window when things are + # broken is small. + install: install-common $(INSTALL_HEADERS) \ +! install-cpp install-man install-@POSUB@ \ + install-driver install-lto-wrapper install-gcc-ar + + ifeq ($(enable_plugin),yes) --- gcc-avr-4.9.2+Atmel3.5.4.orig/debian/debian_patches/02_gperf_gcc_6_support.diff +++ gcc-avr-4.9.2+Atmel3.5.4/debian/debian_patches/02_gperf_gcc_6_support.diff @@ -0,0 +1,126 @@ +--- a/gcc/cp/Make-lang.in ++++ b/gcc/cp/Make-lang.in +@@ -112,7 +112,7 @@ else + # deleting the $(srcdir)/cp/cfns.h file. + $(srcdir)/cp/cfns.h: + endif +- gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' -L ANSI-C \ ++ gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' -L C++ \ + $(srcdir)/cp/cfns.gperf --output-file $(srcdir)/cp/cfns.h + + # +diff --git a/gcc/cp/cfns.gperf b/gcc/cp/cfns.gperf +index 2784edc..8d7f015 100644 +--- a/gcc/cp/cfns.gperf ++++ b/gcc/cp/cfns.gperf +@@ -1,3 +1,5 @@ ++%language=C++ ++%define class-name libc_name + %{ + /* Copyright (C) 2000-2016 Free Software Foundation, Inc. + +@@ -16,14 +18,6 @@ for more details. + You should have received a copy of the GNU General Public License + along with GCC; see the file COPYING3. If not see + . */ +-#ifdef __GNUC__ +-__inline +-#endif +-static unsigned int hash (const char *, unsigned int); +-#ifdef __GNUC__ +-__inline +-#endif +-const char * libc_name_p (const char *, unsigned int); + %} + %% + # The standard C library functions, for feeding to gperf; the result is used +diff --git a/gcc/cp/cfns.h b/gcc/cp/cfns.h +index d8e02c9..9a37249 100644 +--- a/gcc/cp/cfns.h ++++ b/gcc/cp/cfns.h +@@ -1,5 +1,5 @@ +-/* ANSI-C code produced by gperf version 3.0.3 */ +-/* Command-line: gperf -o -C -E -k '1-6,$' -j1 -D -N libc_name_p -L ANSI-C cfns.gperf */ ++/* C++ code produced by gperf version 3.0.4 */ ++/* Command-line: gperf -o -C -E -k '1-6,$' -j1 -D -N libc_name_p -L C++ --output-file cfns.h cfns.gperf */ + + #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ + && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ +@@ -28,7 +28,7 @@ + #error "gperf generated tables don't work with this execution character set. Please report a bug to ." + #endif + +-#line 1 "cfns.gperf" ++#line 3 "cfns.gperf" + + /* Copyright (C) 2000-2016 Free Software Foundation, Inc. + +@@ -47,25 +47,18 @@ for more details. + You should have received a copy of the GNU General Public License + along with GCC; see the file COPYING3. If not see + . */ +-#ifdef __GNUC__ +-__inline +-#endif +-static unsigned int hash (const char *, unsigned int); +-#ifdef __GNUC__ +-__inline +-#endif +-const char * libc_name_p (const char *, unsigned int); + /* maximum key range = 391, duplicates = 0 */ + +-#ifdef __GNUC__ +-__inline +-#else +-#ifdef __cplusplus +-inline +-#endif +-#endif +-static unsigned int +-hash (register const char *str, register unsigned int len) ++class libc_name ++{ ++private: ++ static inline unsigned int hash (const char *str, unsigned int len); ++public: ++ static const char *libc_name_p (const char *str, unsigned int len); ++}; ++ ++inline unsigned int ++libc_name::hash (register const char *str, register unsigned int len) + { + static const unsigned short asso_values[] = + { +@@ -122,14 +115,8 @@ hash (register const char *str, register unsigned int len) + return hval + asso_values[(unsigned char)str[len - 1]]; + } + +-#ifdef __GNUC__ +-__inline +-#ifdef __GNUC_STDC_INLINE__ +-__attribute__ ((__gnu_inline__)) +-#endif +-#endif + const char * +-libc_name_p (register const char *str, register unsigned int len) ++libc_name::libc_name_p (register const char *str, register unsigned int len) + { + enum + { +diff --git a/gcc/cp/except.c b/gcc/cp/except.c +index c73a16b..5336710 100644 +--- a/gcc/cp/except.c ++++ b/gcc/cp/except.c +@@ -1040,7 +1040,8 @@ nothrow_libfn_p (const_tree fn) + unless the system headers are playing rename tricks, and if + they are, we don't want to be confused by them. */ + id = DECL_NAME (fn); +- return !!libc_name_p (IDENTIFIER_POINTER (id), IDENTIFIER_LENGTH (id)); ++ return !!libc_name::libc_name_p (IDENTIFIER_POINTER (id), ++ IDENTIFIER_LENGTH (id)); + } + + /* Returns nonzero if an exception of type FROM will be caught by a +-- +1.7.1 + --- gcc-avr-4.9.2+Atmel3.5.4.orig/debian/dirs +++ gcc-avr-4.9.2+Atmel3.5.4/debian/dirs @@ -0,0 +1,6 @@ +usr/bin +usr/lib + + + + --- gcc-avr-4.9.2+Atmel3.5.4.orig/debian/dummy.texi +++ gcc-avr-4.9.2+Atmel3.5.4/debian/dummy.texi @@ -0,0 +1 @@ +@c This file is empty because the original one has a non DFSG free license (GFDL) --- gcc-avr-4.9.2+Atmel3.5.4.orig/debian/gcc-dummy.texi +++ gcc-avr-4.9.2+Atmel3.5.4/debian/gcc-dummy.texi @@ -0,0 +1,41 @@ +\input texinfo @c -*-texinfo-*- +@c %**start of header + +@settitle The GNU Compiler Collection (GCC) + +@c Create a separate index for command line options. +@defcodeindex op +@c Merge the standard indexes into a single one. +@syncodeindex fn cp +@syncodeindex vr cp +@syncodeindex ky cp +@syncodeindex pg cp +@syncodeindex tp cp + +@paragraphindent 1 + +@c %**end of header + +@copying +The current documentation is licensed under the same terms as the Debian packaging. +@end copying +@ifnottex +@dircategory Programming +@direntry +* @name@: (@name@). The GNU Compiler Collection (@name@). +@end direntry +@sp 1 +@end ifnottex + +@summarycontents +@contents +@page + +@node Top +@top Introduction +@cindex introduction +The official GNU compilers' documentation is released under the terms +of the GNU Free Documentation License with cover texts. This has been +considered non free by the Debian Project. Thus you will find it in the +non-free section of the Debian archive. +@bye --- gcc-avr-4.9.2+Atmel3.5.4.orig/debian/patch_fixed_reg +++ gcc-avr-4.9.2+Atmel3.5.4/debian/patch_fixed_reg @@ -0,0 +1,97 @@ +--- gcc/config/avr/avr.c.orig Sat May 12 15:32:41 2001 ++++ gcc/config/avr/avr.c Sat Oct 6 01:04:15 2001 +@@ -562,7 +562,7 @@ + fprintf (file,"\tsei\n"); + ++prologue_size; + } +- if (interrupt_func_p | signal_func_p) ++ if (interrupt_func_p || signal_func_p) + { + fprintf (file, "\t" + AS1 (push,__zero_reg__) CR_TAB +@@ -574,14 +574,23 @@ + } + if (main_p) + { +- fprintf (file, ("\t" +- AS2 (ldi,r28,lo8(%s - %d)) CR_TAB +- AS2 (ldi,r29,hi8(%s - %d)) CR_TAB +- AS2 (out,__SP_H__,r29) CR_TAB +- AS2 (out,__SP_L__,r28) "\n"), +- avr_init_stack, size, avr_init_stack, size); ++ if (!TARGET_TINY_STACK) { ++ fprintf (file, ("\t" ++ AS2 (ldi,r28,lo8(%s - %d)) CR_TAB ++ AS2 (ldi,r29,hi8(%s - %d)) CR_TAB ++ AS2 (out,__SP_H__,r29) CR_TAB ++ AS2 (out,__SP_L__,r28) "\n"), ++ avr_init_stack, size, avr_init_stack, size); + +- prologue_size += 4; ++ prologue_size += 4; ++ } else { ++ fprintf (file, ("\t" ++ AS2 (ldi,r28,lo8(%s - %d)) CR_TAB ++ AS2 (out,__SP_L__,r28) "\n"), ++ avr_init_stack, size); ++ ++ prologue_size += 2; ++ } + } + else if (minimize && (frame_pointer_needed || live_seq > 6)) + { +@@ -613,7 +622,8 @@ + { + for (reg = 0; reg < 32; ++reg) + { +- if ((!leaf_func_p ++ if (!fixed_regs[reg] && ++ ((!leaf_func_p + && (call_used_regs[reg] + && (interrupt_func_p || signal_func_p) + && !(reg == TMP_REGNO || reg == ZERO_REGNO))) +@@ -621,7 +631,7 @@ + && (!call_used_regs[reg] + || interrupt_func_p || signal_func_p) + && ! (frame_pointer_needed +- && (reg == REG_Y || reg == (REG_Y+1))))) ++ && (reg == REG_Y || reg == (REG_Y+1)))))) + { + fprintf (file, "\t" AS1 (push,%s) "\n", avr_regnames[reg]); + ++prologue_size; +@@ -737,7 +747,7 @@ + fputs ("\t", file); + epilogue_size += out_adj_frame_ptr (file, -size); + +- if (interrupt_func_p | signal_func_p) ++ if (interrupt_func_p || signal_func_p) + { + epilogue_size += out_set_stack_ptr (file, -1, 0); + } +@@ -754,7 +764,8 @@ + + for (reg = 31; reg >= 0; --reg) + { +- if ((!leaf_func_p ++ if (!fixed_regs[reg] && ++ ((!leaf_func_p + && (call_used_regs[reg] + && (interrupt_func_p || signal_func_p) + && !(reg == TMP_REGNO || reg == ZERO_REGNO))) +@@ -762,14 +773,14 @@ + && (!call_used_regs[reg] + || interrupt_func_p || signal_func_p) + && ! (frame_pointer_needed +- && (reg == REG_Y || reg == (REG_Y+1))))) ++ && (reg == REG_Y || reg == (REG_Y+1)))))) + { + fprintf (file, "\t" AS1 (pop,%s) "\n", avr_regnames[reg]); + ++epilogue_size; + } + } + +- if (interrupt_func_p | signal_func_p) ++ if (interrupt_func_p || signal_func_p) + { + fprintf (file, "\t" + AS1 (pop,__tmp_reg__) CR_TAB --- gcc-avr-4.9.2+Atmel3.5.4.orig/debian/patchlist +++ gcc-avr-4.9.2+Atmel3.5.4/debian/patchlist @@ -0,0 +1,2 @@ +debian_patches/01_dissable_docs.diff +debian_patches/02_gperf_gcc_6_support.diff --- gcc-avr-4.9.2+Atmel3.5.4.orig/debian/rules +++ gcc-avr-4.9.2+Atmel3.5.4/debian/rules @@ -0,0 +1,157 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +TARGET=avr +TARGET_ARCH=avr +PACKAGE=gcc-avr + +CONFARGS = -v \ + --enable-languages=c,c++ \ + --prefix=/usr/lib \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --bindir=/usr/bin \ + --libexecdir=/usr/lib \ + --libdir=/usr/lib \ + --enable-shared \ + --with-system-zlib \ + --enable-long-long \ + --enable-nls \ + --without-included-gettext \ + --disable-libssp \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --host=$(DEB_HOST_GNU_TYPE) \ + --target=$(TARGET) \ + $(shell dpkg-buildflags --export=configure | sed -e 's/-Werror=format-security//g') + +srcdir=src + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + +TAR_DIR=gcc-* + +patch-source: $(patch_stamp) + +clean-source: + rm -rf $(stampdir) + rm -rf $(gcc_srcdir) $(gdc_srcdir) d + rm -rf bin + rm -rf $(srcdir) + + +unpack: unpack-stamp +unpack-stamp: + tar xf avr-gcc-*.tar.bz2 + mv gcc src + touch unpack-stamp + +BUILD_TREE=src + +patched-stamp:=$(STAMP_DIR)/patched-stamp + +patch: patch-stamp +patch-stamp: unpack-stamp + cd $(BUILD_TREE) && for p in `cat ../debian/patchlist`; do \ + echo Applying $$p; \ + patch -p1 < ../debian/$$p; \ + done + touch patch-stamp + +configure: configure-stamp +configure-stamp: $(unpack_stamp) patch-stamp + dh_testdir + rm -f $(BUILD_TREE)/gcc/doc/*.1 + rm -f $(BUILD_TREE)/gcc/doc/*.info + AUTOM4TE=autom4te2.64 AUTOCONF=autoconf2.64 AUTOMAKE=automake1.11 dh_autoreconf + mkdir -p objdir + # Add here commands to configure the package. + cd objdir && env CC="gcc" `echo ../$(BUILD_TREE)`/configure $(CONFARGS) + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: patch-stamp + dh_testdir + + # Add here commands to compile the package. + cd objdir && $(MAKE) + #/usr/bin/docbook-to-man debian/$(PACKAGE).sgml > $(PACKAGE).1 + + touch build-stamp + +build-indep: build +build-arch: build + +clean: clean-source + dh_testdir + dh_testroot + dh_autoreconf_clean + rm -f build-stamp configure-stamp patch-stamp unpack-stamp + rm -rf objdir + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/$(PACKAGE). + echo install: > objdir/fixincludes/Makefile + cd objdir && $(MAKE) install DESTDIR=$(CURDIR)/debian/$(PACKAGE)/ + + #rm debian/$(PACKAGE)/usr/share/man/man1/avr-g++.1 + #ln -s avr-gcc.1.gz debian/$(PACKAGE)/usr/share/man/man1/avr-g++.1.gz + ln -s avr-g++.1.gz debian/$(PACKAGE)/usr/share/man/man1/avr-c++.1.gz + ln -s avr-gcc.1.gz debian/$(PACKAGE)/usr/share/man/man1/avr-gcc-4.3.0.gz + install -m644 debian/avr-gccbug.1 debian/$(PACKAGE)/usr/share/man/man1/avr-gccbug.1 + gzip -9 debian/$(PACKAGE)/usr/share/man/man1/avr-gccbug.1 + + cd debian/$(PACKAGE)/usr/ && \ + rm -rf bin/gcov bin/gccbug share/man/man1/gcov.1* \ + lib*/libiberty.a share/info share/man/man7/gfdl.7* \ + share/man/man7/gpl.7* share/man/man7/fsf-funding.7* \ + share/locale bin/*c++filt lib/avr \ + share/man lib/share lib/include + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs -n +# dh_installexamples +# dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron + dh_installman + dh_installinfo + dh_installchangelogs + dh_link + dh_strip -X.a -X.o + for f in `find debian/$(PACKAGE) -name '*.a*'`; do \ + avr-strip --strip-debug $$f; \ + done + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps +# dh_gencontrol -- -VBuilt-Using="$(BUILT_USING)" + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- gcc-avr-4.9.2+Atmel3.5.4.orig/debian/rules-gfdlstuff.mk +++ gcc-avr-4.9.2+Atmel3.5.4/debian/rules-gfdlstuff.mk @@ -0,0 +1,113 @@ +# -*- makefile -*- +# uses information taken from the gcc-4.1 package + +gfdl_texinfo_files = \ + gcc/doc/bugreport.texi \ + gcc/doc/cfg.texi \ + gcc/doc/collect2.texi \ + gcc/doc/compat.texi \ + gcc/doc/configfiles.texi \ + gcc/doc/configterms.texi \ + gcc/doc/contrib.texi \ + gcc/doc/contribute.texi \ + gcc/doc/cppenv.texi \ + gcc/doc/cppinternals.texi \ + gcc/doc/cppopts.texi \ + gcc/doc/cpp.texi \ + gcc/doc/c-tree.texi \ + gcc/doc/extend.texi \ + gcc/doc/fragments.texi \ + gcc/doc/frontends.texi \ + gcc/doc/gccint.texi \ + gcc/doc/gcc.texi \ + gcc/doc/gcov.texi \ + gcc/doc/gnu.texi \ + gcc/doc/gty.texi \ + gcc/doc/headerdirs.texi \ + gcc/doc/hostconfig.texi \ + gcc/doc/implement-c.texi \ + gcc/doc/install-old.texi \ + gcc/doc/install.texi \ + gcc/doc/interface.texi \ + gcc/doc/invoke.texi \ + gcc/doc/languages.texi \ + gcc/doc/libgcc.texi \ + gcc/doc/makefile.texi \ + gcc/doc/md.texi \ + gcc/doc/objc.texi \ + gcc/doc/options.texi \ + gcc/doc/passes.texi \ + gcc/doc/portability.texi \ + gcc/doc/rtl.texi \ + gcc/doc/service.texi \ + gcc/doc/sourcebuild.texi \ + gcc/doc/standards.texi \ + gcc/doc/tm.texi \ + gcc/doc/tree-ssa.texi \ + gcc/doc/trouble.texi \ + gcc/doc/include/gcc-common.texi \ + gcc/doc/include/funding.texi \ + libstdc++-v3/docs/html/17_intro/porting.texi \ + +gfdl_toplevel_texinfo_files = \ + gcc/doc/gcc.texi \ + gcc/treelang/treelang.texi \ + +gfdl_manpages = \ + gcc/doc/cpp.1 \ + gcc/doc/g++.1 \ + gcc/doc/gcc.1 \ + gcc/doc/gcj.1 \ + gcc/doc/gcj-dbtool.1 \ + gcc/doc/gcjh.1 \ + gcc/doc/gcov.1 \ + gcc/doc/gij.1 \ + gcc/doc/gjnih.1 \ + gcc/doc/grmic.1 \ + gcc/doc/grmiregistry.1 \ + gcc/doc/jcf-dump.1 \ + gcc/doc/jv-convert.1 \ + gcc/doc/jv-scan.1 + +unpackedpath=build-tree/gcc-4.1.0 + +repack-gfdl: repack-gfdl-core repack-gfdl-g++ + +# core +repack-gfdl-core: unpack-core remove-gfdl-core + (cd core; tar -cjf ../gcc-core-4.1.0.tar.bz2 *) + rm -rf core + +core: unpack-core +unpack-core: + mkdir core + (cd core; tar -xjf ../gcc-core-4.1.0.tar.bz2) + +remove-gfdl-core: core + (cd core; $(remove-gfdl)) + rm -rf core/$(unpackedpath)/INSTALL + + +# g++ +repack-gfdl-g++: unpack-g++ remove-gfdl-g++ + (cd g++; tar -cjf ../gcc-g++-4.1.0.tar.bz2 *) + rm -rf g++ + +g++: unpack-g++ +unpack-g++: + mkdir g++ + (cd g++; tar -xjf ../gcc-g++-4.1.0.tar.bz2) + +remove-gfdl-g++: g++ + (cd g++; $(remove-gfdl)) + rm -rf g++/$(unpackedpath)/INSTALL + + + +define remove-gfdl + for file in $(gfdl_texinfo_files) $(gfdl_toplevel_texinfo_files) $(gfdl_manpages); do \ + rm -f $(unpackedpath)/$$file; \ + done +endef + +.PHONY: repack-gfdl --- gcc-avr-4.9.2+Atmel3.5.4.orig/debian/semantic.cache +++ gcc-avr-4.9.2+Atmel3.5.4/debian/semantic.cache @@ -0,0 +1,22 @@ +;; Object debian/ +;; SEMANTICDB Tags save file +(semanticdb-project-database-file "debian/" + :tables (list + (semanticdb-table "rules-gfdlstuff.mk" + :major-mode 'makefile-mode + :tags '(("gfdl_texinfo_files" variable (:default-value ("gcc/doc/bugreport.texi" "gcc/doc/cfg.texi" "gcc/doc/collect2.texi" "gcc/doc/compat.texi" "gcc/doc/configfiles.texi" "gcc/doc/configterms.texi" "gcc/doc/contrib.texi" "gcc/doc/contribute.texi" "gcc/doc/cppenv.texi" "gcc/doc/cppinternals.texi" "gcc/doc/cppopts.texi" "gcc/doc/cpp.texi" "gcc/doc/c-tree.texi" "gcc/doc/extend.texi" "gcc/doc/fragments.texi" "gcc/doc/frontends.texi" "gcc/doc/gccint.texi" "gcc/doc/gcc.texi" "gcc/doc/gcov.texi" "gcc/doc/gnu.texi" "gcc/doc/gty.texi" "gcc/doc/headerdirs.texi" "gcc/doc/hostconfig.texi" "gcc/doc/implement-c.texi" "gcc/doc/install-old.texi" "gcc/doc/install.texi" "gcc/doc/interface.texi" "gcc/doc/invoke.texi" "gcc/doc/languages.texi" "gcc/doc/libgcc.texi" "gcc/doc/makefile.texi" "gcc/doc/md.texi" "gcc/doc/objc.texi" "gcc/doc/options.texi" "gcc/doc/passes.texi" "gcc/doc/portability.texi" "gcc/doc/rtl.texi" "gcc/doc/service.texi" "gcc/doc/sourcebuild.texi" "gcc/doc/standards.texi" "gcc/doc/tm.texi" "gcc/doc/tree-ssa.texi" "gcc/doc/trouble.texi" "gcc/doc/include/gcc-common.texi" "gcc/doc/include/funding.texi" "libstdc++-v3/docs/html/17_intro/porting.texi")) nil [71 1569]) ("gfdl_toplevel_texinfo_files" variable (:default-value ("gcc/doc/gcc.texi" "gcc/treelang/treelang.texi")) nil [1569 1666]) ("gfdl_manpages" variable (:default-value ("gcc/doc/cpp.1" "gcc/doc/g++.1" "gcc/doc/gcc.1" "gcc/doc/gcj.1" "gcc/doc/gcj-dbtool.1" "gcc/doc/gcjh.1" "gcc/doc/gcov.1" "gcc/doc/gij.1" "gcc/doc/gjnih.1" "gcc/doc/grmic.1" "gcc/doc/grmiregistry.1" "gcc/doc/jcf-dump.1" "gcc/doc/jv-convert.1" "gcc/doc/jv-scan.1")) nil [1666 2056]) ("unpackedpath" variable (:default-value ("build-tree/gcc-4.1.0")) nil [2057 2091]) ("repack-gfdl" function (:arguments ("repack-gfdl-core" "repack-gfdl-g++")) nil [2092 2139]) ("repack-gfdl-core" function (:arguments ("unpack-core" "remove-gfdl-core")) nil [2146 2256]) ("core" function (:arguments ("unpack-core")) nil [2256 2285]) ("unpack-core" function nil nil [2274 2347]) ("remove-gfdl-core" function (:arguments ("core")) nil [2347 2435])) + :file "rules-gfdlstuff.mk" + :pointmax 2895 + ) + (semanticdb-table "rules" + :major-mode 'makefile-mode + :tags '(("TARGET" variable (:default-value ("avr")) nil [107 118]) ("TARGET_ARCH" variable (:default-value ("avr")) nil [118 134]) ("PACKAGE" variable (:default-value ("gcc-avr")) nil [134 150]) ("/usr/share/dbs/dpkg-arch.mk" include nil nil [183 219]) ("CONFARGS" variable (:default-value ("-v" "--enable-languages=c,c++" "--prefix=/usr" "--infodir=/usr/share/info" "--mandir=/usr/share/man" "--libexecdir=/usr/lib")) nil [226 394]) ("--build" variable (:default-value ("$(DEB_BUILD_GNU_TYPE)" "--host=$(DEB_HOST_GNU_TYPE)" "--target=$(TARGET)")) nil [595 693]) ("srcdir" variable (:default-value ("src")) nil [694 705]) ("DH_VERBOSE" variable (:default-value ("1")) nil [879 892]) ("DH_COMPAT" variable (:default-value ("4")) nil [954 966]) ("TAR_DIR" variable (:default-value ("gcc-*")) nil [967 981]) ("/usr/src/gcc-4.2/rules.source" include nil nil [1018 1056]) ("BUILD_TREE" variable (:default-value ("src")) nil [1223 1238]) ("patched-stamp" variable (:default-value ("$(STAMP_DIR)/patched-stamp")) nil [1239 1281]) ("patch-stamp" function nil nil [1282 1395]) ("configure" function (:arguments ("configure-stamp")) nil [1395 1451]) ("configure-stamp" function (:arguments ("$(unpack_stamp)" "patch-stamp")) nil [1451 2002]) ("build" function (:arguments ("configure-stamp" "build-stamp")) nil [2002 2048]) ("build-stamp" function (:arguments ("patch-stamp")) nil [2037 2075]) ("clean" function (:arguments ("clean-source")) nil [2227 2320]) ("install" function (:arguments ("build")) nil [2465 2535]) ("binary-indep" function (:arguments ("build" "install")) nil [3396 3460]) ("binary-arch" function (:arguments ("build" "install")) nil [3504 3577]) ("binary" function (:arguments ("binary-indep" "binary-arch")) nil [4237 4276])) + :file "rules" + :pointmax 4340 + :unmatched-syntax 'nil + ) + ) + :file "semantic.cache" + :semantic-tag-version "2.0pre3" + :semanticdb-version "2.0pre3" + ) --- gcc-avr-4.9.2+Atmel3.5.4.orig/debian/watch +++ gcc-avr-4.9.2+Atmel3.5.4/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=dversionmangle=s/^.*\+Atmel// \ + http://distribute.atmel.no/tools/opensource/Atmel-AVR-GNU-Toolchain/ (\d+\.\d+\.\d+)/ --- gcc-avr-4.9.2+Atmel3.5.4.orig/make_dfsg.sh +++ gcc-avr-4.9.2+Atmel3.5.4/make_dfsg.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +# Usage: $0 avr-gcc.tar.bz2 + +tar xf $1 || exit -1 + +for f in `find gcc -type f -name \*.1 -or -name \*.texi.in -or -name \*.texi -or -name \*.html -or -name \*.7 -or -name \*.info`; do + echo > $f +done + +# rm `find gcc -type f -name \*.1 -or -name \*.texi.in -or -name \*.texi -or -name \*.html -or -name \*.7 -or -name \*.info` || exit -1 +# mkdir tmp +# tar -C tmp -x -f $2 +# pushd tmp/gcc* +# tar cf ../docs.tar `find gcc -type f -name \*.1 -or -name \*.texi.in -or -name \*.texi -or -name \*.html -or -name \*.7 -or -name \*.info` || exit -1 +# popd +# tar -C gcc -x -f tmp/docs.tar || exit -1 +# rm -r tmp || exit -1 + +tar cjf ${1%.tar.bz2}-dfsg.tar.bz2 gcc || exit -1 +rm -r gcc || exit -1 +rm $1 || exit -1 + --- gcc-avr-4.9.2+Atmel3.5.4.orig/new_upstream.sh +++ gcc-avr-4.9.2+Atmel3.5.4/new_upstream.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +if [ $# -ne 2 ]; then + echo Usage: $0 '' '' + echo Exmpl: $0 avr-gcc.tar.bz2 4.9.2+Atmel3.5.0 + exit -1 +fi + + +# Usage: $0 avr-gcc.tar.bz2 4.9.2+Atmel3.5.0 +./make_dfsg.sh $1 + +mkdir ../gcc-avr-$2".orig" +cp ${1%.tar.bz2}-dfsg.tar.bz2 ../gcc-avr-$2".orig" +dch -v "1:"$2"-1" New upstream release +dch -r ok +echo +echo Now update debian/control +echo --- gcc-avr-4.9.2+Atmel3.5.4.orig/test1.c +++ gcc-avr-4.9.2+Atmel3.5.4/test1.c @@ -0,0 +1 @@ +main() {int a,b; return a*b;} --- gcc-avr-4.9.2+Atmel3.5.4.orig/test1.i +++ gcc-avr-4.9.2+Atmel3.5.4/test1.i @@ -0,0 +1,5 @@ +# 1 "test1.c" +# 1 "" +# 1 "" +# 1 "test1.c" +main() {int a,b; return a*b;} --- gcc-avr-4.9.2+Atmel3.5.4.orig/test1.s +++ gcc-avr-4.9.2+Atmel3.5.4/test1.s @@ -0,0 +1,37 @@ + .file "test1.c" +__SREG__ = 0x3f +__SP_H__ = 0x3e +__SP_L__ = 0x3d +__CCP__ = 0x34 +__tmp_reg__ = 0 +__zero_reg__ = 1 + .global __do_copy_data + .global __do_clear_bss + .text +.global main + .type main, @function +main: + push r29 + push r28 + rcall . + rcall . + in r28,__SP_L__ + in r29,__SP_H__ +/* prologue: function */ +/* frame size = 4 */ + ldd r24,Y+3 + ldd r25,Y+4 + ldd r18,Y+1 + ldd r19,Y+2 + mov r22,r18 + mov r23,r19 + rcall __mulhi3 +/* epilogue start */ + pop __tmp_reg__ + pop __tmp_reg__ + pop __tmp_reg__ + pop __tmp_reg__ + pop r28 + pop r29 + ret + .size main, .-main --- gcc-avr-4.9.2+Atmel3.5.4.orig/test2.c +++ gcc-avr-4.9.2+Atmel3.5.4/test2.c @@ -0,0 +1,2 @@ +#include +main() {printf("Hello World\n");} --- gcc-avr-4.9.2+Atmel3.5.4.orig/test3.cc +++ gcc-avr-4.9.2+Atmel3.5.4/test3.cc @@ -0,0 +1,2 @@ +#include +main() {cout << "Hi!\n";} --- gcc-avr-4.9.2+Atmel3.5.4.orig/test4.c +++ gcc-avr-4.9.2+Atmel3.5.4/test4.c @@ -0,0 +1,11 @@ +volatile int cnt; +int main() { + while (1) cnt++; + return 0; +} + +/* +avr-gcc -DMASTER -Wall -Wstrict-prototypes -g2 -Os -mmcu=atmega128 -mno-tablejump -fpack-struct -fno-common -gdwarf-2 -mcall-prologues -DSTACK_OVERFLOW_CHECK -D'FIRMWARE_BACKUP_START=(0x10000L)' -D'FIRMWARE_BACKUP_END=((0x10000L + (0xE000L - 0L)))' -D'FIRMWARE_START=(0L)' -D'FIRMWARE_END=(0xE000L)' -D'BOOTLOADER_START=(0x1E000L)' -D'BOOTLOADER_END=(0x1FC00L)' -I/srv/home/michael/Projects/rtm/rtm5101 -I/srv/home/michael/Projects/rtm/rtm5101/include -c -o test4.o test4.c +avr-ld -mavr5 test4.o /usr/lib/gcc/avr/4.3.4/avr51/libgcc.a -o firmware.elf + */ +