This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 2/2] [ARC] Add TLS support.
- From: Joern Wolfgang Rennecke <gnu at amylaar dot uk>
- To: Claudiu Zissulescu <Claudiu dot Zissulescu at synopsys dot com>, gcc-patches at gcc dot gnu dot org
- Cc: Francois dot Bedard at synopsys dot com, jeremy dot bennett at embecosm dot com
- Date: Thu, 28 Apr 2016 09:46:40 +0100
- Subject: Re: [PATCH 2/2] [ARC] Add TLS support.
- Authentication-results: sourceware.org; auth=none
- References: <1460714331-11715-1-git-send-email-claziss at synopsys dot com> <1460714331-11715-3-git-send-email-claziss at synopsys dot com>
On 15/04/16 10:58, Claudiu Zissulescu wrote:
TLS mods for ARC backend.
OK to apply?
Claudiu
This is using an inefficient TLS global dynamic implementation that
would not
be expected in a new and/or well-tuned port.
However, if you have to work with a legacy runtime, that can't be helped.
+(define_insn "tls_gd_load"
..
+ ; if the linker has to patch this into IE, we need a long insns
Typo: a long insn.
arc_emit_call_tls_get_addr is missing a start-of-function comment.
Otherwise this is OK.