linux-mips
[Top] [All Lists]

Re: [PATCH] OCTEON: workaround linking failures with gcc-4.4.x 32-bits t

To: David Daney <ddaney@caviumnetworks.com>
Subject: Re: [PATCH] OCTEON: workaround linking failures with gcc-4.4.x 32-bits toolchains
From: Ralf Baechle <ralf@linux-mips.org>
Date: Mon, 2 Aug 2010 15:59:04 +0100
Cc: Florian Fainelli <florian@openwrt.org>, linux-mips@linux-mips.org
In-reply-to: <4C50AC0C.9010507@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <201007290013.08797.florian@openwrt.org> <4C50AC0C.9010507@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.20 (2009-12-10)
On Wed, Jul 28, 2010 at 03:15:40PM -0700, David Daney wrote:

> >executables by default, we will produce __lshrti3 in sched_clock() which is
> >never resolved so the kernel fails to link. Unconditionally use the inline
> >assembly version as suggested by David Daney, which works around the issue.
> >
> >CC: David Daney<ddaney@caviumnetworks.com>
> >Signed-off-by: Florian Fainelli<florian@openwrt.org>
> 
> Acked-by: David Daney <ddaney@caviumnetworks.com>

Applied - but maybe we should just add lshrti3 instead?  We already have
ashldi3, ashrdi3 and lshrdi3.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>