arm: fix setjmp and longjmp asm for armv8-a
authorSzabolcs Nagy <nsz@port70.net>
Wed, 25 Sep 2019 18:34:25 +0000 (19:34 +0100)
committerRich Felker <dalias@aerifal.cx>
Thu, 26 Sep 2019 04:34:15 +0000 (00:34 -0400)
commitb678f7b46a614ca8985b3ef662d96036e06e8810
treedc35054552afd0fbccc7f78258cef15080a78994
parent29bad49d72e5aeedb97d2bb2af44838d934026a0
arm: fix setjmp and longjmp asm for armv8-a

armv8 removed the coprocessor instructions other than cp14, so
on an armv8 system the related hwcaps should never be set.

new llvm complains about the use of coprocessor instructions in
armv8-a mode (even though they are never executed at runtime),
so ifdef them out when musl is built for armv8.
src/setjmp/arm/longjmp.S [new file with mode: 0644]
src/setjmp/arm/longjmp.s [deleted file]
src/setjmp/arm/setjmp.S [new file with mode: 0644]
src/setjmp/arm/setjmp.s [deleted file]