linker script ASSERT
Nathan Sidwell
nathan@codesourcery.com
Tue Feb 17 18:59:00 GMT 2004
Nick Clifton wrote:
> Have you tested this patch ? If so how ?
current binutils, arm-unknown-exp
> 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.
Here's such a test, I have verified that if one turns the assert into
dummy = ASSERT (...);
it'll parse, but give
ld: SIZEOF forward reference of section .empty
with an unpatched linker.
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-test.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20040217/98be4893/attachment.ksh>
More information about the Binutils
mailing list