From: Bryan R. <br...@ix...> - 2001-01-10 07:34:49
|
NIIBE Yutaka wrote: > I've just committed following change, I've got from Denis. I believe the same thing needs to be done for SP? --- arch/sh/kernel/entry.S-old Tue Jan 9 23:29:30 2001 +++ arch/sh/kernel/entry.S Tue Jan 9 23:30:19 2001 @@ -97,7 +97,7 @@ OFF_R5 = 20 /* New ABI: arg1 */ OFF_R6 = 24 /* New ABI: arg2 */ OFF_R7 = 28 /* New ABI: arg3 */ -SP = (15*4) +OFF_SP = (15*4) SOFF_R = (16*4+8) SYSCALL_NR = (16*4+6*4) @@ -431,7 +431,7 @@ mov r8, r10 cmp/pl r10 bf 0f - mov.l @(SP,r15), r0 ! get original user stack + mov.l @(OFF_SP,r15), r0 ! get original user stack 7: add #-4, r10 4: mov.l @(r0,r10), r1 ! May cause address error exception.. mov.l r1, @-r15 With that patch applied, that specific entry.S error goes away. However, I've got a new one now :( sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/bryan/tmp/kernel/include -ml -m4-nofpu -c -o entry.o entry.S entry.S: Assembler messages: entry.S:507: Error: Cannot represent relocation type BFD_RELOC_SH_IMM8 entry.S:518: Error: Cannot represent relocation type BFD_RELOC_SH_IMM8 make[1]: *** [entry.o] Error 1 Anybody seen THIS one? Looks like its also binutils related... Regards, Bryan -- Bryan Rittmeyer mailto:br...@ix... Ixia Communications 26601 W. Agoura Rd. Calabasas, CA 91302 |