gas/arc: Use BFD_VMA_FMT for printf format specifier
authorAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 4 May 2016 13:11:11 +0000 (14:11 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 18 May 2016 21:24:25 +0000 (22:24 +0100)
commit9e32d9ae97bf54078f993955a7de2f5a9247c497
tree148206e73503f6206f4f777f52d36d36a76bc83a
parentfe779266b39080e49b04e61160e6af8be439c182
gas/arc: Use BFD_VMA_FMT for printf format specifier

Some debug code has the wrong printf format specifier for some types
that are (ultimately) bfd_vma.  Fixed by using BFD_VMA_FMT string.  This
only becomes an issue when building the tc-arc.c file with -DDEBUG=1 to
build in the debug code.

gas/ChangeLog:

* config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
appropriate.
(md_convert_frag): Likewise.
gas/ChangeLog
gas/config/tc-arc.c