------- Comment #7 from jakub at gcc dot gnu dot org 2006-11-15 10:37 ------- Using %fs:0x28/%gs:0x28 on x86_64-linux resp. %gs:0x14 on i?86-linux is part of the ABI. -ffreestanding is not supposed to change the ABI, so if you don't want to use this ABI, just use a different target (x86_64-elf etc., or don't use -fstack-protector (nobody forces you to use that).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29838