diff options
author | Nick Clifton <nickc@redhat.com> | 2023-11-01 13:51:17 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2023-11-01 13:51:17 +0000 |
commit | 85921e9a2588bf4820b827fc1630f5d7da22cb1c (patch) | |
tree | fb6aeb7e8af93f947d5930d90cfcc3e41812e4d7 /ld/ChangeLog | |
parent | f514e6e48061661cacfc980cd5272fd99887d38b (diff) |
ld: Support input section description keyword: REVERSE
PR 27565
* ldlex.l: Add REVERSE.
* ldgram.y: Allow REVERSE to be used wherever a sorting command can be used.
* ld.h (struct wildcard_spec): Add 'reversed' field.
* ldlang.h (lang_wild_statement_struct): Add 'filenames_reversed' field.
* ldlang.c (compare_sections): Add reversed parameter. (wild_sort): Reverse the comparison if requested. (print_wild_statement): Handle the reversed field.
* ld.texi: Document the new feature.
* NEWS: Mention the new feature.
* testsuite/ld-scripts/sort-file-reversed-1.d: New test driver.
* testsuite/ld-scripts/sort-file-reversed-1.t: New test source.
* testsuite/ld-scripts/sort-file-reversed-2.t: New test source.
* testsuite/ld-scripts/sort-file-reversed-2.d: New test driver.
* testsuite/ld-scripts/sort-sections-reversed-1.d: New test driver.
* testsuite/ld-scripts/sort-sections-reversed-1.t: New test source.
* testsuite/ld-scripts/sort-sections-reversed-2.t: New test source.
* testsuite/ld-scripts/sort-sections-reversed-2.d: New test driver.
* testsuite/ld-scripts/sort-sections-reversed-3.d: New test driver.
* testsuite/ld-scripts/sort-sections-reversed-3.t: New test source.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 49c73eb9f36..95f4712453a 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,27 @@ +2023-11-01 Nick Clifton <nickc@redhat.com> + + PR 27565 + * ldlex.l: Add REVERSE. + * ldgram.y: Allow REVERSE to be used wherever a sorting command + can be used. + * ld.h (struct wildcard_spec): Add 'reversed' field. + * ldlang.h (lang_wild_statement_struct): Add 'filenames_reversed' field. + * ldlang.c (compare_sections): Add reversed parameter. + (wild_sort): Reverse the comparison if requested. + (print_wild_statement): Handle the reversed field. + * ld.texi: Document the new feature. + * NEWS: Mention the new feature. + * testsuite/ld-scripts/sort-file-reversed-1.d: New test driver. + * testsuite/ld-scripts/sort-file-reversed-1.t: New test source. + * testsuite/ld-scripts/sort-file-reversed-2.t: New test source. + * testsuite/ld-scripts/sort-file-reversed-2.d: New test driver. + * testsuite/ld-scripts/sort-sections-reversed-1.d: New test driver. + * testsuite/ld-scripts/sort-sections-reversed-1.t: New test source. + * testsuite/ld-scripts/sort-sections-reversed-2.t: New test source. + * testsuite/ld-scripts/sort-sections-reversed-2.d: New test driver. + * testsuite/ld-scripts/sort-sections-reversed-3.d: New test driver. + * testsuite/ld-scripts/sort-sections-reversed-3.t: New test source. + 2023-10-30 Nick Clifton <nickc@redhat.com> * po/ka.po: New Georgian translation. |