aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-11-11 07:02:30 -0800
committerH.J. Lu <hjl.tools@gmail.com>2017-11-12 17:26:11 -0800
commited1794ee7a2bd8adc22e5bb8e7343b72758d5692 (patch)
tree1b32fedc7ee60aaf9b9af9bccd7272d4665b0e89 /ld/fdl.texi
parentcl (diff)
downloadbinutils-gdb-ed1794ee7a2bd8adc22e5bb8e7343b72758d5692.tar.gz
binutils-gdb-ed1794ee7a2bd8adc22e5bb8e7343b72758d5692.tar.bz2
binutils-gdb-ed1794ee7a2bd8adc22e5bb8e7343b72758d5692.zip
ld: Add ldlang_check_relro_region/update lang_find_relro_sections_1
Extract GNU_RELRO region check into a new funtion and pass a pointer to seg_align_type to lang_find_relro_sections_1 so that they can also be used for text-only LOAD segment. * 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.
Diffstat (limited to 'ld/fdl.texi')
0 files changed, 0 insertions, 0 deletions