This is the mail archive of the binutils@sources.redhat.com 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]

Re: Can't get ASSERT() to work in ld script.


Alan Modra <alan@linuxcare.com.au> writes:

> I'm not so sure this makes sense really.  Ian's example is rather
> contrived, and you probably don't want to assign the result of an ASSERT
> to anything.  Should ASSERT_K move to ifile_p1?

Perhaps it should be in both.  I want to be able to write something
like
    symbol = expression ? 1 : assert ( 0, oh no );

I'm sure Steve had something in mind when I wrote it, but I don't know
what it was.

Ian


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