aboutsummaryrefslogtreecommitdiff
path: root/lib/std/elf.zig
diff options
context:
space:
mode:
authorErsikan <julien.philippon@epitech.eu>2021-03-12 23:46:51 +0100
committerAndrew Kelley <andrew@ziglang.org>2021-12-21 11:33:12 -0800
commite15a267668bae168f2bba06cc3706c54bc062522 (patch)
treeb84e6f17eda1e677dbb7a9adcf630741ae94c05b /lib/std/elf.zig
parent44061cd760cba603ddc2afa10d882ce71c5d389b (diff)
downloadzig-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 'lib/std/elf.zig')
0 files changed, 0 insertions, 0 deletions