cl
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 13 Nov 2017 01:23:22 +0000 (17:23 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 13 Nov 2017 01:26:10 +0000 (17:26 -0800)
ld/ChangeLog

index 16fed16..a619491 100644 (file)
@@ -1,5 +1,15 @@
 2017-11-12  H.J. Lu  <hongjiu.lu@intel.com>
 
+       * ldlang.c (lang_size_sections_1): Extract GNU_RELRO region check
+       into ...
+       (ldlang_check_relro_region): New function.
+       (lang_find_relro_sections_1): Add an argument for pointer to
+       seg_align_type and replace expld.dataseg with the pointer.
+       (lang_find_relro_sections): Pass address of expld.dataseg to
+       lang_find_relro_sections_1.
+
+2017-11-12  H.J. Lu  <hongjiu.lu@intel.com>
+
        * ldlang.c (lang_size_segment): New function.
        (lang_size_relro_segment_1): Likewise.
        (lang_size_relro_segment): Likewise.