use hard-coded sh4a atomic opcodes to avoid linker errors on sh
authorRich Felker <dalias@aerifal.cx>
Thu, 8 Jun 2017 23:44:27 +0000 (19:44 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 8 Jun 2017 23:44:27 +0000 (19:44 -0400)
commitbc313e880c6cde2e512d2f43e84968d1b12bd19d
treedf0f065180fe420038cc238b0f0aef6474c02a2c
parent179766aa2ef06df854bc1d9616bf6f00ce49b7f9
use hard-coded sh4a atomic opcodes to avoid linker errors on sh

when using the sh4a opcodes, the assembler tags the resulting object
file as requiring sh4a. the linker then refuses to (static) link it
with object files marked as requiring j2, since there is no isa level
that includes both sh4a and j2 instructions.
src/thread/sh/atomics.s