From 9a701d643b211714aa31ee8677787b1d43c5de1b Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Mon, 13 Feb 2012 10:40:14 +0000 Subject: MFC r230784: Add support for GNU RELRO. --- libexec/rtld-elf/rtld.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libexec/rtld-elf/rtld.h') diff --git a/libexec/rtld-elf/rtld.h b/libexec/rtld-elf/rtld.h index 4a752e42a285..041bf7c5c5b4 100644 --- a/libexec/rtld-elf/rtld.h +++ b/libexec/rtld-elf/rtld.h @@ -168,6 +168,9 @@ typedef struct Struct_Obj_Entry { size_t tlsoffset; /* Offset of static TLS block for this module */ size_t tlsalign; /* Alignment of static TLS block */ + caddr_t relro_page; + size_t relro_size; + /* Items from the dynamic section. */ Elf_Addr *pltgot; /* PLT or GOT, depending on architecture */ const Elf_Rel *rel; /* Relocation entries */ -- cgit v1.3