* elf32-arc.c (arc_tls_transition) <R_ARC_TLS_GD_LD>:
        Change direction of code mode to better hide load latency.
gas:
        * config/tc-arc.c (md_apply_fix): Leave fx_subsy alones
        for BFD_RELOC_ARC_TLS_GD_LD in general processing.
        <BFD_RELOC_ARC_TLS_GD_LD>: Process fx_subsy.
        (rc_extra_reloc): For BFD_RELOC_ARC_TLS_GD_LD, process an optional
        second argument.
        * config/tc-arc.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
        (TC_VALIDATE_FIX_SUB): Likewise.
gas/testsuite:
        * gas/arc/tls-3.s, gas/arc/tls-3.d: New test.
        * gas/arc/arc700.exp: Run it.