aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2024-05-10 16:59:05 +0100
committerNick Clifton <nickc@redhat.com>2024-05-10 16:59:05 +0100
commit6e8376fa569e62379a42b91b0afd1f4086f1d897 (patch)
treed9bddaa0a8b3b242ba063df4dbbee272220ea385 /ld/ld.h
parentad658482c1e4feec4ac99c8e7df17ff78d0c2996 (diff)
downloadbinutils-6e8376fa569e62379a42b91b0afd1f4086f1d897.zip
binutils-6e8376fa569e62379a42b91b0afd1f4086f1d897.tar.gz
binutils-6e8376fa569e62379a42b91b0afd1f4086f1d897.tar.bz2
Add --section-ordering command line option to the bfd linker.
Diffstat (limited to 'ld/ld.h')
-rw-r--r--ld/ld.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/ld.h b/ld/ld.h
index fcdd9a2..0dee944 100644
--- a/ld/ld.h
+++ b/ld/ld.h
@@ -196,6 +196,9 @@ typedef struct
/* Default linker script. */
char *default_script;
+
+ /* Linker script fragment provided by the --section-order command line option. */
+ char *section_ordering_file;
} args_type;
extern args_type command_line;
@@ -325,6 +328,7 @@ extern ld_config_type config;
extern FILE * saved_script_handle;
extern bool force_make_executable;
+extern bool in_section_ordering;
extern int yyparse (void);
extern void add_cref (const char *, bfd *, asection *, bfd_vma);