From 6e8376fa569e62379a42b91b0afd1f4086f1d897 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 10 May 2024 16:59:05 +0100 Subject: Add --section-ordering command line option to the bfd linker. --- ld/ldlang.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ld/ldlang.h') diff --git a/ld/ldlang.h b/ld/ldlang.h index ea1c26d..4c1bb00 100644 --- a/ld/ldlang.h +++ b/ld/ldlang.h @@ -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; -- cgit v1.1