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]

comparing undefined symbols with constants


All,

as the documentation doesn't clarify this, I'd like to understand
whether "<undefined> == <constant>" being always false, and
"<undefined> != <constant>" being always true is really intended
to be that way. I think it is quite obvious that this isn't entirely
correct - the undefined symbol could in the end turn out to be a
constant symbol as well.

The anomaly became apparent with clang's integrated assembler
refusing such, demanding an absolute expression.

Thanks, Jan


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