# elf: sort sections by their rank to combine them by segment flags · gitcafe/zig

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

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

Visibility: public

Requested revision: 540ef3e010ea00d9bfb3ba8c2e43ebf8fa226084

Requested commit: 540ef3e010ea00d9bfb3ba8c2e43ebf8fa226084

Commit: 540ef3e010ea00d9bfb3ba8c2e43ebf8fa226084

Tree: a9906f4e4c1b26c20eaeaec606034f649367d39a

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
elf: sort sections by their rank to combine them by segment flags

Currently this ignores ZigModule, however, I believe we can make it
so that this is done excluding sections/segments emitted by ZigModule
and everything should work out just fine.

```

## Parents

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

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