The original kernel supports only the demand load a.out executable format.
To generate it, we use a local linker script.

Variable sys_nerr is traditionally defined as int (not const int),
but is still assumed to be read-only. Added a GNU section
attribute to put it into .rodata section.