Add branch relocation type

This commit is contained in:
2024-10-08 17:29:08 +02:00
parent 699cc8684b
commit 87f183baad
5 changed files with 124 additions and 75 deletions

7
TODO
View File

@ -9,6 +9,11 @@
- 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
@ -28,4 +33,4 @@
# Other
- Type analysis.
- Generate call a to _divide_by_zero_error on RiscV.
- Generate a call to _divide_by_zero_error on RiscV.