Anscheinend löst das Linkerflag
–nostartfiles
(Do not use the standard system startup files when linking. The standard
system libraries are used normally, unless -nostdlib or -nodefaultlibs
is used.)
alle Probleme. Diese "standard system startup files" nutzen laut mapfile
die libc was zu hohem Speicherbedarf führt. Allerdings funktioniert die
in der startup_samd20.c damit auch nicht mehr.
Anhang:
1. Mapfile: ohne flag -> Speicherbedarf hoch
2. Mapfile: -nostartfiles -> Speicherbedarf wie er sein soll :)
Nun die Frage ob diese standard system startup files bzw. die
__libc_init_array(); relevant sind?
F.