diff options
author | Tristan Gingold <tristan.gingold@adacore.com> | 2014-09-17 10:43:00 +0200 |
---|---|---|
committer | Tristan Gingold <tristan.gingold@adacore.com> | 2014-09-17 10:43:00 +0200 |
commit | 2569ceb0b02cc5569af5f946d89b578510ac5ea1 (patch) | |
tree | ca9b8c545086517e18e1d12f188084dec6861764 /gas | |
parent | a594760181bc3859df1f19e3cca361ad7d031bd9 (diff) | |
download | binutils-2569ceb0b02cc5569af5f946d89b578510ac5ea1.tar.gz binutils-2569ceb0b02cc5569af5f946d89b578510ac5ea1.tar.bz2 binutils-2569ceb0b02cc5569af5f946d89b578510ac5ea1.zip |
Fix arm-elf build failure on non-C99 systems (was using int64_t)
gas/
* config/tc-arm.c (move_or_literal_pool, add_to_lit_pool): Use
bfd_int64_t instead of int64_t.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index cb9a2006226..a01b41e1cdf 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2014-09-17 Tristan Gingold <gingold@adacore.com> + + * config/tc-arm.c (move_or_literal_pool, add_to_lit_pool): Use + bfd_int64_t instead of int64_t. + 2014-09-16 Ilya Tocar <ilya.tocar@intel.com> * config/tc-i386.c (evexrcig): New. diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index cd3db2b13f2..5077f87ea4f 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -3200,7 +3200,7 @@ add_to_lit_pool (unsigned int nbytes) imm1 = inst.operands[1].imm; imm2 = (inst.operands[1].regisimm ? inst.operands[1].reg : inst.reloc.exp.X_unsigned ? 0 - : ((int64_t) inst.operands[1].imm) >> 32); + : ((bfd_int64_t) inst.operands[1].imm) >> 32); if (target_big_endian) { imm1 = imm2; @@ -7812,7 +7812,7 @@ move_or_literal_pool (int i, enum lit_type t, bfd_boolean mode_3) ? inst.operands[1].reg : inst.reloc.exp.X_unsigned ? 0 - : ((int64_t)((int) immlo)) >> 32; + : ((bfd_int64_t)((int) immlo)) >> 32; int cmode = neon_cmode_for_move_imm (immlo, immhi, FALSE, &immbits, &op, 64, NT_invtype); |