Eat newlines inside INPUT statements in linker scripts
ld/ PR ld/18344 * ldlex.l (INPUTLIST): Increment lineno on newline.
This commit is contained in:
parent
cea6e4f13a
commit
a13eab064f
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2015-04-28 Andreas Schwab <schwab@linux-m68k.org>
|
||||
|
||||
PR ld/18344
|
||||
* ldlex.l (INPUTLIST): Increment lineno on newline.
|
||||
|
||||
2015-04-24 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
|
||||
|
|
|
@ -450,7 +450,7 @@ V_IDENTIFIER [*?.$_a-zA-Z\[\]\-\!\^\\]([*?.$_a-zA-Z0-9\[\]\-\!\^\\]|::)*
|
|||
return *yytext;
|
||||
}
|
||||
|
||||
<VERS_START,VERS_NODE,VERS_SCRIPT>[\n] { lineno++; }
|
||||
<VERS_START,VERS_NODE,VERS_SCRIPT,INPUTLIST>[\n] { lineno++; }
|
||||
|
||||
<VERS_START,VERS_NODE,VERS_SCRIPT>#.* { /* Eat up comments */ }
|
||||
|
||||
|
|
Loading…
Reference in a new issue