Encode labels as untyped local symbols in ELF

This commit is contained in:
2024-10-27 14:00:54 +01:00
parent 57436f664e
commit 6b92e5059c
5 changed files with 239 additions and 177 deletions

4
TODO
View File

@ -9,10 +9,6 @@
- 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.
# Name analysis