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

Grant Edwards grante@visi.com
Wed Feb 14 15:37:00 GMT 2001


On Wed, Feb 14, 2001 at 03:31:39PM -0800, Ian Lance Taylor wrote:
> Grant Edwards <grante@visi.com> writes:

> Something like this works for me:
> 
> . = ASSERT ( 0, error );

Thanks!

> It always helps to give an example of what doesn't work.

I was trying various versions of ASSERT as a stand-alone
command:

ASSERT(0,"error");



-- 
Grant Edwards
grante@visi.com



More information about the Binutils mailing list