This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch RFC] A few SH specific changes for top level libgcc
Daniel Jacobowitz <drow@false.org> wrote:
>> Dan, does it look OK?
>
> It looks right to me, too.
Thanks!
>> sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \
>> sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
>> - sh-*-linux* | sh[346lbe]*-*-linux* | \
>> sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
>> sh64-*-netbsd* | sh64l*-*-netbsd*)
>> ;;
>> +sh-*-linux* | sh[346lbe]*-*-linux*)
>> + tmake_file="${tmake_file} sh/t-linux"
>> + ;;
>
> The nested case used in config.gcc is a little strange, but you might
> want to duplicate it here - Paolo suggested that keeping the same
> cases in this file as in gcc/config.gcc will make it easier to
> compare the two.
Ah, I see. Does it mean that the patch for config.host should
be like the below at this stage?
--- ORIG/trunk/libgcc/config.host 2007-01-05 12:38:29.000000000 +0900
+++ LOCAL/trunk/libgcc/config.host 2007-01-09 13:40:50.000000000 +0900
@@ -548,6 +548,11 @@ sh-*-symbianelf* | sh[12346l]*-*-symbian
sh-*-linux* | sh[346lbe]*-*-linux* | \
sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
sh64-*-netbsd* | sh64l*-*-netbsd*)
+ case ${host} in
+ sh*-*-linux*)
+ tmake_file="${tmake_file} sh/t-linux"
+ ;;
+ esac
;;
sh-*-rtemscoff*)
;;
Regards,
kaz