Use -fno-dwarf2-cfi-asm on CRTSTUFF to leave eh_frame empty.
Do not assume uclibc when -m glibc is absent, use target configuration instead.
Use GNU userspace link options when compiling for Linux.