add native a_crash primitive for arm
authorRich Felker <dalias@aerifal.cx>
Mon, 25 Jan 2016 02:40:55 +0000 (02:40 +0000)
committerRich Felker <dalias@aerifal.cx>
Mon, 25 Jan 2016 02:44:56 +0000 (02:44 +0000)
commit89e149d275a7699a4a5e4c98bab267648f64cbba
treef1b30d37f117c9059745bb57b26e2f3b345405c5
parent2c9acc51cdf40871625405a7e4a766cccb77ab6f
add native a_crash primitive for arm

the .byte directive encodes a guaranteed-undefined instruction, the
same one Linux fills the kuser helper page with when it's disabled.
the udf mnemonic and and .insn directives are not supported by old
binutils versions, and larger-than-byte integer directives would
produce the wrong output on big-endian.
arch/arm/atomic_arch.h