diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-11-12 17:22:15 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-11-12 17:22:24 -0800 |
commit | cba6246d3ad332ab353afeff0016b195ffc69e05 (patch) | |
tree | d699ece20321e996fe15658543252b59f687b4b4 /bfd/i386msdos.c | |
parent | d7475e036f69ff7ac78252db74a65fe4d617c4ee (diff) | |
download | gdb-cba6246d3ad332ab353afeff0016b195ffc69e05.zip gdb-cba6246d3ad332ab353afeff0016b195ffc69e05.tar.gz gdb-cba6246d3ad332ab353afeff0016b195ffc69e05.tar.bz2 |
ld: Add lang_size_relro_segment
Break lang_size_sections down into separate functions so that they can
also be used for text-only LOAD segment. lang_size_relro_segment will
call lang_size_relro_segment_1 and lang_size_segment for both GNU_RELRO
segment and text-only LOAD segment.
* ldlang.c (lang_size_segment): New function.
(lang_size_relro_segment_1): Likewise.
(lang_size_relro_segment): Likewise.
(lang_size_sections): Rewrite to call lang_size_relro_segment.
Diffstat (limited to 'bfd/i386msdos.c')
0 files changed, 0 insertions, 0 deletions