Hi, This series of two patches are adding TLS support for ARC processors. The first patch is changing libgcc, the second patch is changing the ARC' backend. I've tested the mods using dg.exp, compile.exp, tls.exp, and execute.exp.
Ok to apply? Claudiu Claudiu Zissulescu (2): [ARC/LIBGCC] Add TLS support. [ARC] Add TLS support. gcc/config/arc/arc-protos.h | 4 +- gcc/config/arc/arc.c | 503 +++++++++++++++++++++++++++++++------------ gcc/config/arc/arc.h | 22 +- gcc/config/arc/arc.md | 71 ++++++ gcc/config/arc/arc.opt | 7 + gcc/config/arc/predicates.md | 15 +- gcc/configure | 6 + gcc/configure.ac | 6 + gcc/doc/invoke.texi | 6 +- libgcc/config.host | 2 + libgcc/config/arc/crttls.S | 67 ++++++ libgcc/config/arc/t-arc | 3 + 12 files changed, 564 insertions(+), 148 deletions(-) create mode 100644 libgcc/config/arc/crttls.S -- 1.9.1