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]

Re: comparing undefined symbols with constants


>>> 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


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