linker script ASSERT

Nathan Sidwell nathan@codesourcery.com
Tue Feb 17 17:08:00 GMT 2004


Hi,
the linker's documentation implies that one can use ASSERT (expr, msg)
as a command, but the grammar only allows it in an expression.  This
patch makes it usable as a command.  Also, it wasn't being recognised
by exp_init_os, thus assertions about otherwise uncreated sections
would crash.

ok?

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: assert.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20040217/0819cd16/attachment.ksh>


More information about the Binutils mailing list