diff options
Diffstat (limited to 'linker/linker.h')
-rw-r--r-- | linker/linker.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linker/linker.h b/linker/linker.h index 0c986cd..c6b81ea 100644 --- a/linker/linker.h +++ b/linker/linker.h @@ -148,6 +148,10 @@ struct soinfo Elf32_Addr gnu_relro_start; unsigned gnu_relro_len; + /* When you read a virtual address from the ELF file, add the load + * address (= "base" field) minus this value (= "load_offset") to get the + * real, corresponding address in the process' address space */ + Elf32_Addr load_offset; }; |