Make fixup fx_where unsigned
authorAlan Modra <amodra@gmail.com>
Tue, 16 Apr 2019 01:40:44 +0000 (11:10 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 16 Apr 2019 07:43:04 +0000 (17:13 +0930)
commit90bd3c903fe76a8a3a5ced98c76e4366c5a0948f
tree883b93e7f2f76a5fdd2e8eabe16e3a5ae831dc4f
parent871a6bd2d852b0fb677386e1be78c3f4c6939b48
Make fixup fx_where unsigned

Another field that only stores unsigned values.

* write.h (struct fix <fx_where>): Make unsigned.
(fix_new, fix_at_start, fix_new_exp): Adjust prototypes.
* write.c (fix_new, fix_new_exp, fix_at_start): Make "where" and
"size" parameters unsigned long.
(fix_new_internal): Likewise.  Adjust error format string to suit.
* config/tc-mips.c (md_convert_frag): Remove cast of fx_where.
* config/tc-sparc.c (md_apply_fix): Likewise.
* config/tc-score.c (s3_convert_frag): Adjust for unsigned fx_where.
* config/tc-score7.c (s7_convert_frag): Likewise.
gas/ChangeLog
gas/config/tc-mips.c
gas/config/tc-score.c
gas/config/tc-score7.c
gas/config/tc-sparc.c
gas/write.c
gas/write.h