comparing undefined symbols with constants

Jan Beulich JBeulich@suse.com
Thu Jan 25 10:17:00 GMT 2018


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



More information about the Binutils mailing list