Encode labels as untyped local symbols in ELF

This commit is contained in:
2024-10-27 14:00:54 +01:00
parent 57436f664e
commit e0d61ac393
4 changed files with 218 additions and 166 deletions

5
TODO
View File

@ -9,10 +9,7 @@
- Don't ignore relocations where the symbol is not defined in the symbol table.
Report an error about an undefined symbol.
- JumpLabels inside functions are encoded as functions. Distinguish between
labels (e.g. .A0 or .L0) and global functions. Lables are NOTYPE LOCAL.
- Sort the symbols so that local symbols come first. Some table header had a
number specifiying the index of the first non-local symbol. Adjust that number.
- Labels should start with a dot, ".L", not just "L0" or "L1".
# Name analysis