Re: [Patch RFA libitm] Deal with __USER_LABEL_PREFIX__ in the asm

2011-11-22 Thread Iain Sandoe
On 18 Nov 2011, at 17:36, Richard Henderson wrote: On 11/18/2011 04:00 AM, Iain Sandoe wrote: libitm: * config/x86/sjlj.S (CONCAT1, CONCAT2, SYM): Respond to __USER_LABEL_PREFIX__ for targets that use it. TYPE, SIZE, HIDDEN): New macros to assist on non-elf targets. (_ITM_beginTra

Re: [Patch RFA libitm] Deal with __USER_LABEL_PREFIX__ in the asm

2011-11-18 Thread Richard Henderson
On 11/18/2011 04:00 AM, Iain Sandoe wrote: > libitm: > > * config/x86/sjlj.S (CONCAT1, CONCAT2, SYM): Respond to > __USER_LABEL_PREFIX__ for targets that use it. > TYPE, SIZE, HIDDEN): New macros to assist on non-elf targets. > (_ITM_beginTransaction): Use SYM, TYPE, SIZE macros to

[Patch RFA libitm] Deal with __USER_LABEL_PREFIX__ in the asm

2011-11-18 Thread Iain Sandoe
Darwin needs to account for __USER_LABEL_PREFIX__ in the asm. I used some of the arm code in libgcc as an example ... allows the lib to build OK on x86-darwin ... (with working hidden symbols etc.) comments/OK for trunk (assuming a test on linux is successful, of course)? Iain libitm: