From 1ae5c3ae9bdb914f7388f692052d34197ebfa4a5 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 30 Apr 2013 12:52:58 +0000 Subject: [PATCH] * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections are sorted by descending order of alignment. --- ld/ChangeLog | 5 +++++ ld/ld.texinfo | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 7317e438824..2c5a4c77c4a 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2013-04-30 Nick Clifton + + * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections + are sorted by descending order of alignment. + 2013-04-29 Nick Clifton * scripttempl/DWARF.sc: Add support for .debug_line.* and diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 79591c7f7f8..48ae4bf8ca0 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -4031,7 +4031,7 @@ into ascending order by name before placing them in the output file. @cindex SORT_BY_ALIGNMENT @code{SORT_BY_ALIGNMENT} is very similar to @code{SORT_BY_NAME}. The difference is @code{SORT_BY_ALIGNMENT} will sort sections into -ascending order by alignment before placing them in the output file. +descending order by alignment before placing them in the output file. @cindex SORT_BY_INIT_PRIORITY @code{SORT_BY_INIT_PRIORITY} is very similar to @code{SORT_BY_NAME}. The @@ -4048,11 +4048,11 @@ can be at most 1 level of nesting for section sorting commands. @enumerate @item @code{SORT_BY_NAME} (@code{SORT_BY_ALIGNMENT} (wildcard section pattern)). -It will sort the input sections by name first, then by alignment if 2 +It will sort the input sections by name first, then by alignment if two sections have the same name. @item @code{SORT_BY_ALIGNMENT} (@code{SORT_BY_NAME} (wildcard section pattern)). -It will sort the input sections by alignment first, then by name if 2 +It will sort the input sections by alignment first, then by name if two sections have the same alignment. @item @code{SORT_BY_NAME} (@code{SORT_BY_NAME} (wildcard section pattern)) is -- 2.30.2