aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2022-08-24 17:08:07 +0100
committerRichard Earnshaw <rearnsha@arm.com>2022-08-24 17:08:07 +0100
commita37854f9162fac592b669eda53f465fc190c9341 (patch)
treea7044b2aa6e637b6b2dbaa3d74a03125b35e1df8 /ld
parent70175292616118bad315296ba6180f375326bb6c (diff)
downloadgdb-a37854f9162fac592b669eda53f465fc190c9341.zip
gdb-a37854f9162fac592b669eda53f465fc190c9341.tar.gz
gdb-a37854f9162fac592b669eda53f465fc190c9341.tar.bz2
gas: arm: handle multiple .directives on a single line (PR29519)
There's been a long-standing bug in the arm backend where target-specific directives did not correctly handle lines with multiple statements. This patch fixes the issue for all the cases I've been able to find. It does result in a slight change in behaviour when errors are encountered: where, previously, .cpu arm6 bar would result in the error "junk at end of line, first unrecognized character is `b'", we now get "unknown cpu `arm6 bar'", which I think is slightly more helpful anyway. Similar errors are generated for other directives.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions