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]
Other format: [Raw text]

Re: linker script ASSERT


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
        


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