diff options
author | Nick Clifton <nickc@redhat.com> | 2024-05-10 16:59:05 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2024-05-10 16:59:05 +0100 |
commit | 6e8376fa569e62379a42b91b0afd1f4086f1d897 (patch) | |
tree | d9bddaa0a8b3b242ba063df4dbbee272220ea385 /ld/ldlang.h | |
parent | ad658482c1e4feec4ac99c8e7df17ff78d0c2996 (diff) | |
download | gdb-6e8376fa569e62379a42b91b0afd1f4086f1d897.zip gdb-6e8376fa569e62379a42b91b0afd1f4086f1d897.tar.gz gdb-6e8376fa569e62379a42b91b0afd1f4086f1d897.tar.bz2 |
Add --section-ordering command line option to the bfd linker.
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r-- | ld/ldlang.h | 5 |
1 files changed, 5 insertions, 0 deletions
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; |