libmudflap and emutls question

Jie Zhang jie.zhang@analog.com
Mon Jan 5 17:16:00 GMT 2009


Hi Frank,

Frank Ch. Eigler wrote:
> Jie Zhang <jie.zhang@analog.com> writes:
> 
>> To break the recursive loop, one solution is to force emutls to call
>> the real calloc. [...]
> 
> If it were acceptable to change emutls on account of mudflap, this
> sort of thing could work.  Other alternatives would include having
> emutls define something in addition to HAVE_TLS that activates the
> !HAVE_TLS implementation in libmudflap/mf-hooks3.c.
> 
Thanks for your help! How about the attached patch, which follows your 
advice?


Regards,
Jie

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-emutls-libmudflap.diff
Type: text/x-patch
Size: 3335 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090105/d9524240/attachment.bin>


More information about the Gcc-patches mailing list