Add --section-ordering command line option to the bfd linker.

This commit is contained in:
Nick Clifton
2024-05-10 16:59:05 +01:00
parent ad658482c1
commit 6e8376fa56
22 changed files with 462 additions and 65 deletions

View File

@@ -141,7 +141,12 @@ typedef struct lang_output_section_phdr_list
typedef struct lang_output_section_statement_struct
{
lang_statement_header_type header;
/* Input sections to be mapped to this output section. */
lang_statement_list_type children;
/* Input sections to be mapped to the start of this output section.
These sections are provided by the --section-ordering file, if used. */
lang_statement_list_type sort_children;
struct lang_output_section_statement_struct *next;
struct lang_output_section_statement_struct *prev;
const char *name;