comparing undefined symbols with constants

Jan Beulich JBeulich@suse.com
Mon Jan 29 10:41:00 GMT 2018


>>> On 29.01.18 at 00:29, <amodra@gmail.com> wrote:
> On Thu, Jan 25, 2018 at 03:17:40AM -0700, Jan Beulich wrote:
>> 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.
> 
> Yes, I think so.

Interesting. This, as explained, not being correct in certain cases is
not considered a problem then? (Not that I could think of a neat way
to address this without breaking code actually relying on the current
behavior.)

Jan



More information about the Binutils mailing list