diff options
author | Alan Modra <amodra@gmail.com> | 2021-08-14 09:32:35 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-08-14 09:54:48 +0930 |
commit | 4ffb22ec4040030ea36829c74076f35b3ca0872a (patch) | |
tree | 16484472ec9b5cdaf746debdd2f62cb499f94406 /config/mt-spu | |
parent | 96ddc891f296b9a5f4a2e6788adb38d93b1e14ca (diff) | |
download | gdb-4ffb22ec4040030ea36829c74076f35b3ca0872a.zip gdb-4ffb22ec4040030ea36829c74076f35b3ca0872a.tar.gz gdb-4ffb22ec4040030ea36829c74076f35b3ca0872a.tar.bz2 |
ld script fill pattern expression
It turns out we do need to backtrack when parsing after all. The
fill_opt component in the section rule swiches to EXPRESSION and back
to SCRIPT, and to find the end of an expression it is necessary to
look ahead one token.
* ldgram.y (section): Throw away lookahead NAME token.
(overlay_section): Likewise.
* testsuite/ld-elf/overlay.t: Add fill pattern on overlays.
Test fill pattern before stupidly named normal sections too,
and before /DISCARD/.
Diffstat (limited to 'config/mt-spu')
0 files changed, 0 insertions, 0 deletions