static P1ND * tlsref(P1ND *p) { if (kflag) return (tlspic(p)); else return (tlsnonpic(p)); }
static NODE * tlsref(NODE *p) { struct symtab *sp = p->n_sp; struct attr *ga; char *c; if ((ga = attr_find(sp->sap, GCC_ATYP_TLSMODEL)) != NULL) { c = ga->sarg(0); if (strcmp(c, "initial-exec") == 0) return tlsinitialexec(p); else if (strcmp(c, "global-dynamic") == 0) ; else werror("unsupported tls model '%s'", c); } return tlspic(p); }