diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2022-08-24 17:08:07 +0100 |
---|---|---|
committer | Richard Earnshaw <rearnsha@arm.com> | 2022-08-24 17:08:07 +0100 |
commit | a37854f9162fac592b669eda53f465fc190c9341 (patch) | |
tree | a7044b2aa6e637b6b2dbaa3d74a03125b35e1df8 /ld | |
parent | 70175292616118bad315296ba6180f375326bb6c (diff) | |
download | gdb-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