------- Comment #5 from ce at embedded-software dot de 2009-06-13 01:26 ------- OK, you are right, this patch fixes this, but the unsupported configuration leads to failures in different other files like gcc-4.4.0/gcc/config/sh/sh.c ... long way to go for me, as I try to make a toolchain.
THX (In reply to comment #4) > Because sh2a-*-linux* is an unsupported configuration for gcc-4.4. > > Could you try the patch below? > > --- ORIG/gcc-4_4-branch/gcc/config.gcc 2009-05-19 07:23:48.000000000 +0900 > +++ gcc-4_4-branch/gcc/config.gcc 2009-06-13 07:36:18.000000000 +0900 > @@ -2002,6 +2002,7 @@ sh-*-symbianelf* | sh[12346l]*-*-symbian > case ${target} in > sh[1234]*be-*-* | sh[1234]*eb-*-*) with_endian=big ;; > shbe-*-* | sheb-*-*) with_endian=big,little ;; > + sh2a*-*-*) with_endian=big ;; > sh[1234]l* | sh[34]*-*-linux*) with_endian=little ;; > shl* | sh64l* | sh*-*-linux* | \ > sh5l* | sh-superh-elf) with_endian=little,big ;; > -- ce at embedded-software dot de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40428