From patchwork Wed Jun 23 12:35:53 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe De Muyter X-Patchwork-Id: 71790 X-Patchwork-Delegate: jason.jin@freescale.com Return-Path: X-Original-To: wd@gemini.denx.de Delivered-To: wd@gemini.denx.de Received: from diddl.denx.de (diddl.denx.de [10.0.0.6]) by gemini.denx.de (Postfix) with ESMTP id 3F2271524F3 for ; Wed, 23 Jun 2010 15:22:37 +0200 (CEST) Received: from diddl.denx.de (localhost.localdomain [127.0.0.1]) by diddl.denx.de (Postfix) with ESMTP id 2C74E30E5E2D for ; Wed, 23 Jun 2010 15:22:37 +0200 (CEST) Received: from pop.mnet-online.de by diddl.denx.de with POP3 (fetchmail-6.3.17) for (single-drop); Wed, 23 Jun 2010 15:22:37 +0200 (CEST) Received: from murder ([192.168.6.180]) by backend2 (Cyrus v2.2.12) with LMTPA; Wed, 23 Jun 2010 15:21:28 +0200 X-Sieve: CMU Sieve 2.2 Received: from mail.m-online.net (localhost [127.0.0.1]) by frontend3.mail.m-online.net (Cyrus v2.2.12) with LMTPA; Wed, 23 Jun 2010 15:21:26 +0200 Received: from scanner-4.m-online.net (scanner-4.mail.m-online.net [192.168.1.18]) by mail.m-online.net (Postfix) with ESMTP id 6E2DC1C00256; Wed, 23 Jun 2010 15:21:26 +0200 (CEST) Received: from mxin-2.m-online.net ([192.168.1.21]) by scanner-4.m-online.net (scanner-4.m-online.net [192.168.1.18]) (amavisd-new, port 10026) with ESMTP id 06285-06; Wed, 23 Jun 2010 15:21:25 +0200 (CEST) Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by mxin-2.m-online.net (Postfix) with ESMTP id 2C0AA468D66; Wed, 23 Jun 2010 15:21:23 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5257A2809B; Wed, 23 Jun 2010 15:21:11 +0200 (CEST) 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 flh-NEkNXjpw; Wed, 23 Jun 2010 15:21:11 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D19F92809D; Wed, 23 Jun 2010 15:21:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9723C28085 for ; Wed, 23 Jun 2010 15:20:56 +0200 (CEST) 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 WTeOU6CvZPdO for ; Wed, 23 Jun 2010 15:20:54 +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 mailrelay006.isp.belgacom.be (mailrelay006.isp.belgacom.be [195.238.6.172]) by theia.denx.de (Postfix) with ESMTP id 04B5428086 for ; Wed, 23 Jun 2010 15:20:52 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAP6lIUzCTtAn/2dsb2JhbACfLHHCAYUbBA Received: from mail.macqel.be ([194.78.208.39]) by relay.skynet.be with ESMTP; 23 Jun 2010 15:20:52 +0200 Received: from localhost (localhost [127.0.0.1]) by mail.macqel.be (Postfix) with ESMTP id 04759130D85 for ; Wed, 23 Jun 2010 15:20:52 +0200 (CEST) Received: from mail.macqel.be ([127.0.0.1]) by localhost (mail.macqel.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tqVKJiY57Z0r for ; Wed, 23 Jun 2010 15:20:50 +0200 (CEST) Received: from frolo.macqel.be (frolo.macqel [10.1.40.73]) by mail.macqel.be (Postfix) with ESMTP id 6F4DA130CAC for ; Wed, 23 Jun 2010 15:20:50 +0200 (CEST) Received: by frolo.macqel.be (Postfix, from userid 1000) id 64CC7DF026A; Wed, 23 Jun 2010 15:20:50 +0200 (CEST) Resent-From: phdm@macqel.be Resent-Date: Wed, 23 Jun 2010 15:20:50 +0200 Resent-Message-ID: <20100623132050.GC28861@frolo.macqel> Resent-To: u-boot@lists.denx.de X-Original-To: phdm@localhost Delivered-To: phdm@localhost.macqel.be Received: from frolo (localhost [127.0.0.1]) by frolo.macqel.be (Postfix) with ESMTP id AFDEADF026A for ; Wed, 23 Jun 2010 14:37:42 +0200 (CEST) Received: from exchserv.macqel [10.1.40.58] by frolo with IMAP (fetchmail-6.3.8) for (single-drop); Wed, 23 Jun 2010 14:37:42 +0200 (CEST) Received: from mail.macqel.be ([10.1.40.252]) by macqel.be with Microsoft SMTPSVC(6.0.3790.4675); Wed, 23 Jun 2010 14:37:35 +0200 Received: from localhost (localhost [127.0.0.1]) by mail.macqel.be (Postfix) with ESMTP id 25EF2130CAC; Wed, 23 Jun 2010 14:37:35 +0200 (CEST) Received: from mail.macqel.be ([127.0.0.1]) by localhost (mail.macqel.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7Wxm8IuDHYZ8; Wed, 23 Jun 2010 14:37:33 +0200 (CEST) Received: from frolo.macqel.be (frolo.macqel [10.1.40.73]) by mail.macqel.be (Postfix) with ESMTP id 96F23130BDE; Wed, 23 Jun 2010 14:37:33 +0200 (CEST) Received: by frolo.macqel.be (Postfix, from userid 1000) id 9B885DF02C9; Wed, 23 Jun 2010 14:37:33 +0200 (CEST) From: Philippe De Muyter To: tsicliew@gmail.com u-boot@lists.denx.de Date: Wed, 23 Jun 2010 14:35:53 +0200 Message-Id: <1277296554-23169-3-git-send-email-phdm@macqel.be> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1277296554-23169-2-git-send-email-phdm@macqel.be> References: <1277296554-23169-1-git-send-email-phdm@macqel.be> <1277296554-23169-2-git-send-email-phdm@macqel.be> X-OriginalArrivalTime: 23 Jun 2010 12:37:35.0326 (UTC) FILETIME=[DB610FE0:01CB12D0] Cc: Philippe De Muyter Subject: [U-Boot] [PATCH 3/4] m68k/mcf547x_8x : Fix relocation errors in start.S 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 X-Virus-Scanned: by amavisd-new at m-online.net If the environment sectors in the flash are big, one get those errors : mcf547x_8x/start.S:173: relocation truncated to fit: R_68K_PC16 against symbol `cpu_init_f' defined in .text section in libmcf547x_8x.a(cpu_init.o) mcf547x_8x/start.S:174: relocation truncated to fit: R_68K_PC16 against symbol `board_init_f' defined in .text section in libm68k.a(board.o) Fix that. --- arch/m68k/cpu/mcf547x_8x/start.S | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/m68k/cpu/mcf547x_8x/start.S b/arch/m68k/cpu/mcf547x_8x/start.S index 8411862..80905ed 100644 --- a/arch/m68k/cpu/mcf547x_8x/start.S +++ b/arch/m68k/cpu/mcf547x_8x/start.S @@ -164,8 +164,8 @@ _start: move.l #__got_start, %a5 /* put relocation table address to a5 */ - bsr cpu_init_f /* run low-level CPU init code (from flash) */ - bsr board_init_f /* run low-level board init code (from flash) */ + jbsr cpu_init_f /* run low-level CPU init code (from flash) */ + jbsr board_init_f /* run low-level board init code (from flash) */ /* board_init_f() does not return */