rc4-rt1: powerpc compile errors

Bruce Ashfield bruce.ashfield at windriver.com
Tue Sep 4 00:10:23 EST 2007


On 9/3/07, Pradyumna Sampath <pradyumna.sampath at gmail.com> wrote:
> Hi everyone,
>
> Here are some compile errors from the latest -rt patchset for powerpc
> (mpc5200).
>
> arch/powerpc/kernel/entry_32.S: Assembler messages:
> arch/powerpc/kernel/entry_32.S:231: Error: operand out of range
> (0x00023d87 is not between 0x00000000 and 0x0000ffff)
> arch/powerpc/kernel/entry_32.S:644: Error: operand out of range
> (0x00022006 is not between 0x00000000 and 0x0000ffff)
> arch/powerpc/kernel/entry_32.S:866: Error: operand out of range
> (0x00020004 is not between 0x00000000 and 0x0000ffff)
> arch/powerpc/kernel/entry_32.S:880: Error: operand out of range
> (0x00020004 is not between 0x00000000 and 0x0000ffff)
>
> Im not sure whether this is the right thing to do but we got around
> this by replacing the linux/include/asm-powerpc/thread_info.h with an
> older version of the same file from 2.6.21-rt3.

I don't have the code in front of me, but you can also shuffle
the flags to make sure that macro being used in entry_32.S
has all the flags within 16 bits (so the immediate operations
will successfully assemble). That's the route I took. The flags
have expanded past that threshold just recently.

Bruce


>
> regards
> /prady
>
> --
> htp://prady.livejournal.com
> -
> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


More information about the Linuxppc-embedded mailing list