elf: ensure we build with -fPIE when testing init array order
666e9df170 • Jakub Konka • Oct 17, 2023
elf: do not open file if emitting object file for LLVM and elf linker
43fb74f81a • Jakub Konka • Oct 16, 2023
elf: skip tests on foreign architectures
77443ac2b5 • Jakub Konka • Oct 16, 2023
elf: fix 32bit build
d2727b808c • Jakub Konka • Oct 16, 2023
elf: refactor logs
e89155b565 • Jakub Konka • Oct 16, 2023
elf: correctly copy and write out debug sections
ee1c3c7058 • Jakub Konka • Oct 16, 2023
elf: sort PT_LOAD by address in PHDR table
b0e2c6323b • Jakub Konka • Oct 16, 2023
codegen: refactor .actual_got into .extern_got
6993b3e23e • Jakub Konka • Oct 16, 2023
elf: emit empty TLS phdr when linking against musl libc even if unneeded
d3b1c903dd • Jakub Konka • Oct 16, 2023
elf: do not allocate zerofill segment in file offsets
5192a2fbbe • Jakub Konka • Oct 16, 2023
elf: sort the entire shdr table the usual way
17b8e8ab29 • Jakub Konka • Oct 16, 2023
elf: sort phdr table
46cf4c5d93 • Jakub Konka • Oct 16, 2023
elf: add self-hosted tests
5423778f6f • Jakub Konka • Oct 16, 2023
codegen+elf: check if extern is a variable ref
7b2cbcf0fe • Jakub Konka • Oct 16, 2023
codegen+elf: lower imported data refs
45197ea7ad • Jakub Konka • Oct 16, 2023
elf: make .zig.rodata writeable
c71a79f618 • Jakub Konka • Oct 16, 2023
x86_64: add -fPIC support targeting ELF
17635e4f2a • Jakub Konka • Oct 16, 2023
elf: emit dynamic base relocs for .zig.got entries when required
b3d98a4b88 • Jakub Konka • Oct 16, 2023
elf: fix section sorting logic
315cd7623e • Jakub Konka • Oct 16, 2023
elf: emit (broken) debug sections
5fad683791 • Jakub Konka • Oct 16, 2023
elf: re-enable self-hosted backends
85d451f96c • Jakub Konka • Oct 16, 2023
elf: create new synthetic section ZigGotSection
7be983ac92 • Jakub Konka • Oct 16, 2023
elf: exclude Zig special sections from bulk alloc
9b6337ab06 • Jakub Konka • Oct 16, 2023
elf: refactor
9da6574f7b • Jakub Konka • Oct 16, 2023
elf: use findFreeSpace mechanics to allocate object-extracted segments
716a45a209 • Jakub Konka • Oct 16, 2023
elf: dynamically allocate SHDR table
5ff12003ee • Jakub Konka • Oct 16, 2023
elf: clean up logic for allocating TLS segment
1939c7d182 • Jakub Konka • Oct 16, 2023
elf: allocate non-alloc sections using incremental mechanism
c87e73b19f • Jakub Konka • Oct 16, 2023
elf: assume only one TLS segment for now
2aa6099ad9 • Jakub Konka • Oct 16, 2023
elf: split allocating sections/segments into alloc and non-alloc
8be71906d9 • Jakub Konka • Oct 16, 2023
elf: bring back PT_LOAD for PT_PHDR for incremental codepath
bcce035636 • Jakub Konka • Oct 16, 2023
elf: always write SHDR table, at least for now
43397bbdc4 • Jakub Konka • Oct 16, 2023
elf: always write PHDR table, at least for now
6a7a20520d • Jakub Konka • Oct 16, 2023
elf: create and allocate special PHDRs out of the loop
5148e38751 • Jakub Konka • Oct 16, 2023
elf: move creation of PT_PHDR out of initPhdrs and initMetadata
59fcf16732 • Jakub Konka • Oct 16, 2023
elf: rename Zig-specific section handles to _zig_ infixed
e571208433 • Jakub Konka • Oct 16, 2023
elf: fix conflicts after rebase gone bad
871591ca1c • Jakub Konka • Oct 16, 2023
elf: fix testTlsOffsetAlignment test
b3f40c35dc • Jakub Konka • Oct 16, 2023
elf: port more linker tests
67a02bee2c • Jakub Konka • Oct 16, 2023
elf: port more linker tests
81b68c7465 • Jakub Konka • Oct 16, 2023
elf: fix GotSection.write in presence of TLSLD symbol
0b37a9c78d • Jakub Konka • Oct 16, 2023
elf: port more linker tests
898c87bd2a • Jakub Konka • Oct 16, 2023
elf: port more linker tests
1fe0fd69e0 • Jakub Konka • Oct 16, 2023
elf: port more linker tests
9487007ffe • Jakub Konka • Oct 16, 2023
elf: make init/fini sorting deterministic
1efc0519ce • Jakub Konka • Oct 16, 2023
elf: refactor tests and disable currently impossible combinations
44f3085851 • Jakub Konka • Oct 16, 2023
elf: test exporting symbols in exes
df656c4eef • Jakub Konka • Oct 16, 2023
elf: test --export-dynamic flag
f2ad71991a • Jakub Konka • Oct 16, 2023
elf: test entry point
20980b33e3 • Jakub Konka • Oct 16, 2023
elf: test various copyrel edge cases
9861a9ea75 • Jakub Konka • Oct 16, 2023
elf: refactor canonical PLT test
b6006df565 • Jakub Konka • Oct 16, 2023
elf: fix generating .plt.got indirection
1772dbb503 • Jakub Konka • Oct 16, 2023
elf: fix alignment of .eh_frame_hdr section
06f3b385c4 • Jakub Konka • Oct 16, 2023
elf: populate symtab with symbols coming from DSOs
a748ca3725 • Jakub Konka • Oct 16, 2023
elf: port more linker tests
c940735c4d • Jakub Konka • Oct 16, 2023
elf: add --as-needed test
149dd82d54 • Jakub Konka • Oct 16, 2023
elf: test large alignment of funcs in exe
7ff9461b88 • Jakub Konka • Oct 16, 2023
elf: test large alignment of funcs in DSO
11bdfe1179 • Jakub Konka • Oct 16, 2023
elf: override default dynamic linker path with system\`s dl when appropriate
031e12b963 • Jakub Konka • Oct 16, 2023
elf: more DSO tests
62c6c4a46d • Jakub Konka • Oct 16, 2023
elf: emit .got.plt when emitting .plt
2f497f9f05 • Jakub Konka • Oct 16, 2023
elf: test basic DSO generation and linking
e53fa93170 • Jakub Konka • Oct 16, 2023
elf: test common symbols in archives
ac03a35e82 • Jakub Konka • Oct 16, 2023
elf: test common symbols handling
cf2c8c0789 • Jakub Konka • Oct 16, 2023
elf: hook up common symbols handler
def7190e84 • Jakub Konka • Oct 16, 2023
elf: implement --verbose-link, and other fixes
f4c1b1d9ad • Jakub Konka • Oct 16, 2023
elf: add missing generators for special dynamic sections
4af5caa81f • Jakub Konka • Oct 16, 2023
elf: fix synthetic section handling and actually parse DSOs
5fa90afb64 • Jakub Konka • Oct 16, 2023
elf: re-enable dynamic linking codepaths
d1446565a1 • Jakub Konka • Oct 16, 2023
elf: fix COMDAT deduping logic
04a8f217c6 • Jakub Konka • Oct 16, 2023
elf: add garbage collection of sections
9a80ac0429 • Jakub Konka • Oct 16, 2023
elf: test garbage collection of sections
2ee221328f • Jakub Konka • Oct 16, 2023
elf: add incomplete handling of build-obj -fllvm -fno-lld
f1b9c365f2 • Jakub Konka • Oct 16, 2023
elf: add hello-world c++ link test
976d4f51cc • Jakub Konka • Oct 16, 2023
elf: temporarily disable non-llvm linker tests
621ddc003a • Jakub Konka • Oct 16, 2023
elf: link hello-world in c++
727d9431c8 • Jakub Konka • Oct 16, 2023
elf: add more prepwork for linking c++ objects
d6cec5a586 • Jakub Konka • Oct 16, 2023
elf: add symbols to .got section directly
66f34b15e8 • Jakub Konka • Oct 16, 2023
elf: handle .eh_frame and non-alloc sections
2c2bc66ce1 • Jakub Konka • Oct 16, 2023
elf: refactor object.shdrContents to never error out
9ccd94d560 • Jakub Konka • Oct 16, 2023
elf: get hello-world with LLVM in Zig working
53340544c6 • Jakub Konka • Oct 16, 2023
elf: port zld's allocation mechanism
1b70ad622b • Jakub Konka • Oct 16, 2023
elf: remove dirty from synthetic .got section
860beda55f • Jakub Konka • Oct 16, 2023
elf: update section sizes accumulated from objects
6faed6269f • Jakub Konka • Oct 16, 2023
elf: create atom lists indexed by section index
14cff77d87 • Jakub Konka • Oct 16, 2023
elf: sort sections by their rank to combine them by segment flags
540ef3e010 • Jakub Konka • Oct 16, 2023
elf: initialize output sections from input objects in a separate step
679accd887 • Jakub Konka • Oct 16, 2023
elf: run populateMissingMetadata only if ZigModule exists
509da2316c • Jakub Konka • Oct 16, 2023
elf: write shdr_table in flush
f0f19e18c7 • Jakub Konka • Oct 16, 2023
elf: write .got in bulk after scanning objects
87602092fa • Jakub Konka • Oct 16, 2023
elf: check for null atom in ZigModule
d565f8bef2 • Jakub Konka • Oct 16, 2023
elf: increase Atom.Index resolution to u32
75f4420c2d • Jakub Konka • Oct 16, 2023
elf: clean up generating GOT symbol names
605e3eb08c • Jakub Konka • Oct 16, 2023
elf: update .strtab with GOT symbols
43406c0696 • Jakub Konka • Oct 16, 2023
elf: for now always update .shstrtab and .strtab sections
d06aa21e48 • Jakub Konka • Oct 16, 2023
elf: reuse addSection in alloc functions
ff1423c4ce • Jakub Konka • Oct 16, 2023
elf: do not prealloc space for .symtab
c8c50a058e • Jakub Konka • Oct 16, 2023
elf: move initializing string buffers out of populateMissingMetadata
52f8a1a24c • Jakub Konka • Oct 16, 2023
std.mem: Improve writeIntSlice performance
7b9165b375 • joadnacer • Oct 16, 2023
Sema: fix missing check for tuple default initializers
14efbf5ed1 • Veikka Tuominen • Oct 16, 2023