about summary refs log tree commit diff
path: root/include/link.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/link.h')
-rw-r--r--include/link.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/link.h b/include/link.h
index 5d10bd6679..bc72310ea8 100644
--- a/include/link.h
+++ b/include/link.h
@@ -1,6 +1,6 @@
 /* Data structure for communication from the run-time dynamic linker for
    loaded ELF shared objects.
-   Copyright (C) 1995-2002, 2003 Free Software Foundation, Inc.
+   Copyright (C) 1995-2002, 2003, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -280,6 +280,11 @@ struct link_map
     /* Index of the module in the dtv array.  */
     size_t l_tls_modid;
 #endif
+
+    /* Information used to change permission after the relocations are
+       done.  */
+    ElfW(Addr) l_relro_addr;
+    size_t l_relro_size;
   };
 
 struct dl_phdr_info