From patchwork Tue Oct 9 16:39:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory Hermant X-Patchwork-Id: 190366 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 7328D2C0096 for ; Wed, 10 Oct 2012 03:40:07 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id E17E430E1C; Tue, 9 Oct 2012 16:40:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s-SbcB4ZnMfx; Tue, 9 Oct 2012 16:40:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id D3DAB30E92; Tue, 9 Oct 2012 16:39:27 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id CDA338F74B for ; Tue, 9 Oct 2012 16:39:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4036E8033B for ; Tue, 9 Oct 2012 16:39:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jT3AzPB3yRhx for ; Tue, 9 Oct 2012 16:39:26 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.160]) by whitealder.osuosl.org (Postfix) with ESMTPS id 44468805BD for ; Tue, 9 Oct 2012 16:39:26 +0000 (UTC) X-RZG-AUTH: :K34Bck+6YrEgjuBfzmrkukPJhhbHEm1G+2SCnvvjhur6rsGj/jgixsrTkwdMQP1Z/nY9De0+2x7BiUE0i0o= X-RZG-CLASS-ID: mo00 Received: from ghermant-Q310.home (ALyon-754-1-14-106.w90-53.abo.wanadoo.fr [90.53.249.106]) by smtp.strato.de (joses mo24) (RZmta 30.20 DYNA|AUTH) with ESMTPA id v06cb0o99FP40d ; Tue, 9 Oct 2012 18:39:24 +0200 (CEST) From: Gregory Hermant To: buildroot@busybox.net Date: Tue, 9 Oct 2012 18:39:17 +0200 Message-Id: <1349800757-31873-1-git-send-email-gregory.hermant@calao-systems.com> X-Mailer: git-send-email 1.7.9.5 Subject: [Buildroot] [PATCH v2] at91bootstrap: fix gcc-4.6.x overlap linker issue X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Gregory Hermant --- ...at91bootstrap-1.16-gcc-4.6.x-ldscript-fix.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 boot/at91bootstrap/at91bootstrap-1.16-gcc-4.6.x-ldscript-fix.patch diff --git a/boot/at91bootstrap/at91bootstrap-1.16-gcc-4.6.x-ldscript-fix.patch b/boot/at91bootstrap/at91bootstrap-1.16-gcc-4.6.x-ldscript-fix.patch new file mode 100644 index 0000000..b738df1 --- /dev/null +++ b/boot/at91bootstrap/at91bootstrap-1.16-gcc-4.6.x-ldscript-fix.patch @@ -0,0 +1,12 @@ +diff --git a/elf32-littlearm.lds b/elf32-littlearm.lds +index a33952f..4f3ba25 100644 +--- a/elf32-littlearm.lds ++++ b/elf32-littlearm.lds +@@ -7,6 +7,7 @@ SECTIONS + .text : { + _stext = .; + *(.text) ++ *(.text*) + *(.rodata) /* read-only data (constants) */ + *(.rodata*) + . = ALIGN(4);