# tools/gen_stubs: add aarch64 and output preprocessor directives · gitcafe/zig

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

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

Visibility: public

Requested revision: da9542c0af1955c54fba4a9466d43d94290e36c9

Requested commit: da9542c0af1955c54fba4a9466d43d94290e36c9

Commit: da9542c0af1955c54fba4a9466d43d94290e36c9

Tree: 9ef28d462909b46d5f250c69814913dd7e6e68b0

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
tools/gen_stubs: add aarch64 and output preprocessor directives

Now it outputs libc.S which can be assembled with zig, and the small
differences per-architecture are handled with preprocessor directives.

There is also now a set of blacklisted symbols which contains
compiler-rt.

```

## Parents

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

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