Port-arm archive

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

thumb compilation


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

--- 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?


Home | Main Index | Thread Index | Old Index