summaryrefslogtreecommitdiff
path: root/ld/ldlex.l
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-09-29 12:57:54 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-09-29 12:57:54 +0000
commitdd6c6ef513e00c793186b6c32633881ea2576007 (patch)
tree3fa23798aacfba1028172babdbec6b6103cf16cb /ld/ldlex.l
parentf5de3ab5ceed5fb6e52065c5af82c345b20eeed5 (diff)
downloadbinutils-redhat-dd6c6ef513e00c793186b6c32633881ea2576007.tar.gz
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/ldlex.l')
-rw-r--r--ld/ldlex.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldlex.l b/ld/ldlex.l
index eebb950bb3..b43cfa3187 100644
--- a/ld/ldlex.l
+++ b/ld/ldlex.l
@@ -260,6 +260,7 @@ V_IDENTIFIER [*?.$_a-zA-Z]([*?.$_a-zA-Z0-9]|::)*
<BOTH,SCRIPT>"CREATE_OBJECT_SYMBOLS" { RTOKEN(CREATE_OBJECT_SYMBOLS);}
<BOTH,SCRIPT>"CONSTRUCTORS" { RTOKEN( CONSTRUCTORS);}
<BOTH,SCRIPT>"FORCE_COMMON_ALLOCATION" { RTOKEN(FORCE_COMMON_ALLOCATION);}
+<BOTH,SCRIPT>"INHIBIT_COMMON_ALLOCATION" { RTOKEN(INHIBIT_COMMON_ALLOCATION);}
<BOTH,SCRIPT>"SECTIONS" { RTOKEN(SECTIONS);}
<BOTH,SCRIPT>"FILL" { RTOKEN(FILL);}
<BOTH,SCRIPT>"STARTUP" { RTOKEN(STARTUP);}