From patchwork Sat Jan 22 20:06:12 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: seedshope X-Patchwork-Id: 80017 X-Patchwork-Delegate: promsoft@gmail.com 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 ED678B7113 for ; Sun, 23 Jan 2011 07:07:38 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AAFB2280FB; Sat, 22 Jan 2011 21:07:03 +0100 (CET) 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 i1kBD0MMrlqo; Sat, 22 Jan 2011 21:07:03 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3EC6E280FF; Sat, 22 Jan 2011 21:06:49 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id ED11D280DC for ; Sat, 22 Jan 2011 21:06:42 +0100 (CET) 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 xbSK0VPjNL6N for ; Sat, 22 Jan 2011 21:06:42 +0100 (CET) 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-iy0-f172.google.com (mail-iy0-f172.google.com [209.85.210.172]) by theia.denx.de (Postfix) with ESMTPS id 8C4A0280DA for ; Sat, 22 Jan 2011 21:06:36 +0100 (CET) Received: by mail-iy0-f172.google.com with SMTP id 42so2898781iyi.3 for ; Sat, 22 Jan 2011 12:06:36 -0800 (PST) Received: by 10.42.172.138 with SMTP id n10mr2596694icz.117.1295726796492; Sat, 22 Jan 2011 12:06:36 -0800 (PST) Received: from localhost.localdomain ([114.249.237.108]) by mx.google.com with ESMTPS id c4sm8238749ict.7.2011.01.22.12.06.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 22 Jan 2011 12:06:36 -0800 (PST) From: seedshope To: Sergei Shtylyov , Albert ARIBAUD , Minkyu Kang , u-boot@lists.denx.de Date: Sun, 23 Jan 2011 04:06:12 +0800 Message-Id: <1295726774-5899-5-git-send-email-bocui107@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1295726774-5899-1-git-send-email-bocui107@gmail.com> References: <1295726774-5899-1-git-send-email-bocui107@gmail.com> Subject: [U-Boot] [v5 patch 4/6] SMDK6400: Add some labels to u-boot.lds to support nand_spl 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 In the nand_spl feature of SMDK6400. Add some relocation symbols to nand_spl/board/samsung/smdk6400/u-boot.lds to fix the compile error. Signed-off-by: Zhong Hongbo diff --git a/nand_spl/board/samsung/smdk6400/u-boot.lds b/nand_spl/board/samsung/smdk6400/u-boot.lds index 3ac6aa1..30b1573 100644 --- a/nand_spl/board/samsung/smdk6400/u-boot.lds +++ b/nand_spl/board/samsung/smdk6400/u-boot.lds @@ -55,7 +55,22 @@ SECTIONS __u_boot_cmd_end = .; . = ALIGN(4); + + .rel.dyn : { + __rel_dyn_start = .; + *(.rel*) + __rel_dyn_end = .; + } + + .dynsym : { + __dynsym_start = .; + *(.dynsym) + } + + .bss __rel_dyn_start (OVERLAY) : { __bss_start = .; - .bss : { *(.bss) . = ALIGN(4); } + *(.bss) + . = ALIGN(4); _end = .; + } }