linux-mips
[Top] [All Lists]

Re: [PATCH 5/7] gcov: add gcov profiling infrastructure

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH 5/7] gcov: add gcov profiling infrastructure
From: Marian Jancar <m.jancar@satca.net>
Date: Mon, 02 Jun 2008 13:52:29 +0200
Cc: linux-mips@linux-mips.org
In-reply-to: <20080523084506.GB719@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <48313DE6.30802@de.ibm.com> <20080523001136.59ec8b34.akpm@linux-foundation.org> <20080523084506.GB719@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.5 (X11/20070719)
Ralf Baechle wrote:
>> {standard input}: Assembler messages:
>> {standard input}:2716: Error: Branch out of range
>> {standard input}:2819: Error: Branch out of range
>> {standard input}:2884: Error: Branch out of range
>> {standard input}:3032: Error: Branch out of range
>> {standard input}:3097: Error: Branch out of range
>> {standard input}:3151: Error: Branch out of range
>> {standard input}:3216: Error: Branch out of range
>> make[1]: *** [drivers/telephony/ixj.o] Error 1
>> make: *** [drivers/telephony/ixj.o] Error 2
> 
> A known problem which I had decieded to ignore until it begins to actually
> bite.  It's triggered by something like this
> 
>                 __asm__ __volatile__(
>                 "       .set    mips3                                   \n"
>                 "1:     ll      %0, %1          # atomic_add            \n"
>                 "       addu    %0, %2                                  \n"
>                 "       sc      %0, %1                                  \n"
>                 "       beqz    %0, 2f                                  \n"
>                 "       .subsection 2                                   \n"
>                 "2:     b       1b                                      \n"
>                 "       .previous                                       \n"
>                 "       .set    mips0                                   \n"
>                 : "=&r" (temp), "=m" (v->counter)
>                 : "Ir" (i), "m" (v->counter));
> 
> when compiled into a large compilation unit.

Please unignore :) It bites when compiling madwifi (without profiling or
anything such).

Marian



<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH 5/7] gcov: add gcov profiling infrastructure, Marian Jancar <=