aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-06-15 06:01:45 +0000
committerIan Lance Taylor <ian@airs.com>1994-06-15 06:01:45 +0000
commitc96386c4d8bd690856b5742cd783492e8ec9e806 (patch)
treebd37184b62542a4e36b855e676e8d6a9d3f40c3b /ld/ld.h
parentd17fc4c99039eaf3ef4cd5955395f78c77eb4737 (diff)
downloadgdb-c96386c4d8bd690856b5742cd783492e8ec9e806.zip
gdb-c96386c4d8bd690856b5742cd783492e8ec9e806.tar.gz
gdb-c96386c4d8bd690856b5742cd783492e8ec9e806.tar.bz2
* ld.h (ld_config_type): Add new field traditional_format.
* lexsup.c (parse_args): Add traditional_format to longopts, and handle it. * ldmain.c (main): Initialize config.traditional_format to false. * ldlang.c (ldlang_open_output): Set BFD_TRADITIONAL_FORMAT in BFD flags of output_bfd according to config.traditional_format. * ld.texinfo: Document -traditional-format.
Diffstat (limited to 'ld/ld.h')
-rw-r--r--ld/ld.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/ld.h b/ld/ld.h
index 2ab94f6..ff654a6 100644
--- a/ld/ld.h
+++ b/ld/ld.h
@@ -61,6 +61,9 @@ typedef struct
boolean magic_demand_paged;
boolean make_executable;
+ /* If true, request BFD to use the traditional format. */
+ boolean traditional_format;
+
/* If true, doing a dynamic link. */
boolean dynamic_link;