LibELF: Restore the relocation code from git history

This is going to be very useful for implementing kernel modules.
We'll also need it for dynamic linking later on.
This commit is contained in:
Andreas Kling 2019-11-28 20:53:02 +01:00
commit c10a5ac4ad
Notes: sideshowbarker 2024-07-19 11:02:31 +09:00
3 changed files with 94 additions and 4 deletions

View file

@ -775,4 +775,7 @@ struct elf_args {
#define ELF_TARG_VER 1 /* The ver for which this code is intended */
#define R_386_32 1
#define R_386_PC32 2
#endif /* _SYS_EXEC_ELF_H_ */