* 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.
This commit is contained in:
Alan Modra
2001-09-29 12:57:54 +00:00
parent 862517b650
commit 4818e05fe5
8 changed files with 49 additions and 2 deletions

View File

@@ -102,6 +102,9 @@ typedef struct user_section_struct {
typedef struct {
/* 1 => assign space to common symbols even if `relocatable_output'. */
boolean force_common_definition;
/* 1 => do not assign addresses to common symbols. */
boolean inhibit_common_definition;
boolean relax;
/* Name of runtime interpreter to invoke. */