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 | b717d30eb550a5418757c32f232a01e7620f640d (patch) | |
tree | fa15733535e0ec54103ecceed09a391130d34616 /ld/ldlex.l | |
parent | 666ec76f414cd10124107b16e44a5a3f4f63d69c (diff) | |
download | gdb-b717d30eb550a5418757c32f232a01e7620f640d.zip gdb-b717d30eb550a5418757c32f232a01e7620f640d.tar.gz gdb-b717d30eb550a5418757c32f232a01e7620f640d.tar.bz2 |
* 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
@@ -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);} |