Bah, the arm-qemu-linux-uclibc sample isn't usefull. Base your work on the armeb-unkown-linux-uclibc sample instead.
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) \