aboutsummaryrefslogtreecommitdiffhomepage
path: root/x86_64/emit.c
Commit message (Collapse)AuthorAgeFilesLines
* fix position independent loads of function symbols.lemon2025-12-131-6/+8
| | | | | | | | 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.
* x86-64/emit erratalemon2025-12-121-7/+4
|
* x86_64: fix erroneous encoding of index reg in no-pie situationslemon2025-12-121-11/+1
|
* s/amd64/x86_64/lemon2025-12-121-0/+1388