Fixes non-ELF powerpc build failure:
tc-ppc.c:3009:1: error: ‘parse_tls_arg’ defined but not used
* config/tc-ppc.c (parse_tls_arg): Wrap in #ifdef OBJ_ELF.
+2019-02-24 Alan Modra <amodra@gmail.com>
+
+ * config/tc-ppc.c (parse_tls_arg): Wrap in #ifdef OBJ_ELF.
+
2019-02-24 Alan Modra <amodra@gmail.com>
PR 24144
return size;
}
+#ifdef OBJ_ELF
/* If we have parsed a call to __tls_get_addr, parse an argument like
(gd0@tlsgd). *STR is the leading parenthesis on entry. If an arg
is successfully parsed, *STR is updated past the trailing
}
return tls_fix->reloc != BFD_RELOC_NONE;
}
+#endif
/* This routine is called for each instruction to be assembled. */