This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Set TARGET_ASM_FILE_END for m32r-linux


Hi Nick,

When I used the following patch, .note.GNU-stack section is
always createed.
I want to create the section only using trampoline.

It seems that the trampolines_created (in varasm.c) variable
is not iniliatized at 0.

Kazuhiro Inaoka wrote:

Hi Nick,

This patch indicate executable stack on m32r-linux.
Please commit it into 3.4-branch and mainline.

Regards,

Kazuhiro Inaoka

gcc/ChangeLog

2004-11-17 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.comn>

	* config/m32r/linux.h (TARGET_ASM_FILE_END): Set
	TARGET_ASM_FILE_END to file_end_indicate_exec_stack.




------------------------------------------------------------------------


Index: linux.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/m32r/linux.h,v
retrieving revision 1.3
diff -u -r1.3 linux.h
--- linux.h 7 Feb 2004 14:14:52 -0000 1.3
+++ linux.h 17 Nov 2004 04:54:54 -0000
@@ -102,3 +102,4 @@
#define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS()
+#define TARGET_ASM_FILE_END file_end_indicate_exec_stack


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]