This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
GAS symbols
- To: binutils at sources dot redhat dot com
- Subject: GAS symbols
- From: Vassili Karpov <av1474 at comtv dot ru>
- Date: Fri, 12 Oct 2001 02:43:03 +0400
Hello,
I wonder if this GAS(elf32-386 bfd) behaves correctly in case like this:
moo.S
=====
#ifdef DEFSYM
mysymbol:
#endif
.globl myalias
myalias=mysymbol
---
If DEFSYM is set everything is fine, if not only external reference to mysymbol is sotred in moo.o.
I think warning/error should be issued here, even if this is indeed correct behavior.
--
mailto:malc@pulsesoft.com