aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlex.l
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-07-27 11:58:28 +0000
committerAlan Modra <amodra@gmail.com>2003-07-27 11:58:28 +0000
commit7e7d57681b2ef3593d29069fb0b77d7daadc3fad (patch)
tree2398c37f556c404e3b78bd3b2113a1f34f378f36 /ld/ldlex.l
parent5d35169e36b4fffc737ea015723e034c9efd7906 (diff)
downloadgdb-7e7d57681b2ef3593d29069fb0b77d7daadc3fad.zip
gdb-7e7d57681b2ef3593d29069fb0b77d7daadc3fad.tar.gz
gdb-7e7d57681b2ef3593d29069fb0b77d7daadc3fad.tar.bz2
* ld.texinfo: Typo fixes. Document SUBALIGN.
* ldgram.y (opt_subalign): Add. * ldlex.l (SUBALIGN): Recognize. * ldlang.c (overlay_subalign): New var. (lang_enter_overlay): Add subalign param. (lang_enter_overlay_section): Pass overlay_subalign to lang_enter_output_section_statement. * ldlang.h (lang_enter_overlay): Update.
Diffstat (limited to 'ld/ldlex.l')
-rw-r--r--ld/ldlex.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldlex.l b/ld/ldlex.l
index b55ebe7..b52e1cf 100644
--- a/ld/ldlex.l
+++ b/ld/ldlex.l
@@ -306,6 +306,7 @@ V_IDENTIFIER [*?.$_a-zA-Z\[\]\-\!\^]([*?.$_a-zA-Z0-9\[\]\-\!\^]|::)*
<BOTH,SCRIPT>"INCLUDE" { RTOKEN(INCLUDE);}
<BOTH,SCRIPT>"PHDRS" { RTOKEN (PHDRS); }
<EXPRESSION,BOTH,SCRIPT>"AT" { RTOKEN(AT);}
+<EXPRESSION,BOTH,SCRIPT>"SUBALIGN" { RTOKEN(SUBALIGN);}
<EXPRESSION,BOTH,SCRIPT>"PROVIDE" { RTOKEN(PROVIDE); }
<EXPRESSION,BOTH,SCRIPT>"KEEP" { RTOKEN(KEEP); }
<EXPRESSION,BOTH,SCRIPT>"EXCLUDE_FILE" { RTOKEN(EXCLUDE_FILE); }