Patch from Enrico WEIGELT <weigelt@metux.de> to disable __cxa_atexit for those C libraries with no support (old uClibc).
1 --- g/gcc/config/sh/sh.h
2 +++ g/gcc/config/sh/sh.h
6 flag_omit_frame_pointer = -1; \
9 + flag_reorder_blocks = 0; \
12 target_flags |= SPACE_BIT; \
13 if (TARGET_SHMEDIA && LEVEL > 1) \