# netbsd: restrict PT_LOAD workaround to dlibs only · gitcafe/zig

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

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

Visibility: public

Requested revision: 247b35360900367c3678f2d8a6dd0d0693f17072

Requested commit: 247b35360900367c3678f2d8a6dd0d0693f17072

Commit: 247b35360900367c3678f2d8a6dd0d0693f17072

Tree: ecf701d4c4ab701b5fdbd26b23c636899e060433

Author: Michael Dusan

Committer: Michael Dusan

## Message

```
netbsd: restrict PT_LOAD workaround to dlibs only

NetBSD supports executables with > 2 PT_LOAD segments but dynamic
libraries continue to expect exactly 2 PT_LOAD segments.

```

## Parents

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

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