diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-11-12 17:20:09 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-11-12 17:20:18 -0800 |
commit | d7475e036f69ff7ac78252db74a65fe4d617c4ee (patch) | |
tree | 4237220550a51952121c7c342638e49ebe60310b /bfd/coff-tic30.c | |
parent | 0f99513f2a52b7d73b94a1f77b8c6de9159b50d7 (diff) | |
download | gdb-d7475e036f69ff7ac78252db74a65fe4d617c4ee.zip gdb-d7475e036f69ff7ac78252db74a65fe4d617c4ee.tar.gz gdb-d7475e036f69ff7ac78252db74a65fe4d617c4ee.tar.bz2 |
ld: Add fold_segment_align/fold_segment_relro_end/fold_segment_end
Extract DATA_SEGMENT_END/DATA_SEGMENT_ALIGN/DATA_SEGMENT_RELRO_END cases
for GNU_RELRO segment into separate functions so that they can also be
used for text-only LOAD segment.
* ldexp.c (fold_unary): Extract the DATA_SEGMENT_END case to ...
(fold_segment_end): New function.
(fold_binary): Extract the DATA_SEGMENT_ALIGN case to ...
(fold_segment_align): New function.
(fold_binary): Extract the DATA_SEGMENT_RELRO_END case to ...
(fold_segment_relro_end): New function.
Diffstat (limited to 'bfd/coff-tic30.c')
0 files changed, 0 insertions, 0 deletions