S/390: Fix symbolic displacement in lay
authorAndreas Krebbel <krebbel@linux.ibm.com>
Tue, 25 Sep 2018 15:13:28 +0000 (17:13 +0200)
committerAndreas Krebbel <krebbel@linux.ibm.com>
Tue, 25 Sep 2018 15:13:28 +0000 (17:13 +0200)
commit3d6e0c015aa832f00ccd4fe3f5f43b90357258e8
tree6874fe778b5ebf5b076ac56b22824f84dde7127d
parent49b036f1e0616b57294d85b06d3eb001b34f9958
S/390: Fix symbolic displacement in lay

Increase the fixup length to 4 for the 20 bit displacement.

gas/ChangeLog:

2018-09-25  Andreas Krebbel  <krebbel@linux.ibm.com>

* config/tc-s390.c (md_apply_fix): Set fx_size to 4 for 20 bit
displacements.
* testsuite/gas/s390/s390.exp: Run new test.
* testsuite/gas/s390/zarch-z990-symbol-lay.s: New test.
gas/config/tc-s390.c
gas/testsuite/gas/s390/s390.exp
gas/testsuite/gas/s390/zarch-z990-symbol-lay.l [new file with mode: 0644]
gas/testsuite/gas/s390/zarch-z990-symbol-lay.s [new file with mode: 0644]