| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | various relocation related optimization | 2025-12-14 | 1 | -14/+15 | |
| | | | | | | | | | | | With 59ca5a8db, querying if a symbol is defined is cheap. If we're compiling code that calls foo() and we defined foo() in this compilation unit, we already know its offset within the .text section, so use it instead of emitting a relocation for the linker to handle. Also, put small literal data in the .text section instead of .rodata. This seems to improve performance (cache locality?), and as a bonus, it will be good for aarch64's instr encoding with smallish PC-relative offsets. | ||||
| * | elf: use a hashmap for looking up symbols | 2025-12-14 | 1 | -31/+47 | |
| | | | | | | Gets rid of linear-time findsym(), though needs some extra indirection to emit sorted symbols. | ||||
| * | s/amd64/x86_64/ | 2025-12-12 | 1 | -3/+3 | |
| | | |||||
| * | elf: initialize str hashtable to a nicer size | 2025-12-09 | 1 | -0/+1 | |
| | | |||||
| * | add command-line predefined macros (-D, -U) | 2025-12-06 | 1 | -3/+3 | |
| | | |||||
| * | c: make tentative definitions work | 2025-12-02 | 1 | -0/+14 | |
| | | |||||
| * | Organize source files into directories | 2025-10-19 | 1 | -0/+525 | |