From 4818e05fe52eb069d4ae6b306a31b5ecf0e1a6fd Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 29 Sep 2001 12:57:54 +0000 Subject: From John Reiser * 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. --- ld/ld.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ld/ld.h') diff --git a/ld/ld.h b/ld/ld.h index fef40a5..68dfbdc 100644 --- a/ld/ld.h +++ b/ld/ld.h @@ -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. */ -- cgit v1.1