Add SORT_BY_INIT_PRIORITY.
[deliverable/binutils-gdb.git] / ld / ld.texinfo
index 4c58e4855c9999cb4e8f065f34a08a130b7fe64a..6d36dfb63ddb60a8fd22779b2af028b9ba22b403 100644 (file)
@@ -3911,6 +3911,12 @@ into ascending order by name before placing them in the output file.
 difference is @code{SORT_BY_ALIGNMENT} will sort sections into
 ascending 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
+difference is @code{SORT_BY_INIT_PRIORITY} will sort sections into
+ascending order by numerical value of the GCC init_priority attribute
+encoded in the section name before placing them in the output file.
+
 @cindex SORT
 @code{SORT} is an alias for @code{SORT_BY_NAME}.
 
This page took 0.025277 seconds and 4 git commands to generate.