This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: linker script ASSERT
- From: Nick Clifton <nickc at redhat dot com>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 17 Feb 2004 17:34:22 +0000
- Subject: Re: linker script ASSERT
- References: <40324A79.50008@codesourcery.com>
Hi Nathan,
> 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.
Have you tested this patch ? If so how ?
Please could you also create a linker testsuite file to check the new
functionality so that we can make sure that this feature does not get
forgotten in the future.
Cheers
Nick