This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH/RFA] Fix SH TLS bug


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}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]