aboutsummaryrefslogtreecommitdiff
path: root/ld/ldfile.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/ldfile.h
parentad658482c1e4feec4ac99c8e7df17ff78d0c2996 (diff)
downloadgdb-6e8376fa569e62379a42b91b0afd1f4086f1d897.zip
gdb-6e8376fa569e62379a42b91b0afd1f4086f1d897.tar.gz
gdb-6e8376fa569e62379a42b91b0afd1f4086f1d897.tar.bz2
Add --section-ordering command line option to the bfd linker.
Diffstat (limited to 'ld/ldfile.h')
-rw-r--r--ld/ldfile.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/ld/ldfile.h b/ld/ldfile.h
index f17677e..f79abf2 100644
--- a/ld/ldfile.h
+++ b/ld/ldfile.h
@@ -29,7 +29,8 @@ extern const char *ldfile_output_machine_name;
/* Structure used to hold the list of directories to search for
libraries. */
-typedef struct search_dirs {
+typedef struct search_dirs
+{
/* Next directory on list. */
struct search_dirs *next;
/* Name of directory. */
@@ -38,6 +39,22 @@ typedef struct search_dirs {
bool cmdline;
} search_dirs_type;
+enum script_open_style
+{
+ script_nonT,
+ script_T,
+ script_defaultT
+};
+
+struct script_name_list
+{
+ struct script_name_list * next;
+ enum script_open_style open_how;
+ char name[1];
+};
+
+extern struct script_name_list * processed_scripts;
+
extern search_dirs_type *search_head;
extern void ldfile_add_arch