Re: correct place for code.

2009-01-15 Thread Andreas Schwab
IainS writes: > 2/ assume that no sensible user will make an intention external symbol > named ZL_OBJC_xx >perhaps that's not too unreasonable... OBJC_x are effectively > reserved identifiers - so perhaps mangled file scope variants of those > could be too. Symbols starting with

Re: correct place for code.

2009-01-15 Thread IainS
On 15 Jan 2009, at 01:44, Ian Lance Taylor wrote: I need to make a test expanded from ASM_OUTPUT_LABEL_REF that is language dependent (on objc/objcxx). It's pretty hard to think of any reason why something as low-level as ASM_OUTPUT_LABEL_REF would want to look at anything in the frontend. You

Re: correct place for code.

2009-01-14 Thread Ian Lance Taylor
IainS writes: > I need to make a test expanded from ASM_OUTPUT_LABEL_REF that is > language dependent (on objc/objcxx). > > It's not clear where the best/proper place to put the code is. > > if I put it in {stub,act}-objc.c that's fine for c, c++, objc and > objc++ ... > ... but it means that st