Adds R_LARCH_*.
Signed-off-by: Youling Tang
---
libelf/ChangeLog | 4
libelf/elf.h | 42 +-
2 files changed, 45 insertions(+), 1 deletion(-)
diff --git a/libelf/ChangeLog b/libelf/ChangeLog
index 8cc3c53c..1d5178ca 100644
--- a/libelf/ChangeLog
Add new relocation type handling.
Signed-off-by: Youling Tang
---
backends/ChangeLog | 4
backends/loongarch_reloc.def | 40
2 files changed, 44 insertions(+)
diff --git a/backends/ChangeLog b/backends/ChangeLog
index 41071953..cff82b01 10064
Add handling of _GLOBAL_OFFSET_TABLE_.
Before applying the patch:
$ ./src/elflint --gnu-ld ./src/elflint
section [35] '.symtab': _GLOBAL_OFFSET_TABLE_ symbol value 0x68548
does not match .got.plt section address 0x68238
After applying the patch:
$ ./src/elflint --gnu-ld ./src/elflint
No errors
S