fix arm a_crash for big endian
authorRich Felker <dalias@aerifal.cx>
Mon, 25 Jan 2016 21:59:55 +0000 (21:59 +0000)
committerRich Felker <dalias@aerifal.cx>
Mon, 25 Jan 2016 21:59:55 +0000 (21:59 +0000)
commite7a1118984d071fdd65c486c52271ad4f1561fb8
tree3bcbd63bf8f395733d9239dcb871aae0d44be0ac
parent89e149d275a7699a4a5e4c98bab267648f64cbba
fix arm a_crash for big endian

contrary to commit 89e149d275a7699a4a5e4c98bab267648f64cbba, big
endian arm does need the instruction bytes in big endian order. rather
than trying to use a special encoding that works as arm or thumb,
simply encode the simplest/canonical undefined instructions dependent
on whether __thumb__ is defined.
arch/arm/atomic_arch.h