. clang-linked binaries were not calling global constructors, as the
code to do so wasn't in csu/ and linked
. it does work for gcc as it uses its self-supplied crt{begin,end} code
. this commit copies netbsd's crt{begin,end}.S, which contains
constructor/destructor calling code, called from .init and .fini
sections already accumulated by the linker. the _init function was already
called by the C startup code before calling main.
. based on work by Antoine Leca
ack_build.sh - for ACK library building
gnu_build.sh - for GNU library building
ack_build.sh obj - create objdirs for gnu libraries
ack_build.sh depend - find dependencies of ack libraries
ack_build.sh all - compile ack libraries
ack_build.sh install - compile and install ack libraries
ack_build.sh clean - clean for ack libraries
gnu_build.sh obj - create objdirs for gnu libraries
gnu_build.sh depend - find dependencies of gnu libraries
gnu_build.sh all - compile gnu libraries
gnu_build.sh install - compile and install gnu libraries
gnu_build.sh clean - clean for gnu libraries