This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

GAS symbols


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]