diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-08-02 19:01:58 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-08-02 19:01:58 +0000 |
commit | 5735ac9e57fe37d7984e6f71d551f9b0ebd87721 (patch) | |
tree | 4971d92383158bd9e10a126d93be8b9406c40fe6 /ld/ldlex.l | |
parent | 10a14e3639d6b655afd296809ec4102e1ba26b7f (diff) | |
download | gdb-5735ac9e57fe37d7984e6f71d551f9b0ebd87721.zip gdb-5735ac9e57fe37d7984e6f71d551f9b0ebd87721.tar.gz gdb-5735ac9e57fe37d7984e6f71d551f9b0ebd87721.tar.bz2 |
* ldgram.y (LOADADDR): New terminal.
(exp): Handle LOADADDR.
* ldlex.l: Recognize LOADADDR.
* ldexp.c (exp_print_token): Add LOADADDR.
(fold_name): Implement LOADADDR.
* ldlang.c (exp_init_os): Treat LOADADDR like ADDR.
* ld.texinfo (Arithmetic Functions): Document LOADADDR.
Diffstat (limited to 'ld/ldlex.l')
-rw-r--r-- | ld/ldlex.l | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -228,6 +228,7 @@ NOCFILENAMECHAR [_a-zA-Z0-9\/\.\-\_\+\$\:\[\]\\\~] <BOTH,SCRIPT>"LENGTH" { RTOKEN(LENGTH);} <EXPRESSION,BOTH,SCRIPT>"ALIGN" { RTOKEN(ALIGN_K);} <EXPRESSION,BOTH,SCRIPT>"ADDR" { RTOKEN(ADDR);} +<EXPRESSION,BOTH,SCRIPT>"LOADADDR" { RTOKEN(LOADADDR);} <BOTH,SCRIPT>"ENTRY" { RTOKEN(ENTRY);} <EXPRESSION,BOTH,SCRIPT>"NEXT" { RTOKEN(NEXT);} <EXPRESSION,BOTH,SCRIPT>"sizeof_headers" { RTOKEN(SIZEOF_HEADERS);} |