Hi, I'm tweaking PIC code generation for ARM targets. Inside of legitimze_pic_address i get a SYMBOL_REF and i need to distinguish between symbols from .text and other segments. Not being a GCC guru i'm unable to find a way to do it. Any advise will be wellcome.... Vadim