This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: sh64 configuration fix, sh-elf / sh-netbsd configuration merge
> In testing the new configury system, I've noticed that crt1.o is
> generated for sh64*-*-linux* target both on sh-elf-3_5-branch and
> mainline. It's unneeded because sh64*-*-linux* target should use
> crt1.o from glibc. I've committed the patch below to fix this on
> sh-elf-3_5-branch. I'll check in the similar patch to mainline.
I've checked the appended patch in for mainline.
Regards,
kaz
--
2004-06-18 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/t-linux64: New file.
* config.gcc: Add it to tmake_file for sh64*-*-linux*.
diff -u3prN ORIG/gcc/gcc/config/sh/t-linux64 LOCAL/gcc/gcc/config/sh/t-linux64
--- ORIG/gcc/gcc/config/sh/t-linux64 Thu Jan 1 09:00:00 1970
+++ LOCAL/gcc/gcc/config/sh/t-linux64 Fri Jun 18 17:58:15 2004
@@ -0,0 +1 @@
+EXTRA_MULTILIB_PARTS= crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o
diff -u3prN ORIG/gcc/gcc/config.gcc LOCAL/gcc/gcc/config.gcc
--- ORIG/gcc/gcc/config.gcc Fri Jun 18 17:06:52 2004
+++ LOCAL/gcc/gcc/config.gcc Fri Jun 18 17:58:15 2004
@@ -1734,7 +1734,7 @@ sh-*-linux* | sh[2346lbe]*-*-linux*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/linux.h"
case ${target} in
sh64*)
- tmake_file="${tmake_file} sh/t-sh64"
+ tmake_file="${tmake_file} sh/t-sh64 sh/t-linux64"
tm_file="${tm_file} sh/sh64.h"
extra_headers="shmedia.h ushmedia.h sshmedia.h"
;;