diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-01-21 12:04:25 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-01-21 12:04:25 +0000 |
commit | 6008a341cb6a982bbba91e2d786c623ed8b34043 (patch) | |
tree | 7dadb5fd480548a8a6c3e784626e55cd4f2d6a7a /ld/ldlex.l | |
parent | 6134bb22426880acc2bde6c6bb2201d8c48edb73 (diff) | |
download | binutils-redhat-6008a341cb6a982bbba91e2d786c623ed8b34043.tar.gz |
* ldgram.y (AS_NEEDED): New token.
(input_list): Handle AS_NEEDED ( input_list ).
* ldlex.l (AS_NEEDED): Add.
* ld.texinfo: Document AS_NEEDED ().
* NEWS: Mention AS_NEEDED ().
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 d49c0852bc..70059e1408 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 Free Software Foundation, Inc. + 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of GLD, the Gnu Linker. @@ -269,6 +269,7 @@ V_IDENTIFIER [*?.$_a-zA-Z\[\]\-\!\^\\]([*?.$_a-zA-Z0-9\[\]\-\!\^\\]|::)* <BOTH,SCRIPT>"OUTPUT" { RTOKEN(OUTPUT);} <BOTH,SCRIPT>"INPUT" { RTOKEN(INPUT);} <EXPRESSION,BOTH,SCRIPT>"GROUP" { RTOKEN(GROUP);} +<EXPRESSION,BOTH,SCRIPT>"AS_NEEDED" { RTOKEN(AS_NEEDED);} <EXPRESSION,BOTH,SCRIPT>"DEFINED" { RTOKEN(DEFINED);} <BOTH,SCRIPT>"CREATE_OBJECT_SYMBOLS" { RTOKEN(CREATE_OBJECT_SYMBOLS);} <BOTH,SCRIPT>"CONSTRUCTORS" { RTOKEN( CONSTRUCTORS);} |