From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13438 invoked by alias); 11 Dec 2009 09:47:50 -0000 Received: (qmail 13430 invoked by uid 22791); 11 Dec 2009 09:47:49 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_FAIL X-Spam-Check-By: sourceware.org Received: from mx20.gnu.org (HELO mx20.gnu.org) (199.232.41.8) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 11 Dec 2009 09:47:44 +0000 Received: from mail.codesourcery.com ([38.113.113.100]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NJ24G-0007p8-9V for gcc-patches@gcc.gnu.org; Fri, 11 Dec 2009 04:45:45 -0500 Received: (qmail 11824 invoked from network); 11 Dec 2009 09:45:37 -0000 Received: from unknown (HELO ?172.16.1.24?) (maxim@127.0.0.2) by mail.codesourcery.com with ESMTPA; 11 Dec 2009 09:45:37 -0000 Message-ID: <4B2214BE.30309@codesourcery.com> Date: Fri, 11 Dec 2009 09:53:00 -0000 From: Maxim Kuvyrkov User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: Andreas Schwab CC: Sebastian Andrzej Siewior , gcc-patches@gcc.gnu.org Subject: Re: [PATCH v2] m68k: don't use lea on profiling References: <20091119134315.GA13786@Chamillionaire.breakpoint.cc> <4B054D27.4040906@codesourcery.com> <20091206202556.GA14806@Chamillionaire.breakpoint.cc> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2009-12/txt/msg00580.txt.bz2 On 12/6/09 11:47 PM, Andreas Schwab wrote: > Sebastian Andrzej Siewior writes: > >> this will not work on large binaries: >> >> |bigeasy@ayoka:~/cc$ echo 'int main(void) { return 0; }'> file.c >> |bigeasy@ayoka:~/cc$ m68k-linux-gnu-gcc -o file file.c -static -pg >> |/tmp/ccw33VYP.o: In function `main': >> |file.c:(.text+0x6): relocation truncated to fit: R_68K_PC16 against `.data' >> |collect2: ld returned 1 exit status >> >> This is reported as #36047. It appears that the generated label is unused. >> >> Signed-off-by: Sebastian Andrzej Siewior >> --- >> Andreas, is this what you had in mind? > > Yes, this is ok. Sebastian, Do you plan to check in you patch sometime soon? If you don't have write access to the GCC repository I can commit it on your behalf. Regards, -- Maxim Kuvyrkov CodeSourcery maxim@codesourcery.com (650) 331-3385 x724