1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:47:44 +00:00

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
parent 0c4f29f71f
commit c10a5ac4ad
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_ */