From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1963 invoked by alias); 15 Nov 2006 09:33:26 -0000 Received: (qmail 1872 invoked by uid 48); 15 Nov 2006 09:33:14 -0000 Date: Wed, 15 Nov 2006 09:33:00 -0000 Message-ID: <20061115093314.1870.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/29838] -fstack-protector shouldn't use TLS in freestanding mode In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "samuel dot thibault at ens-lyon dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-11/txt/msg01369.txt.bz2 List-Id: ------- Comment #3 from samuel dot thibault at ens-lyon dot org 2006-11-15 09:33 ------- Mmm, if I have to use another target for avoiding my default target's specific stuff, what is the use of -ffreestanding? Does that mean that we will have to add a linux-kernel target (as opposed to linux-user target) and build a cross-compiler before building a linux kernel? (replace "linux" with whatever kernel you want). And x86_64 Linux just poses the same problem: it emits %fs:0x28 instead of %gs:0x14, but it's just the same issue. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29838