This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
How define absolute local symbol by GNU as?
- From: Oleksandr Gavenko <gavenko at bifit dot com dot ua>
- To: binutils at sources dot redhat dot com
- Date: Thu, 07 Jul 2011 17:11:54 +0300
- Subject: How define absolute local symbol by GNU as?
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?