diff options
Diffstat (limited to 'gold/output.h')
-rw-r--r-- | gold/output.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gold/output.h b/gold/output.h index 77222376e2e..1bcdfea1fac 100644 --- a/gold/output.h +++ b/gold/output.h @@ -4202,7 +4202,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&, |