# compiler-rt: export \_\_aeabi_read_tp for arm-freebsd · gitcafe/zig

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

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

Visibility: public

Requested revision: 4972c987fd41d897148c23ea2e1308811bd797a7

Requested commit: 4972c987fd41d897148c23ea2e1308811bd797a7

Commit: 4972c987fd41d897148c23ea2e1308811bd797a7

Tree: b2ddf39c77ca029437484587e86188b69a349f90

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
compiler-rt: export __aeabi_read_tp for arm-freebsd

FreeBSD normally provides this symbol in libc, but it's in the
FBSDprivate_1.0 namespace, so it doesn't get included in our abilists file.
Fortunately, the implementation is identical for Linux and FreeBSD, so we can
just provide it in compiler-rt.

It's interesting to note that the same is not true for NetBSD where the
implementation is more complex to support older Arm versions. But we do include
the symbol in our abilists file for NetBSD libc, so that's fine.

closes #25215

```

## Parents

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

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