diff options
author | Ulf Samuelsson <ulf@emagii.com> | 2023-02-14 10:13:28 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2023-02-14 10:13:28 +0000 |
commit | 0d79a2a8e2d91fc258ac795c19c13e3ab505a6c2 (patch) | |
tree | 6d366ae54f94ded995f08e3f2ea8ac47aa542de5 /ld/ldlex.l | |
parent | 12ef68305572ed139825be827b2bb1d1aef3ca25 (diff) | |
download | gdb-0d79a2a8e2d91fc258ac795c19c13e3ab505a6c2.zip gdb-0d79a2a8e2d91fc258ac795c19c13e3ab505a6c2.tar.gz gdb-0d79a2a8e2d91fc258ac795c19c13e3ab505a6c2.tar.bz2 |
ASCIZ Command for output section
Adds a new directive to the linker script syntax: ASCIZ.
This inserts a zero-terminated string into the output at the place where it is used.
Diffstat (limited to 'ld/ldlex.l')
-rw-r--r-- | ld/ldlex.l | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -309,6 +309,7 @@ V_IDENTIFIER [*?.$_a-zA-Z\[\]\-\!\^\\]([*?.$_a-zA-Z0-9\[\]\-\!\^\\]|::)* <WILD>"LONG" { RTOKEN(LONG); } <WILD>"SHORT" { RTOKEN(SHORT); } <WILD>"BYTE" { RTOKEN(BYTE); } +<WILD>"ASCIZ" { RTOKEN(ASCIZ); } <SCRIPT>"NOFLOAT" { RTOKEN(NOFLOAT); } <SCRIPT,EXPRESSION>"NOCROSSREFS" { RTOKEN(NOCROSSREFS); } <SCRIPT,EXPRESSION>"NOCROSSREFS_TO" { RTOKEN(NOCROSSREFS_TO); } |