diff options
author | Alan Modra <amodra@gmail.com> | 2001-09-29 12:57:54 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-09-29 12:57:54 +0000 |
commit | 4818e05fe52eb069d4ae6b306a31b5ecf0e1a6fd (patch) | |
tree | 20bd3d7ae9a352be8c4003ccf8f4b855c3d1891a /ld/ldlang.c | |
parent | 862517b6506a76ce9dc0e06b8f1d98577371e3b4 (diff) | |
download | fsf-binutils-gdb-4818e05fe52eb069d4ae6b306a31b5ecf0e1a6fd.zip fsf-binutils-gdb-4818e05fe52eb069d4ae6b306a31b5ecf0e1a6fd.tar.gz fsf-binutils-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/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index 1b63468..d463d7b 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -3550,6 +3550,8 @@ lang_check () static void lang_common () { + if (command_line.inhibit_common_definition) + return; if (link_info.relocateable && ! command_line.force_common_definition) return; |