diff options
Diffstat (limited to 'binutils-2.23/gold/output.h')
-rw-r--r-- | binutils-2.23/gold/output.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/binutils-2.23/gold/output.h b/binutils-2.23/gold/output.h index 553d76a..02c613c 100644 --- a/binutils-2.23/gold/output.h +++ b/binutils-2.23/gold/output.h @@ -4001,7 +4001,15 @@ class Output_section : public Output_data // This is the sort comparison function for .text to sort sections with // prefixes .text.{unlikely,exit,startup,hot} before other sections. - struct Input_section_sort_section_name_special_ordering_compare + struct Input_section_sort_section_prefix_special_ordering_compare + { + bool + operator()(const Input_section_sort_entry&, + const Input_section_sort_entry&) const; + }; + + // This is the sort comparison function for sorting sections by name. + struct Input_section_sort_section_name_compare { bool operator()(const Input_section_sort_entry&, |