Readings of the day

I'm looking at a LINKER SCRIPTS, and I figured I should rehearse what I
learned so many years ago about it.  I've dusted off the GNU ld manual, and I
found it quite straightforward.

Admittedly, I don't expect to look often at linking scripts, but I always
found fascinating the idea of messing with memory layouts.

The linker script I'm looking at refers to a few libraries that are added via
the GROUP command (see the GNU ld manual).

 GROUP(-lgcc -lc -lnosys)

WHAT IS LIBNOSYS?  It is a component of newlib[1].  It provides empty stubs
for a bunch of calls that the developer might want to "gloss over", basically
allowing the program to be built without the linker to complain about missing
symbols.  See the introduction to libgloss[2], and then seek for "libnosys" in
the newlib FAQ[3].


[1] https://sourceware.org/newlib/
[2] https://sourceware.org/newlib/libgloss.html#Libgloss
[3] https://sourceware.org/newlib/faq.html