about summary refs log tree commit diff
path: root/elf/rtld.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/rtld.c')
-rw-r--r--elf/rtld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index 31521c6484..2e7a9b6867 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -1260,7 +1260,7 @@ ERROR: ld.so: object '%s' from %s cannot be preloaded: ignored.\n",
       struct link_map *l = _dl_new_object ((char *) "", "", lt_library, NULL);
       if (__builtin_expect (l != NULL, 1))
 	{
-	  static ElfW(Dyn) dyn_temp[DL_RO_DYN_TEMP_CNT];
+	  static ElfW(Dyn) dyn_temp[DL_RO_DYN_TEMP_CNT] attribute_relro;
 
 	  l->l_phdr = ((const void *) GLRO(dl_sysinfo_dso)
 		       + GLRO(dl_sysinfo_dso)->e_phoff);