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 Kazuhiro,

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

Do you have a small example that demonstrates this ? I tried to compile a simple "hello world" program using a toolchain built from todays mainline sources and I did not see a .note.GNU-stack section.


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

Since trampolines_created is declared at the file-scope it has static storage duration and will be initialised to zero by the startup code.


Cheers
  Nick



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