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

Ian Lance Taylor ian@zembu.com
Wed Feb 14 16:46:00 GMT 2001


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



More information about the Binutils mailing list