diff options
author | Nick Clifton <nickc@redhat.com> | 2009-03-02 17:27:36 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-03-02 17:27:36 +0000 |
commit | 401c06ad82ae1800dabe724367a1c81907f8b222 (patch) | |
tree | a7e64b53083e50fed69d3ea8406a912a58d82cf3 /ld/ldlex.l | |
parent | 113c677d30ff90c879f211f4a138104cba3601cc (diff) | |
download | binutils-redhat-401c06ad82ae1800dabe724367a1c81907f8b222.tar.gz |
* ldgram.y: Add support for REGION_ALIAS operator.
* ldlang.c: Likewise.
* ldlang.h: Likewise.
* ldlex.l: Likewise.
* NEWS: Mention the new feature.
* ld.texinfo: Document the new feature.
* ld-scripts/regions-alias-1.t: New file.
* ld-scripts/regions-alias-2.t: New file.
* ld-scripts/regions-alias-3.t: New file.
* ld-scripts/regions-alias-4.t: New file.
* ld-scripts/script.exp: Run region alias tests.
Diffstat (limited to 'ld/ldlex.l')
-rw-r--r-- | ld/ldlex.l | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/ldlex.l b/ld/ldlex.l index aa06d5460d..48309027db 100644 --- a/ld/ldlex.l +++ b/ld/ldlex.l @@ -1,7 +1,7 @@ %{ /* Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002, 2003, 2004, 2005, 2007 + 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2009 Free Software Foundation, Inc. Written by Steve Chamberlain of Cygnus Support. @@ -239,6 +239,7 @@ V_IDENTIFIER [*?.$_a-zA-Z\[\]\-\!\^\\]([*?.$_a-zA-Z0-9\[\]\-\!\^\\]|::)* <BOTH,SCRIPT,EXPRESSION,MRI>":" { RTOKEN(':'); } <BOTH,SCRIPT,EXPRESSION,MRI>";" { RTOKEN(';');} <BOTH,SCRIPT>"MEMORY" { RTOKEN(MEMORY);} +<BOTH,SCRIPT>"REGION_ALIAS" { RTOKEN(REGION_ALIAS);} <BOTH,SCRIPT,EXPRESSION>"ORIGIN" { RTOKEN(ORIGIN);} <BOTH,SCRIPT>"VERSION" { RTOKEN(VERSIONK);} <EXPRESSION,BOTH,SCRIPT>"BLOCK" { RTOKEN(BLOCK);} |