# zld: throw an error if found unknown section in object · gitcafe/zig

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

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

Visibility: public

Requested revision: 6aa9c63f632a284069c88475cbde3cc6b114750b

Requested commit: 6aa9c63f632a284069c88475cbde3cc6b114750b

Commit: 6aa9c63f632a284069c88475cbde3cc6b114750b

Tree: d7cbd990e26b9c21fea41960e6891c0551ac0d35

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
zld: throw an error if found unknown section in object

We will silently ignore expected section that are either won't take
part in linking such as any `__DWARF` section, or are known but are
not yet implemented such as `__TEXT,__eh_frame`. For any other
we will throw an error and exit.

Also, inform the caller that we currently are unable to handle
frameworks.

```

## Parents

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

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