[PATCH] Add configure option to disable TLS...

David Daney ddaney@avtrex.com
Fri Jan 13 23:40:00 GMT 2006


I have a situation (on mipsel-linux) where binutils supports TLS, but my 
C library is older and does not.

Currently configure uses an assembler check to see if TLS is supported. 
  This patch adds a manual override so that TLS can be disabled when 
configure guesses wrong.


2006-01-13  David Daney  <ddaney@avtrex.com>

         * configure.ac (enable_tls): New enable option.
         (HAVE_AS_TLS): Don't set if enable_tls = no.
         * doc/install.texi (--disable-tls): Document new option.

Currently building/testing on i686-pc-linux and mipsel-linux cross compiler.

OK for 4.1 branch and trunk if no regressions?

David Daney.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: notls.d
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060113/7ee18e51/attachment.ksh>


More information about the Gcc-patches mailing list