http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59573
--- Comment #7 from Dennis Lan (dlan) <dennis.yxun at gmail dot com> --- Ok, it's qemu problem, not gcc. I've built rootfs in qemu (with cmeq insn implemented), then deploy the rootfs into foudation_v8 emulator. test to compiles code with gcc, and it works fine, without the linker error.