From: kaz K. <kk...@rr...> - 2001-09-02 05:29:46
|
Hi, Now gcc-3.1 (current CVS) can bootstrap again on SH. The SH local patches for that are put as http://dodo.nurs.or.jp/~kkojima/gnu-on-sh/gcc-cvs-010902.diff The essential parts are already sent to gcc mailing list and waiting the review. BTW, I found an unalignment bug in GNU libc. I think it's rare to be hit with this problem, but all versions of libc except current CVS have the same bug. I attach the following tiny patch for it. kaz -- * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno. Index: sysdep.S =================================================================== RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/sh/sysdep.S,v retrieving revision 1.2 diff -u -r1.2 sysdep.S --- sysdep.S 2001/07/06 04:56:20 1.2 +++ sysdep.S 2001/08/20 03:10:08 @@ -21,6 +21,7 @@ /* We define errno here, to be consistent with Linux/i386. */ .section .bss + .align 2 .globl C_SYMBOL_NAME(errno) .type C_SYMBOL_NAME(errno), @object .size C_SYMBOL_NAME(errno), 4 |