This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH/RFA] Fix SH TLS bug
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- Cc: gcc-patches at gcc dot gnu dot org, joern dot rennecke at superh dot com
- Date: 05 Apr 2004 19:14:38 -0300
- Subject: Re: [PATCH/RFA] Fix SH TLS bug
- Organization: Red Hat Global Engineering Services Compiler Team
- References: <20040405.225218.115927299.kkojima@rr.iij4u.or.jp>
On Apr 5, 2004, Kaz Kojima <kkojima@rr.iij4u.or.jp> wrote:
> * config/sh/sh.c (prepare_move_operands): Use emit_call_insn
> when the TLS address is generated by a function call.
> * config/sh/sh.md (tls_global_dynamic): Use a call expression.
> (tls_local_dynamic): Likewise.
Looks ok to me, thanks.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}