diff options
| author | Ersikan <julien.philippon@epitech.eu> | 2021-03-12 23:46:51 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-12-21 11:33:12 -0800 |
| commit | e15a267668bae168f2bba06cc3706c54bc062522 (patch) | |
| tree | b84e6f17eda1e677dbb7a9adcf630741ae94c05b /src/codegen/c.zig | |
| parent | 44061cd760cba603ddc2afa10d882ce71c5d389b (diff) | |
| download | zig-e15a267668bae168f2bba06cc3706c54bc062522.tar.gz zig-e15a267668bae168f2bba06cc3706c54bc062522.zip | |
elf: Put constant data in the .rodata section
Allocate a new program header and a new section to accomodate the read-only data
section ".rodata".
Separate TextBlock into multiple TextBlockList, to separate decl in different
sections.
If a Decl is not a function, it is added to the .rodata section.
Diffstat (limited to 'src/codegen/c.zig')
0 files changed, 0 insertions, 0 deletions
