# zld: simplify and move Relocations into TextBlock · gitcafe/zig

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

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

Visibility: public

Requested revision: 407745a5e91685d52189548620d112a4b34c8127

Requested commit: 407745a5e91685d52189548620d112a4b34c8127

Commit: 407745a5e91685d52189548620d112a4b34c8127

Tree: e1927fa0fb277ec135b8e1d76dc8c40647734778

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
zld: simplify and move Relocations into TextBlock

It makes sense to have them as a dependent type since they only ever
deal with TextBlocks. Simplify Relocations to rely on symbol indices
and symbol resolver rather than pointers.

```

## Parents

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

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