Re: Output sections

2009-08-01 Thread Mohamed Shafi
2009/8/1 Dave Korn : > Mohamed Shafi wrote: >> 2009/8/1 Dave Korn : >>> Mohamed Shafi wrote: I am looking for adding something to the end of each section in the generated .s file. Using TARGET_ASM_NAMED_SECTION i will be able to keep track of the sections that are being emitted. But

Re: Output sections

2009-08-01 Thread Dave Korn
Mohamed Shafi wrote: > 2009/8/1 Dave Korn : >> Mohamed Shafi wrote: >>> I am looking for adding something to the end of each section in the >>> generated .s file. Using TARGET_ASM_NAMED_SECTION i will be able to >>> keep track of the sections that are being emitted. But from >>> TARGET_ASM_FILE_END

Re: Output sections

2009-07-31 Thread Mohamed Shafi
2009/8/1 Dave Korn : > Mohamed Shafi wrote: >> I am looking for adding something to the end of each section in the >> generated .s file. Using TARGET_ASM_NAMED_SECTION i will be able to >> keep track of the sections that are being emitted. But from >> TARGET_ASM_FILE_END hook how can i re-enter int

Re: Output sections

2009-07-31 Thread Dave Korn
Mohamed Shafi wrote: > I am looking for adding something to the end of each section in the > generated .s file. Using TARGET_ASM_NAMED_SECTION i will be able to > keep track of the sections that are being emitted. But from > TARGET_ASM_FILE_END hook how can i re-enter into each section. Are the > s

Re: Output sections

2009-07-31 Thread Mohamed Shafi
2009/7/18 Dave Korn : > Mohamed Shafi wrote: >> Hello all, >> >> Is it possible to emit a assembler directive at the end of each sections? >> Say like section_end >> Is there any support for doing something like this in the back-end files? >> Or should i need to the make changes in the gcc sources?

Re: Output sections

2009-07-18 Thread Dave Korn
Mohamed Shafi wrote: > Hello all, > > Is it possible to emit a assembler directive at the end of each sections? > Say like section_end > Is there any support for doing something like this in the back-end files? > Or should i need to the make changes in the gcc sources? > Is so do does anyone know

Output sections

2009-07-18 Thread Mohamed Shafi
Hello all, Is it possible to emit a assembler directive at the end of each sections? Say like section_end Is there any support for doing something like this in the back-end files? Or should i need to the make changes in the gcc sources? Is so do does anyone know in which function it should happen?