# musl \[PATCH\] arm: fix setjmp and longjmp asm for armv8-a · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/40e77dad836abf130bf49af1838d108f0fc2e94e)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 40e77dad836abf130bf49af1838d108f0fc2e94e

Requested commit: 40e77dad836abf130bf49af1838d108f0fc2e94e

Commit: 40e77dad836abf130bf49af1838d108f0fc2e94e

Tree: 0a57fb0fa6d5d87e4eedc10b91e580e6c7dfc8f7

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
musl [PATCH] arm: fix setjmp and longjmp asm for armv8-a

From: Szabolcs Nagy <szabolcs.nagy@arm.com>

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.

<dalias> i think the patch looks ok

```

## Parents

- [dc3c4197c6e6564fb2558768cf2102b868347442](https://git.cafe/gitcafe/zig/commit/dc3c4197c6e6564fb2558768cf2102b868347442?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/40e77dad836abf130bf49af1838d108f0fc2e94e?format=markdown)
