This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] sh-linux: Target hook for ASM_FILE_END
- From: kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 13 Jun 2003 16:13:27 +0900
- Subject: [PATCH] sh-linux: Target hook for ASM_FILE_END
Hi,
I've checked in an sh-linux portion of
<URL:http://gcc.gnu.org/ml/gcc-patches/2003-06/msg00619.html>.
Bootstrapped and regtested on sh4-unknown-linux-gnu, no new regressions.
Regards,
kaz
--
2003-06-13 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/linux.h (TARGET_ASM_FILE_END): Set TARGET_ASM_FILE_END
to file_end_indicate_exec_stack.
diff -u3prN ORIG/gcc/gcc/config/sh/linux.h LOCAL/gcc/gcc/config/sh/linux.h
--- ORIG/gcc/gcc/config/sh/linux.h Fri Jun 6 12:24:46 2003
+++ LOCAL/gcc/gcc/config/sh/linux.h Wed Jun 11 13:27:18 2003
@@ -64,6 +64,8 @@ do { \
#define TARGET_DEFAULT \
(TARGET_CPU_DEFAULT | USERMODE_BIT | TARGET_ENDIAN_DEFAULT)
+#define TARGET_ASM_FILE_END file_end_indicate_exec_stack
+
#undef SUBTARGET_LINK_EMUL_SUFFIX
#define SUBTARGET_LINK_EMUL_SUFFIX "_linux"
#undef SUBTARGET_LINK_SPEC