From patchwork Sun May 1 14:35:06 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfgang Denk X-Patchwork-Id: 93550 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 96AAFB6FA0 for ; Mon, 2 May 2011 00:35:25 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DF84F280CB; Sun, 1 May 2011 16:35:22 +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 Gk3iiBr8YhTH; Sun, 1 May 2011 16:35:22 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id EC1DD280C4; Sun, 1 May 2011 16:35:20 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 16410280C4 for ; Sun, 1 May 2011 16:35:18 +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 zwiGhuikUDf0 for ; Sun, 1 May 2011 16:35:17 +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 mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by theia.denx.de (Postfix) with ESMTP id 0E6BC280C3 for ; Sun, 1 May 2011 16:35:15 +0200 (CEST) Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 2F1C31C08CDE; Sun, 1 May 2011 16:35:14 +0200 (CEST) X-Auth-Info: dGpL9Ke9C90+cWNmNUvMP04md8S1nDR18Zexfj8QrMo= Received: from diddl.denx.de (host-80-81-18-216.customer.m-online.net [80.81.18.216]) by smtp-auth.mnet-online.de (Postfix) with ESMTPA id 166491C00104; Sun, 1 May 2011 16:35:14 +0200 (CEST) Received: from gemini.denx.de (unknown [10.0.0.2]) by diddl.denx.de (Postfix) with ESMTP id EB69C3095026; Sun, 1 May 2011 16:35:13 +0200 (CEST) Received: by gemini.denx.de (Postfix, from userid 500) id 608931537B0; Sun, 1 May 2011 16:35:13 +0200 (CEST) From: Wolfgang Denk To: u-boot@lists.denx.de Date: Sun, 1 May 2011 16:35:06 +0200 Message-Id: <1304260506-1456-1-git-send-email-wd@denx.de> X-Mailer: git-send-email 1.7.4.4 Cc: Murray Jensen , Joakim Tjernlund Subject: [U-Boot] [PATCH] MPC8260: Fix compile problems with "hymod" board 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 Commit 9d8fbd1 "powerpc, 8xx: Fixup all 8xx u-boot.lds scripts" broke building of the MPC8260 based "hymod" board. Fix this. Signed-off-by: Wolfgang Denk Cc: Murray Jensen Cc: Joakim Tjernlund --- board/hymod/u-boot.lds | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Joakim - how comes that a patch that is declared to affect 8xx boards only also modifies (and breaks!) a 82xx board?? Murray - can you please verify that the fix actually works on your hardware? diff --git a/board/hymod/u-boot.lds b/board/hymod/u-boot.lds index 1efa8b3..1309f20 100644 --- a/board/hymod/u-boot.lds +++ b/board/hymod/u-boot.lds @@ -87,9 +87,10 @@ SECTIONS PROVIDE (erotext = .); .reloc : { - *(.got) _GOT2_TABLE_ = .; - *(.got2) + KEEP(*(.got2)) + KEEP(*(.got)) + PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4); _FIXUP_TABLE_ = .; *(.fixup) }