Re: What goes into function_rodata_section

2011-08-26 Thread Ian Lance Taylor
Georg-Johann Lay writes: >> chosen so that the rodata is grouped with the function, so that if the >> function is discarded the associated rodata is also discarded. That >> grouping is what the linkonce stuff is about. > > Is there a description of that concept somewhere? Didn't find it on the w

Re: What goes into function_rodata_section

2011-08-26 Thread Georg-Johann Lay
Ian Lance Taylor wrote: > Georg-Johann Lay writes: > >> Implementing TARGET_ASM_FUNCTION_RODATA_SECTION hook I wonder that will go >> into these sections an I am a but unsure as the internals don't say a word >> about that. From the only two uses of that hook in final.c I would >> conclude that

Re: What goes into function_rodata_section

2011-08-26 Thread Ian Lance Taylor
Georg-Johann Lay writes: > Implementing TARGET_ASM_FUNCTION_RODATA_SECTION hook I wonder that will go > into these sections an I > am a but unsure as the internals don't say a word about that. From the only > two uses of that hook > in final.c I would conclude that it's only used for jump tabl