When examining a disassembler file of a binary compiled with the msp430 GCC I can find several functions that are unused, blowing out the size of the .text segment.
E.g. several different multiply functions like __mulsi2, __mulsi2_hw32, ... (maybe without/with or with different hardware support ).
For reducing these multiply functions compiling with -ffunction and linking with --gc-sections does the job.
However, there are remaining functions that seem to be unreferenced, e.g. from nosyscalls.o: open, close, kill, getpid, ...
I can't understand why these functions are still linked to the binary. Do they have a certain purpose?