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 > sections stored in some global variable?
I'm not sure I understand the question. You "enter a section" simply by emitting the correct .section directive into the asm output. You re-enter it by the same method. cheers, DaveK