diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2007-06-18 12:38:22 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2007-06-18 12:38:22 +0000 |
commit | 362c1d1a0446425c24bb3ea8738b3d3d56344228 (patch) | |
tree | ded9c05175ee5950cbbed0c71356d7b58457e21c /ld/ldlex.l | |
parent | 42ba7415ccca9cf6b16c7127362b665cd312be63 (diff) | |
download | gdb-362c1d1a0446425c24bb3ea8738b3d3d56344228.zip gdb-362c1d1a0446425c24bb3ea8738b3d3d56344228.tar.gz gdb-362c1d1a0446425c24bb3ea8738b3d3d56344228.tar.bz2 |
* ldlex.l, ldgram.y: Add ALIGNOF.
* ldexp.c (exp_print_token, foldname): Likewise.
* ld.texinfo: Likewise.
ld/testsuite/
* ld-scripts/alignof.s: New.
* ld-scripts/alignof.t: New
* ld-scripts/alignof.exp: New.
Diffstat (limited to 'ld/ldlex.l')
-rw-r--r-- | ld/ldlex.l | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -254,6 +254,7 @@ V_IDENTIFIER [*?.$_a-zA-Z\[\]\-\!\^\\]([*?.$_a-zA-Z0-9\[\]\-\!\^\\]|::)* <EXPRESSION,BOTH,SCRIPT>"DATA_SEGMENT_END" { RTOKEN(DATA_SEGMENT_END);} <EXPRESSION,BOTH,SCRIPT>"ADDR" { RTOKEN(ADDR);} <EXPRESSION,BOTH,SCRIPT>"LOADADDR" { RTOKEN(LOADADDR);} +<EXPRESSION,BOTH,SCRIPT>"ALIGNOF" { RTOKEN(ALIGNOF); } <EXPRESSION,BOTH>"MAX" { RTOKEN(MAX_K); } <EXPRESSION,BOTH>"MIN" { RTOKEN(MIN_K); } <EXPRESSION,BOTH,SCRIPT>"ASSERT" { RTOKEN(ASSERT_K); } |