S12Z: Handle 16 bit fixups which are constant.
authorJohn Darrington <john@darrington.wattle.id.au>
Tue, 23 Oct 2018 13:33:18 +0000 (15:33 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 23 Oct 2018 14:09:29 +0000 (16:09 +0200)
commit405b61965ff7608840cfda36083c1be1f926ccdb
tree8ce1a32fc40c2ab1881324a25dd0ba0e5efd3f75
parent420ecd9ce8a3d61f950bf24d8d7b8827d09f59db
S12Z:  Handle 16 bit fixups which are constant.

Commit 1f38083f425e03faf55595414daf291306738222 added a test
to check that the assembler handled fixups with resolved to
constant values.  We were not handling this in the case of
16 bit values.  This change fixes that.

* gas/config/tc-s12z.c (md_apply_fix): Handle BFD_RELOC_16
gas/ChangeLog
gas/config/tc-s12z.c