aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-09-29 12:57:54 +0000
committerAlan Modra <amodra@gmail.com>2001-09-29 12:57:54 +0000
commit4818e05fe52eb069d4ae6b306a31b5ecf0e1a6fd (patch)
tree20bd3d7ae9a352be8c4003ccf8f4b855c3d1891a /ld/ldmain.c
parent862517b6506a76ce9dc0e06b8f1d98577371e3b4 (diff)
downloadgdb-4818e05fe52eb069d4ae6b306a31b5ecf0e1a6fd.zip
gdb-4818e05fe52eb069d4ae6b306a31b5ecf0e1a6fd.tar.gz
gdb-4818e05fe52eb069d4ae6b306a31b5ecf0e1a6fd.tar.bz2
From John Reiser <jreiser@BitWagon.com>
* ldlang.c (lang_common): Conditionally inhibit Common allocation. * lexsup.c: Add --no-define-common commandline option. * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command. * ldlex.l: Likewise. * ld.h: Add command_line.inhibit_common_definition. * ldmain.c (main): Initialize. * ld.texinfo: Document.
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 e31f276..65db442 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -205,6 +205,7 @@ main (argc, argv)
config.split_by_reloc = (unsigned) -1;
config.split_by_file = (bfd_size_type) -1;
command_line.force_common_definition = false;
+ command_line.inhibit_common_definition = false;
command_line.interpreter = NULL;
command_line.rpath = NULL;
command_line.warn_mismatch = true;