Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754876AbbDXO2G (ORCPT ); Fri, 24 Apr 2015 10:28:06 -0400 Received: from blu004-omc1s18.hotmail.com ([65.55.116.29]:54916 "EHLO BLU004-OMC1S18.hotmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752347AbbDXO2E (ORCPT ); Fri, 24 Apr 2015 10:28:04 -0400 X-TMN: [M7/eHSVo1c14FQuCwNqGvQF8uwdw00uL] X-Originating-Email: [xili_gchen_5257@hotmail.com] Message-ID: Date: Fri, 24 Apr 2015 22:28:17 +0800 From: Chen Gang User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Steven Miao CC: Richard Weinberger , bfin , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] blackfin: Makefile: Skip reloc overflow issue when COMPILE_TEST enabled References: In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 24 Apr 2015 14:28:02.0056 (UTC) FILETIME=[DEBA5080:01D07E9A] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1675 Lines: 49 On 4/24/15 16:20, Steven Miao wrote: > On Thu, Apr 23, 2015 at 10:30 PM, Chen Gang wrote: >> >> OK, thanks. I guess your meaning is: >> >> - If the kernel is too big, it may let the pc which wants to call L1 >> space fail. >> >> - So the kernel is too big to cause this issue, but it is nothing with >> 'overwritten' in my original patch comments. >> > Yes, it is. OK, thanks. >> - We can treat it as environments limitation, then can use COMPILE_TEST >> for it. So this patch is still OK, except the related comments need >> be improved (at least need to remove 'overwritten'). >> > If pc-relative CALL will fail, there will be "relocation truncated to > fit: R_BFIN_PCREL24" warnings. OK, thanks. for me, we need to skip these warnings when COMPILE_TEST is set, so can continue compiling (or will cause building break). >> >> I guess, what I said above is meaningless (although it is correct). >> >>>> - if kernel is too big, the contents before l1.text (the other contents >>>> in .init.text) will override it, so ld reports issues. >> > Actually the kernel which is large the 16M could not happen, large > size kernel image is not sugguested on a embedded system. > OK, thanks. So for me, it should only happen when COMPILE_TEST is set, should not happen in real world using. Thanks. -- Chen Gang Open, share, and attitude like air, water, and life which God blessed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/