Sorting direction of SORT_BY_ALIGNMENT
nick clifton
nickc@redhat.com
Tue Apr 30 12:54:00 GMT 2013
Hi Kwok,
> According to the ld manual (section 3.6.4.2): SORT_BY_ALIGNMENT will
> sort sections into ascending order by alignment before placing them in
> the output file.
This is a mistake in the documentation. I have checked in the patch
below to update the manual.
Cheers
Nick
ld/ChangeLog
2013-04-30 Nick Clifton <nickc@redhat.com>
* ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections
are sorted by descending order of alignment.
Index: ld/ld.texinfo
===================================================================
RCS file: /cvs/src/src/ld/ld.texinfo,v
retrieving revision 1.297
diff -u -3 -p -r1.297 ld.texinfo
--- ld/ld.texinfo 25 Mar 2013 18:09:04 -0000 1.297
+++ ld/ld.texinfo 30 Apr 2013 12:52:41 -0000
@@ -4031,7 +4031,7 @@ into ascending order by name before plac
@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
More information about the Binutils
mailing list