From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mediacenter.hi.pengutronix.de ([2001:6f8:1178:2::65]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RsZB6-0006zr-66 for ptxdist@pengutronix.de; Wed, 01 Feb 2012 13:20:44 +0100 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1RsZB6-0002Id-51 for ptxdist@pengutronix.de; Wed, 01 Feb 2012 13:20:44 +0100 Date: Wed, 1 Feb 2012 13:20:44 +0100 From: Michael Olbrich Message-ID: <20120201122044.GH32382@pengutronix.de> References: <20120131192953.GC32382@pengutronix.de> <1328097290-22194-1-git-send-email-post@lespocky.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1328097290-22194-1-git-send-email-post@lespocky.de> Subject: Re: [ptxdist] [PATCH] add patch fixing at91bootstrap build with gcc 4.6.x, and recreate patch series Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Tnx, applied. Michael On Wed, Feb 01, 2012 at 12:54:50PM +0100, Alexander Dahl wrote: > > Signed-off-by: Alexander Dahl > --- > .../0001-crt0_gnu.S-fix-image-size.patch | 4 -- > ...32-littlearm.lds-fix-overlap-linker-error.patch | 31 ++++++++++++++++++++ > patches/Bootstrap-v1.16/series | 4 ++ > 3 files changed, 35 insertions(+), 4 deletions(-) > create mode 100644 patches/Bootstrap-v1.16/0002-elf32-littlearm.lds-fix-overlap-linker-error.patch > > diff --git a/patches/Bootstrap-v1.16/0001-crt0_gnu.S-fix-image-size.patch b/patches/Bootstrap-v1.16/0001-crt0_gnu.S-fix-image-size.patch > index b2a4b5e..707d105 100644 > --- a/patches/Bootstrap-v1.16/0001-crt0_gnu.S-fix-image-size.patch > +++ b/patches/Bootstrap-v1.16/0001-crt0_gnu.S-fix-image-size.patch > @@ -1,4 +1,3 @@ > -From ed5f0b461a5652c7852f1fd7846be7b4814237de Mon Sep 17 00:00:00 2001 > From: Marc Kleine-Budde > Date: Thu, 17 Feb 2011 15:21:09 +0100 > Subject: [PATCH] crt0_gnu.S: fix image size > @@ -46,6 +45,3 @@ index a33952f..bf02b93 100644 > } > > /* collect all uninitialized .bss sections */ > --- > -1.7.2.3 > - > diff --git a/patches/Bootstrap-v1.16/0002-elf32-littlearm.lds-fix-overlap-linker-error.patch b/patches/Bootstrap-v1.16/0002-elf32-littlearm.lds-fix-overlap-linker-error.patch > new file mode 100644 > index 0000000..19b736b > --- /dev/null > +++ b/patches/Bootstrap-v1.16/0002-elf32-littlearm.lds-fix-overlap-linker-error.patch > @@ -0,0 +1,31 @@ > +From: Alexander Dahl > +Date: Wed, 1 Feb 2012 12:49:15 +0100 > +Subject: [PATCH] elf32-littlearm.lds: fix overlap linker error > + > +circumvent gcc 4.6.x linker overlap error, suggestion from AT91 forum at > +http://www.at91.com/forum/viewtopic.php/f,12/t,20624/ > + > +This patch applies to Bootstrap-v1.16. > + > +Signed-off-by: Alexander Dahl > +--- > + elf32-littlearm.lds | 6 +++++- > + 1 files changed, 5 insertions(+), 1 deletions(-) > + > +diff --git a/elf32-littlearm.lds b/elf32-littlearm.lds > +index bf02b93..d85680c 100644 > +--- a/elf32-littlearm.lds > ++++ b/elf32-littlearm.lds > +@@ -14,7 +14,11 @@ SECTIONS > + } > + > + /* collect all initialized .data sections */ > +- .data : AT ( ADDR (.text) + SIZEOF (.text) ) { > ++ . = ALIGN(4); > ++ .dummy : { > ++ _edummy = .; > ++ } > ++ .data : AT ( LOADADDR(.dummy) ) { > + _sdata = .; > + *(.vectors) > + *(.data) > diff --git a/patches/Bootstrap-v1.16/series b/patches/Bootstrap-v1.16/series > index 3355399..95a2b3f 100644 > --- a/patches/Bootstrap-v1.16/series > +++ b/patches/Bootstrap-v1.16/series > @@ -1 +1,5 @@ > +# generated by git-ptx-patches > +#tag:base --start-number 1 > 0001-crt0_gnu.S-fix-image-size.patch > +0002-elf32-littlearm.lds-fix-overlap-linker-error.patch > +# 6daacb9f08ce1b5f27a02b02d35aa2ee - git-ptx-patches magic > -- > 1.7.2.5 > > > -- > ptxdist mailing list > ptxdist@pengutronix.de > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de