# align end of elf archives · gitcafe/zig

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

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

Visibility: public

Requested revision: af1e196db3bca66c29979c685b1c9c896c275211

Requested commit: af1e196db3bca66c29979c685b1c9c896c275211

Commit: af1e196db3bca66c29979c685b1c9c896c275211

Tree: 03ab8aa21c4fd56ad91561f8efc48ef6b9a88946

Author: Kendall Condon

Committer: Kendall Condon

## Message

```
align end of elf archives

The end of the archive needs to also be aligned to a two-byte boundary,
not just the start of records. This was causing lld to reject archives.

Notably, this was happening with compiler_rt when rebuilding in fuzz
mode, which is why this commit is included in this patchset.

```

## Parents

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

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