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] |
On 11/19/2011 02:04 AM, Iain Sandoe wrote:It should be possible for Rainer to define TARGET_ASM_TM_CLONE_TABLE_SECTION_NAME to NULL, and have varasm use the normal data section for tm_clone_table sections. One might wish to re-adjust testsuite/gcc.dg/tm/20100615.c if that is done.
Well, not really. OSF is going to need an extension to collect2 in order to create a single table, or changes to other bits of the compiler to invoke _ITM_registerTMCloneTable for each object file's table.
... actually, there seems to be some sort of merge error. I don't see the crtstuff.c changes that called _ITM_registerTMCloneTable in the first place.
I'd prefer we return a section object instead. I.e. pull the call to get_named_section into the hook as well.
as per attached? Iain
Attachment:
181530-tm-clone-tab-v3.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |