# elf: allocate PHDR table always succeeding the EHDR · gitcafe/zig

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

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

Visibility: public

Requested revision: e1248b693ff53266d20d6fc88a9c70a13432322f

Requested commit: e1248b693ff53266d20d6fc88a9c70a13432322f

Commit: e1248b693ff53266d20d6fc88a9c70a13432322f

Tree: 550f5fd31f8ae88442e9b1aa974e8cb0819f5789

Author: Jakub Konka

Committer: Jacob Young

## Message

```
elf: allocate PHDR table always succeeding the EHDR

While this is a less flexible approach to being able to
allocated the PHDR anywhere in file, it is sadly generally expected
by the tooling in the wild.

```

## Parents

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

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