From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from moutng.kundenserver.de ([212.227.126.186]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RsYmh-0005u7-3w for ptxdist@pengutronix.de; Wed, 01 Feb 2012 12:55:33 +0100 From: Alexander Dahl Date: Wed, 1 Feb 2012 12:54:50 +0100 Message-Id: <1328097290-22194-1-git-send-email-post@lespocky.de> In-Reply-To: <20120131192953.GC32382@pengutronix.de> References: <20120131192953.GC32382@pengutronix.de> Subject: [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: , MIME-Version: 1.0 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 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