]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
TODO(incomplete): cheri: rtld: more elfptr_t in linkmap struct
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 7 Apr 2022 12:18:48 +0000 (13:18 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 5 Aug 2022 18:45:19 +0000 (19:45 +0100)
TODO: requires follwup patches to make sure all usage of the fields
preserve capabilities.

include/link.h

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