]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
TODO: cheri: elf: turn back to addresses: l_map_end, l_text_end, l_relro_start
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 23 Aug 2022 15:37:25 +0000 (16:37 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 12 Oct 2022 13:22:03 +0000 (14:22 +0100)
TODO: squash into
51fe1e15ed TODO(incomplete): cheri: rtld: more elfptr_t in linkmap struct

include/link.h

index 9ab07a281a7fff1cb83216772adb03ea148d320e..e70d3b2d7589efe8f5e0773a098c93b182117ed6 100644 (file)
@@ -253,9 +253,10 @@ struct link_map
 
     /* Start and finish of memory map for this object.  l_map_start
        need not be the same as l_addr.  */
-    elfptr_t l_map_start, l_map_end;
+    elfptr_t l_map_start;
+    ElfW(Addr) l_map_end;
     /* End of the executable part of the mapping.  */
-    elfptr_t l_text_end;
+    ElfW(Addr) l_text_end;
 
     /* Default array for 'l_scope'.  */
     struct r_scope_elem *l_scope_mem[4];
@@ -344,7 +345,7 @@ struct link_map
 
     /* Information used to change permission after the relocations are
        done.  */
-    elfptr_t l_relro_addr;
+    ElfW(Addr) l_relro_addr;
     size_t l_relro_size;
 
     unsigned long long int l_serial;