The following reply was made to PR port-arm32/50218; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
Subject: Re: port-arm32/50218: ARM executables linked with native linker on cortex-a9 raises SIGILL
Date: Mon, 7 Sep 2015 17:26:33 +0200
On Mon, Sep 07, 2015 at 03:20:00PM +0000, mzaidibrahime%gmail.com@localhost wrote:
> Small programs(<6K size) does not result in SIGILL as all the instruction are properly swapped for endianness by the linker.
Are you sure that it depends on size of the program?
Sounds more like the bogusly stripped libgcc, see
The fix is only in netbsd-7 or current AFAIK.