Hi,

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 stub-objc then needs to be linked with jc1 and f951 ... and anyway the test is target-specific so perhaps it belongs better somewhere in config/...

if I put it in config/target.c then the c_dialect variable (c_language) is not available from jc1 or f951 - although, obviously, a dummy definition could be made to satisfy the reference.

Is there a "best practice" or "known way" to solve this?

cheers,
Iain

Reply via email to