[ARM] Update selected_cpu based on info got during parsing
authorJiong Wang <jiong.wang@arm.com>
Tue, 26 Aug 2014 15:18:36 +0000 (16:18 +0100)
committerJiong Wang <jiong.wang@arm.com>
Tue, 26 Aug 2014 15:18:36 +0000 (16:18 +0100)
commit7f78eb340a4b3f46d842058cd26aad7ffa438c16
tree03c549894993bfb986fe1fd7591112646d3d43c3
parent614b09cefb3bafa840fe5ed06c58024b0ff9c1cb
[ARM] Update selected_cpu based on info got during parsing

  gas/
    * config/tc-arm.c (aeabi_set_public_attributes): Update intended_arch based
    on the info we got during parsing.
    (arm_handle_align): Make sure the p2align expanding logic under thumb
    unchanged.

  gas/testsuite/
    * gas/arm/blx-bl-convert.d: New testcase.
    * gas/arm/blx-bl-convert.l: Warning expectation.
    * gas/arm/blx-bl-convert.s: Source file.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/blx-bl-convert.d [new file with mode: 0644]
gas/testsuite/gas/arm/blx-bl-convert.l [new file with mode: 0644]
gas/testsuite/gas/arm/blx-bl-convert.s [new file with mode: 0644]