gas/arm: Force output of a data mapping symbol for literal pools
authorWill Newton <will.newton@linaro.org>
Fri, 4 Apr 2014 09:07:06 +0000 (10:07 +0100)
committerWill Newton <will.newton@linaro.org>
Wed, 23 Apr 2014 12:54:59 +0000 (13:54 +0100)
commit47fc6e36e3863545a6225034d97f64760fffae05
treed1b2248945150582dcd7693a58e789e305eee366
parent7d64c587c15f290d228ca550bb288d53f0eb2ac4
gas/arm: Force output of a data mapping symbol for literal pools

If there is a a trailing align statement in a code section we may
output data padding with a data mapping followed by a code alignment
with a code mapping. The literal pool may then be output with a code
mapping symbol which will cause it to be endian swapped in a big-endian
configuration. When outputting a literal pool make sure that a data
mapping symbol is output in all cases.

gas/ChangeLog:

2014-04-23  Will Newton  <will.newton@linaro.org>

* config/tc-arm.c (s_ltorg): Call make_mapping_symbol
directly instead of mapping_state.

gas/testsuite/ChangeLog:

2014-04-23  Will Newton  <will.newton@linaro.org>

* gas/arm/mapmisc.d: Check literal pool mapping with
a trailing .align statement.
* gas/arm/mapmisc.s: Likewise.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/mapmisc.d
gas/testsuite/gas/arm/mapmisc.s
This page took 0.026202 seconds and 4 git commands to generate.