From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3669 invoked by alias); 7 Jul 2011 14:12:35 -0000 Received: (qmail 3656 invoked by uid 22791); 7 Jul 2011 14:12:33 -0000 X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from lo.gmane.org (HELO lo.gmane.org) (80.91.229.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 07 Jul 2011 14:12:18 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QepJH-0006z5-53 for binutils@sources.redhat.com; Thu, 07 Jul 2011 16:12:07 +0200 Received: from 91.193.68.214 ([91.193.68.214]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jul 2011 16:12:07 +0200 Received: from gavenko by 91.193.68.214 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jul 2011 16:12:07 +0200 To: binutils@sources.redhat.com From: Oleksandr Gavenko Subject: How define absolute local symbol by GNU as? Date: Thu, 07 Jul 2011 14:25:00 -0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-07/txt/msg00086.txt.bz2 To mark object file safe for SEH (to make .lib compatable with MSVC) it is possible to define absolute local symbol with name '@feat.00' and with value '1'. I can achieve this by: ASFLAGS += -Wa,"-defsym,@feat.00=1" With GNU As language syntax I don't know how achieve this. To make global symbol I use: .global @feat.00 @feat.00=1 But how declare it local?