summaryrefslogtreecommitdiff
path: root/ld/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-11-12 17:20:09 -0800
committerH.J. Lu <hjl.tools@gmail.com>2017-11-12 17:20:18 -0800
commitd7475e036f69ff7ac78252db74a65fe4d617c4ee (patch)
tree4237220550a51952121c7c342638e49ebe60310b /ld/ChangeLog
parent0f99513f2a52b7d73b94a1f77b8c6de9159b50d7 (diff)
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 'ld/ChangeLog')
-rw-r--r--ld/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 0a39d74439..bee75c1824 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,14 @@
2017-11-12 H.J. Lu <hongjiu.lu@intel.com>
+ * 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.
+
+2017-11-12 H.J. Lu <hongjiu.lu@intel.com>
+
* ldexp.h (phase_enum): Rename exp_dataseg_none,
exp_dataseg_align_seen, exp_dataseg_relro_seen,
exp_dataseg_end_seen, exp_dataseg_relro_adjust,