[PATCH v5 05/10] DIGEST: ldlex.l
binutils@emagii.com
binutils@emagii.com
Wed Feb 22 16:16:04 GMT 2023
From: Ulf Samuelsson <ulf@emagii.com>
Symbols for the following commands:
DIGEST "NAME" (start, end)
DIGEST POLY (size, polynome) (start, end)
DIGEST POLYI (size, polynome) (start, end)
DIGEST TABLE
DIGEST SECTION "NAME"
TIMESTAMP
DEBUG ON
DEBUG OFF
Signed-off-by: Ulf Samuelsson <ulf@emagii.com>
---
ld/ldlex.l | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/ld/ldlex.l b/ld/ldlex.l
index 910e7ea3b8b..420caee177c 100644
--- a/ld/ldlex.l
+++ b/ld/ldlex.l
@@ -298,6 +298,15 @@ V_IDENTIFIER [*?.$_a-zA-Z\[\]\-\!\^\\]([*?.$_a-zA-Z0-9\[\]\-\!\^\\]|::)*
<SCRIPT>"AFTER" { RTOKEN(AFTER); }
<SCRIPT>"BEFORE" { RTOKEN(BEFORE); }
<WILD>"FILL" { RTOKEN(FILL); }
+<WILD>"DIGEST" { RTOKEN(DIGEST); }
+<WILD>"POLY" { RTOKEN(POLY); }
+<WILD>"POLYI" { RTOKEN(POLYI); }
+<WILD>"SECTION" { RTOKEN(SECTION); }
+<WILD>"TABLE" { RTOKEN(TABLE); }
+<WILD>"TIMESTAMP" { RTOKEN(TIMESTAMP); }
+<WILD>"DEBUG" { RTOKEN(DEBUG); }
+<WILD>"ON" { RTOKEN(ON); }
+<WILD>"OFF" { RTOKEN(OFF); }
<SCRIPT>"STARTUP" { RTOKEN(STARTUP); }
<SCRIPT>"OUTPUT_FORMAT" { RTOKEN(OUTPUT_FORMAT); }
<SCRIPT>"OUTPUT_ARCH" { RTOKEN(OUTPUT_ARCH); }
--
2.34.1
More information about the Binutils
mailing list