Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

thumb compilation



Hello,

While looking for ways to reduce user space and libc size (
http://wiki.netbsd.se/How_to_reduce_libc_size ), I tried
compiling them with CPUFLAGS=-mthumb\ -mthumb-interwork, but this
results in libc build failure in
common/lib/libc/atomic/atomic_init_testset.c:

--- atomic_init_testset.o ---
/tmp/ccrqRNVc.s: Assembler messages:
/tmp/ccrqRNVc.s:126: Error: bad instruction `swp r0,r3,[r2]'
*** [atomic_init_testset.o] Error code 1

Is this a compiler bug and are there some known workarounds?

Thanks,
-Mikko


Home | Main Index | Thread Index | Old Index