From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21784 invoked by alias); 23 Apr 2009 21:00:57 -0000 Received: (qmail 21762 invoked by uid 22791); 23 Apr 2009 21:00:54 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 23 Apr 2009 21:00:51 +0000 Received: from zps38.corp.google.com (zps38.corp.google.com [172.25.146.38]) by smtp-out.google.com with ESMTP id n3NL0n1V014481; Thu, 23 Apr 2009 14:00:49 -0700 Received: from localhost.localdomain.google.com (dhcp-172-19-111-149.mtv.corp.google.com [172.19.111.149]) (authenticated bits=0) by zps38.corp.google.com with ESMTP id n3NL0lqb006398 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 23 Apr 2009 14:00:48 -0700 To: pingved@gmail.com Cc: gcc-help@gcc.gnu.org Subject: Re: gcc: x86: using fs and gs. References: <108902202.20090423151235@gmail.com> From: Ian Lance Taylor Date: Thu, 23 Apr 2009 21:00:00 -0000 In-Reply-To: <108902202.20090423151235@gmail.com> (pingved@gmail.com's message of "Thu\, 23 Apr 2009 15\:12\:35 +0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2009-04/txt/msg00344.txt.bz2 pingved@gmail.com writes: > How i can generate executable file with using FS and GS for dedicated ROM > object with gcc for x86? gcc does not currently support this in general. It does use FS and GS for the special case of TLS, but I doubt that will work for your purposes. There is some development work on named addresses which might be able to support this kind of thing some day. Ian