diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-01-12 16:14:27 +0100 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-01-13 20:02:11 +0100 |
| commit | f9f792ab701a8aa3e3fb7b7b47b2b7c50b1bc9a2 (patch) | |
| tree | 41fb0d36c5add8c70fa6a818b0575e9db8526dba /src/Compilation.zig | |
| parent | c5ee73f65b4c77fe08aa44b8611bf084ae700f24 (diff) | |
| download | zig-f9f792ab701a8aa3e3fb7b7b47b2b7c50b1bc9a2.tar.gz zig-f9f792ab701a8aa3e3fb7b7b47b2b7c50b1bc9a2.zip | |
zld: fix num nlist calc when there's no dynsymtab
Handle `__DATA,.rustc` section containing `rustc` metadata - this
is required to get crates like `serde_derive` link properly.
Note to self: this special section has to be copied __verbatim__
from the relocatable object file - this includes preserving its size
even though unpadded according the section's required alignment.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
