From patchwork Sun Apr 24 08:29:34 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joakim Tjernlund X-Patchwork-Id: 92642 X-Patchwork-Delegate: wd@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 6CF6EB6F6B for ; Sun, 24 Apr 2011 18:30:34 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 01A78280E5; Sun, 24 Apr 2011 10:30:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AOHmARoiqENs; Sun, 24 Apr 2011 10:30:30 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BE125280EE; Sun, 24 Apr 2011 10:30:19 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2AAD6280E7 for ; Sun, 24 Apr 2011 10:30:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tT+k2lmhUrrb for ; Sun, 24 Apr 2011 10:29:59 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from gw1.transmode.se (gw1.transmode.se [195.58.98.146]) by theia.denx.de (Postfix) with ESMTPS id 608DC280E5 for ; Sun, 24 Apr 2011 10:29:49 +0200 (CEST) Received: from mail1.transmode.se (mail1.transmode.se [192.168.201.18]) by gw1.transmode.se (Postfix) with ESMTP id 8848A258022; Sun, 24 Apr 2011 10:29:48 +0200 (CEST) Received: from gentoo-jocke.transmode.se ([172.20.4.10]) by mail1.transmode.se (Lotus Domino Release 8.5.2FP2) with ESMTP id 2011042410294805-3592 ; Sun, 24 Apr 2011 10:29:48 +0200 Received: from gentoo-jocke.transmode.se (localhost [127.0.0.1]) by gentoo-jocke.transmode.se (8.14.4/8.14.0) with ESMTP id p3O8TmF6023015; Sun, 24 Apr 2011 10:29:48 +0200 Received: (from jocke@localhost) by gentoo-jocke.transmode.se (8.14.4/8.14.4/Submit) id p3O8TmjR023014; Sun, 24 Apr 2011 10:29:48 +0200 From: Joakim Tjernlund To: u-boot@lists.denx.de, Wolfgang Denk Date: Sun, 24 Apr 2011 10:29:34 +0200 Message-Id: <1303633774-22961-4-git-send-email-Joakim.Tjernlund@transmode.se> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: <20110420201335.BC035152160@gemini.denx.de> References: <20110420201335.BC035152160@gemini.denx.de> X-MIMETrack: Itemize by SMTP Server on mail1/Transmode(Release 8.5.2FP2|March 22, 2011) at 04/24/2011 10:29:48, Serialize by Router on mail1/Transmode(Release 8.5.2FP2|March 22, 2011) at 04/24/2011 10:29:48, Serialize complete at 04/24/2011 10:29:48 Cc: Joakim Tjernlund Subject: [U-Boot] [PATCH 3/3] powerpc, 8xx: adapt a few linker scripts so it will build. X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Seems like recent linker/fpic changes broke a few 8xx boards. This makes them build again. Signed-off-by: Joakim Tjernlund --- board/LEOX/elpt860/u-boot.lds | 2 +- board/etx094/u-boot.lds | 2 +- board/svm_sc8xx/u-boot.lds | 2 +- board/tqc/tqm8xx/u-boot.lds | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/board/LEOX/elpt860/u-boot.lds b/board/LEOX/elpt860/u-boot.lds index 5aaf6b3..37b74ec 100644 --- a/board/LEOX/elpt860/u-boot.lds +++ b/board/LEOX/elpt860/u-boot.lds @@ -43,7 +43,7 @@ SECTIONS arch/powerpc/cpu/mpc8xx/start.o (.text*) arch/powerpc/cpu/mpc8xx/traps.o (.text*) - common/libcommon.o (.text*) + /* common/libcommon.o (.text*) */ arch/powerpc/cpu/mpc8xx/libmpc8xx.o (.text*) board/LEOX/elpt860/libelpt860.o (.text*) arch/powerpc/lib/libpowerpc.o (.text*) diff --git a/board/etx094/u-boot.lds b/board/etx094/u-boot.lds index b68d9ea..33c4dba 100644 --- a/board/etx094/u-boot.lds +++ b/board/etx094/u-boot.lds @@ -36,7 +36,7 @@ SECTIONS arch/powerpc/cpu/mpc8xx/traps.o (.text*) net/libnet.o (.text*) arch/powerpc/cpu/mpc8xx/libmpc8xx.o (.text*) - *(.text.*printf*) + /* *(.text.*printf*) */ . = env_offset; common/env_embedded.o (.text*) diff --git a/board/svm_sc8xx/u-boot.lds b/board/svm_sc8xx/u-boot.lds index c65f022..7b886f0 100644 --- a/board/svm_sc8xx/u-boot.lds +++ b/board/svm_sc8xx/u-boot.lds @@ -41,7 +41,7 @@ SECTIONS *(.text.*printf) *(.text.do_mem_*) *(.text.flash*) - *(.text.run_command) +/* *(.text.run_command) */ *(.text.main_loop) *(.text.srec_decode) diff --git a/board/tqc/tqm8xx/u-boot.lds b/board/tqc/tqm8xx/u-boot.lds index f625c3d..43bfe1c 100644 --- a/board/tqc/tqm8xx/u-boot.lds +++ b/board/tqc/tqm8xx/u-boot.lds @@ -42,8 +42,10 @@ SECTIONS drivers/pcmcia/libpcmcia.o (.text*) drivers/rtc/librtc.o (.text*) drivers/misc/libmisc.o (.text*) +/* *(.text.print_buffer) *(.text.print_size) +*/ . = DEFINED(env_offset) ? env_offset : .; common/env_embedded.o (.ppcenv*)