# zld\+stage2: refactor creating segments and sections · gitcafe/zig

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

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

Visibility: public

Requested revision: 852e1ed23cb5cfdb687a52c39fa9c60be3159730

Requested commit: 852e1ed23cb5cfdb687a52c39fa9c60be3159730

Commit: 852e1ed23cb5cfdb687a52c39fa9c60be3159730

Tree: 2ba86d658697c66801b3f0fe6951e6288a110b4c

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
zld+stage2: refactor creating segments and sections

Move the logic into default-init structs part of constructors in
`SegmentCommand` struct in `commands.zig` module.

```

## Parents

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

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