aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
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/ldmain.c
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/ldmain.c')
-rw-r--r--ld/ldmain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index 3109bbb..bfe74f0 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -158,6 +158,7 @@ main (argc, argv)
/* Initialize the data about options. */
trace_files = trace_file_tries = version_printed = false;
+ config.traditional_format = false;
config.build_constructors = true;
config.dynamic_link = false;
command_line.force_common_definition = false;