This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

inconsistency in alias to undefined symbol


Is it correct that we reject:

.set x, y
.long x

but we accept:

.set x, y

such that x is not even mentioned in the symbol table, even if it's
declared .global or .weak?

I know this is what the code does, and I understand how it does it,
but the question is on whether the silent acceptance of the latter is
just an oversight, rather than something intentional.

Comments?

-- 
Alexandre Oliva         http://www.lsd.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


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