aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-bsd-tdep.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-08-14 09:32:35 +0930
committerAlan Modra <amodra@gmail.com>2021-08-14 09:54:48 +0930
commit4ffb22ec4040030ea36829c74076f35b3ca0872a (patch)
tree16484472ec9b5cdaf746debdd2f62cb499f94406 /gdb/hppa-bsd-tdep.c
parent96ddc891f296b9a5f4a2e6788adb38d93b1e14ca (diff)
downloadgdb-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 'gdb/hppa-bsd-tdep.c')
0 files changed, 0 insertions, 0 deletions