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,

Excuse me, the following patch had no problem.
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01370.html
I mistook to confirm an attribute.
A m32r-linux-gcc can generate an object right.

Please commit into 3.4-branch and mainline.

Thanks,

Kazuhiro Inaoka

Nick Clifton wrote:

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]