This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/29838] -fstack-protector shouldn't use TLS in freestanding mode
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Nov 2006 02:50:15 -0000
- Subject: [Bug target/29838] -fstack-protector shouldn't use TLS in freestanding mode
- References: <bug-29838-11603@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-11-15 02:50 -------
Seems to me, you should not be using a target that defines
TARGET_THREAD_SSP_OFFSET for -ffreestanding mode. Also IIRC the x86_64 Linux
has a different TLS base register which fixes this issue there.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29838