If I have an rtx x for which GET_CODE (x) == SYMBOL_REF, how do I find out whether the symbol is external or local? E.g. extern int a; // external static int b; // local int c; // local