Blackfin: fix miscompilation in lshrdi3
authorJie Zhang <jie.zhang@analog.com>
Sun, 28 Jun 2009 13:19:36 +0000 (13:19 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 16 Jul 2009 05:52:23 +0000 (01:52 -0400)
commit8399a74f61c69c7d233924de3dd314ca0effa16a
treee5fd4a027e4c61db266a9d4bc4fd34f8b8fd0c8c
parentdc437b1b596e310bb583de3868c3d61a6798c81c
Blackfin: fix miscompilation in lshrdi3

The code used in the Blackfin lshrdi3 utilizes gcc constructs.  However,
the structures declared don't line up with the code gcc generates, so
under certain optimizations, we get bad code and things crap out in fun
random ways.  So rather than trying to maintain different gcc definitions
ourselves, just use the ones available in gcclib.h.

URL: http://blackfin.uclinux.org/gf/tracker/5286
Signed-off-by: Jie Zhang <jie.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/lib/lshrdi3.c