This commit is contained in:
H.J. Lu 2017-11-12 17:23:22 -08:00
parent cba6246d3a
commit f4d18a5466
1 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,13 @@
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.