aboutsummaryrefslogtreecommitdiff
path: root/ltsugar.m4
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 /ltsugar.m4
parentf4d18a54667ded2b50894a3d0740f93825f2a3e8 (diff)
downloadgdb-ed1794ee7a2bd8adc22e5bb8e7343b72758d5692.zip
gdb-ed1794ee7a2bd8adc22e5bb8e7343b72758d5692.tar.gz
gdb-ed1794ee7a2bd8adc22e5bb8e7343b72758d5692.tar.bz2
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 'ltsugar.m4')
0 files changed, 0 insertions, 0 deletions