Port-evbmips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Crosscompiling NetBSD for Fonera not working with HEAD?



On Sun, Jul 05, 2009 at 11:38:28PM +0000, David Holland wrote:
 > Can you post the disassembly of the function that call site is
 > calling? (ath_hal_reg_read)

n/m, Arnaud fixed the build and I got my own.

It's not an abicall, just a call through a function pointer, but I
guess gcc prefers to prepare function pointers in t9 even when
-mno-abicalls is in effect. And it *is* a tail call, which is why we
see what we do in ra.

It looks as if the problem is that the bus space tag is bogus, and so
the bus_space_read inside ath_hal_reg_read is fetching a garbage
function pointer from it and jumping off into the weeds.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index