aboutsummaryrefslogtreecommitdiffhomepage
path: root/src-backend/outformat
AgeCommit message (Expand)AuthorFilesLines
2024-05-11Update copyright yearsSamuel Lidén Borell3-3/+3
2024-05-10Backend: Implement relocations of references to .rodataSamuel Lidén Borell1-5/+20
2024-05-09elf: Fix .symtab and .dynsym entries of datadefsSamuel Lidén Borell1-79/+93
2024-05-09elf: Fix .rodata section address on aarch64Samuel Lidén Borell1-1/+1
2024-05-09Minor readme and TODO updatesSamuel Lidén Borell1-2/+2
2024-05-09Backend: Fix memcpy with NULL and length = 0Samuel Lidén Borell1-1/+5
2024-05-08Backend: Emit contents in .rodata sectionSamuel Lidén Borell3-32/+188
2024-03-05Fix GCC and Valgrind warnings when building with -O2Samuel Lidén Borell1-3/+10
2024-03-03Add assert()'s to silence some gcc -fanalyzer warningsSamuel Lidén Borell1-0/+1
2024-02-24Backend: Support unity buildsSamuel Lidén Borell1-5/+5
2024-01-21elf: Minimize alignment for .plt.gotSamuel Lidén Borell1-5/+6
2024-01-21elf: Import __libc_start_main as a function (instead of as an object)Samuel Lidén Borell1-1/+1
2024-01-01Fix bugs and warnings from clang --analyzeSamuel Lidén Borell1-7/+20
2023-12-27codegen: Don't rely on unsigned/size_t being 32 bitsSamuel Lidén Borell1-24/+24
2023-12-25Tests: Fix compilation error on 32 bit platformsSamuel Lidén Borell1-1/+4
2023-08-11Use namespace prefix in include guardsSamuel Lidén Borell1-2/+2
2023-08-05elf: Use default visibility instead of protectedSamuel Lidén Borell1-1/+13
2023-07-29aarch64: Add start codeSamuel Lidén Borell2-0/+22
2023-07-28Cosmetic fixes: Avoid shadowed identifier name + fix long linesSamuel Lidén Borell2-8/+8
2023-07-28x86: Add 32-bit start codeSamuel Lidén Borell1-11/+15
2023-07-27Backend: Emit call to __libc_start_mainSamuel Lidén Borell3-3/+63
2023-07-27elf: Fix elflint error for libraries with no codeSamuel Lidén Borell1-22/+35
2023-07-27x86: Computation/relocation of GOT address via pc thunkSamuel Lidén Borell1-17/+27
2023-07-26ir: Fix off-by-one error of identifier lengthSamuel Lidén Borell1-0/+1
2023-07-26elf: Skip section header for GNU_STACK in executablesSamuel Lidén Borell1-1/+1
2023-07-26elf: Add symbols: _DYANMIC, _GLOBAL_OFFSET_TABLE_ and _text_endSamuel Lidén Borell1-2/+25
2023-07-26elf: Exclude padding in length of .text sectionSamuel Lidén Borell1-3/+4
2023-07-25elf: Generate .symtab entry and stub for startup codeSamuel Lidén Borell1-2/+11
2023-07-25Move ld.so selection into backendSamuel Lidén Borell1-5/+52
2023-07-22elf: Set DF_1_PIE flag on executablesSamuel Lidén Borell1-1/+3
2023-07-22elf: Add .interp for executablesSamuel Lidén Borell2-18/+40
2023-07-22elf: Add DT_NEEDEDSamuel Lidén Borell1-7/+45
2023-07-21elf: Generate .rel.dyn contentsSamuel Lidén Borell2-47/+69
2023-07-21elf: Process relocations of calls to .plt.gotSamuel Lidén Borell2-7/+9
2023-07-20elf: Generate .plt.got contentsSamuel Lidén Borell2-6/+43
2023-07-20elf: Skip .plt section and use only .plt.gotSamuel Lidén Borell1-21/+8
2023-07-20Backend: Factor out code chunks to a separate structSamuel Lidén Borell4-9/+11
2023-07-20elf: Add (empty) section entries for GOT/PLTSamuel Lidén Borell1-49/+154
2023-07-19elf: Add GNU_RELROSamuel Lidén Borell1-2/+5
2023-07-19elf: Fix comments. Add test of bloom filterSamuel Lidén Borell2-4/+22
2023-07-19elf: Fix .gnu.hash end-of-chain bitSamuel Lidén Borell2-8/+18
2023-07-18elf: Fix incorrect alignment/start address of .dynamic etc.Samuel Lidén Borell1-17/+21
2023-07-18elf: Implement .gnu.hashSamuel Lidén Borell3-30/+165
2023-07-16elf: Generate Program Header, .dynsym, .dynstr and .dynamicSamuel Lidén Borell2-57/+252
2023-07-14elf: Clean up old TODOsSamuel Lidén Borell1-28/+6
2023-07-14Backend: Use relocation addends (RELA) on platforms that use themSamuel Lidén Borell1-8/+7
2023-07-13elf/aarch64: Emit basic relocations (call26 only)Samuel Lidén Borell2-1/+40
2023-07-07Fix some cppcheck warnings and improve commentsSamuel Lidén Borell1-1/+1
2023-06-18Backend: Possiblity to dump IR in text formSamuel Lidén Borell5-0/+85
2023-06-18Misc cleanup + add TODOsSamuel Lidén Borell2-12/+5