Well, in an attempt to import the SPARC version of the HAL (along with some other changes needed to support the big-endian HAL -- notably some register access routines), I got a build done, but when I try to add_drv the result, I get some "interesting" messages from krtld:
Aug 11 16:59:31 bullfrog krtld: [ID 732589 kern.notice] at 0x1bbac: Aug 11 16:59:31 bullfrog krtld: [ID 255647 kern.notice] file=/kernel/drv/sparcv9/ath Aug 11 16:59:31 bullfrog krtld: [ID 941076 kern.notice] krtld: invalid relocation type 1569 It seems to be spewing quite a lot of these. The other thing is that I notice that ldd gives interesting results on /kernel/drv/sparcv9/ath (and also the hal.o object): ld.so.1: lddstub: fatal: relocation error: R_SPARC_RELATIVE: file /kernel/drv/sparcv9/ath: symbol <unknown>: offset 0x2d4c4 is non-aligned ld.so.1: lddstub: fatal: relocation error: R_SPARC_RELATIVE: file /kernel/drv/sparcv9/ath: symbol <unknown>: offset 0x2d4cc is non-aligned There's a boat load more of those. Any ideas what could be wrong here? I'm guess the problem is with the HAL object itself, but maybe someone else has ideas on how to fix it. I think Sam Leffler builds these with GCC, so if there are some gcc flags I can send to him to address the problem, I'd love to hear it. Thanks! -- Garrett D'Amore, Principal Software Engineer Tadpole Computer / Computing Technologies Division, General Dynamics C4 Systems http://www.tadpolecomputer.com/ Phone: 951 325-2134 Fax: 951 325-2191
