summaryrefslogtreecommitdiff
path: root/ld/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-11-12 17:17:47 -0800
committerH.J. Lu <hjl.tools@gmail.com>2017-11-12 17:17:58 -0800
commit0f99513f2a52b7d73b94a1f77b8c6de9159b50d7 (patch)
tree09f4858b812d81f4d02b85855b9e18794649001c /ld/ChangeLog
parentf882209d9aa5b68d68c45c5849e129ffc228749c (diff)
ld: Update phase_enum/relro_enum and add seg_align_type
Update GNU_RELRO date type so that they can also be used for text-only LOAD segment. * ldexp.h (phase_enum): Rename exp_dataseg_none, exp_dataseg_align_seen, exp_dataseg_relro_seen, exp_dataseg_end_seen, exp_dataseg_relro_adjust, exp_dataseg_adjust and exp_dataseg_done to exp_seg_none, exp_seg_align_seen, exp_seg_relro_seen, exp_seg_end_seen, exp_seg_relro_adjust, exp_seg_adjust and exp_seg_done. (relro_enum): Rename exp_dataseg_relro_none, exp_dataseg_relro_start and exp_dataseg_relro_end to exp_seg_relro_none, exp_seg_relro_start and exp_seg_relro_end. (seg_align_type): New struct type. (ldexp_control): Use seg_align_type. * ldexp.c (fold_unary): Updated. (fold_binary): Likewise. * ldlang.c (strip_excluded_output_sections): Likewise. (lang_size_sections_1): Likewise. (lang_size_sections): Likewise.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r--ld/ChangeLog19
1 files changed, 19 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 5888e05219..0a39d74439 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,24 @@
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,
+ exp_dataseg_adjust and exp_dataseg_done to exp_seg_none,
+ exp_seg_align_seen, exp_seg_relro_seen, exp_seg_end_seen,
+ exp_seg_relro_adjust, exp_seg_adjust and exp_seg_done.
+ (relro_enum): Rename exp_dataseg_relro_none,
+ exp_dataseg_relro_start and exp_dataseg_relro_end to
+ exp_seg_relro_none, exp_seg_relro_start and exp_seg_relro_end.
+ (seg_align_type): New struct type.
+ (ldexp_control): Use seg_align_type.
+ * ldexp.c (fold_unary): Updated.
+ (fold_binary): Likewise.
+ * ldlang.c (strip_excluded_output_sections): Likewise.
+ (lang_size_sections_1): Likewise.
+ (lang_size_sections): Likewise.
+
+2017-11-12 H.J. Lu <hongjiu.lu@intel.com>
+
PR ld/22423
* testsuite/ld-alpha/tlsbin.rd: Replace "R E " with "R +" for
PT_PHDR segment.