Fix PRU GAS for 32-bit hosts
authorDimitar Dimitrov <dimitar@dinux.eu>
Mon, 2 Jan 2017 16:20:21 +0000 (18:20 +0200)
committerAlan Modra <amodra@gmail.com>
Tue, 3 Jan 2017 07:10:44 +0000 (17:40 +1030)
commitddb2c6fdfc79e83af07ebdc93bdd17fe1eede8e7
tree60073953a1ef5ad44e2c49fd1fef4c2f8e33be91
parent27c3ce29f8920270ca2ed9b533ead5c8ebff215e
Fix PRU GAS for 32-bit hosts

The PRU GAS port I originally submitted does not build on 32bit hosts.
This patch fixes it by aligning md_number_to_chars's definition with
the global declaration in tc.h.

Here is the original bug report I got:
  https://github.com/rcn-ee/repos/pull/23#issuecomment-269915175

* config/tc-pru.c (md_number_to_chars): Fix parameter to be
valueT, as declared in tc.h.
(md_apply_fix): Fix to work on 32-bit hosts.

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
gas/ChangeLog
gas/config/tc-pru.c