| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | c: handle more static eval edgecases for int -> ptr | 2025-12-13 | 1 | -0/+9 | |
| | | | | | | sqlite3 was falling back to `((void*)&((char*)0)[X])` for INT_TO_PTR, which this handles now. | ||||
| * | Add -O optimization flag | 2025-12-13 | 1 | -0/+1 | |
| | | |||||
| * | fix position independent loads of function symbols. | 2025-12-13 | 1 | -0/+29 | |
| For `extern int x[1];`, can use PCREL32 for &x. But for `extern int x(int)`, must use GOTREL, when not being called directly (that's PLT). Therefore the type of an external symbol (actually just whether it denotes a function) matters when deciding what kind of relocation to emit, so keep that information. | |||||