]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/testsuite/gas/all/gas.exp
Teach a few targets to resolve BFD_RELOC_8
authorAlan Modra <amodra@gmail.com>
Tue, 19 Mar 2019 22:50:55 +0000 (09:20 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 20 Mar 2019 22:16:42 +0000 (08:46 +1030)
commit7553c869a9a9af813abd8cb4d445765d1a8a1cac
tree302625829d122ca82dd3df74efb3ebf8b7f1cd48
parent3b6c19668236e6fd60c6299e7d016396d645fa61
Teach a few targets to resolve BFD_RELOC_8

and tidy "forward" test.  I've removed some checks in d30v
md_apply_fix that have no business being there.  Any symbol problems
will be caught later in tc_gen_reloc, and overflow checking is done in
gas/write.c.

* config/tc-d10v.c (md_apply_fix): Apply BFD_RELOC_8.
* config/tc-pdp11.c (md_apply_fix): Likewise.
* config/tc-d30v.c (md_apply_fix): Don't emit errors for BFD_RELOC_8,
BFD_RELOC_16, and BFD_RELOC_64.
* testsuite/gas/all/gas.exp: Move target exclusions for forward
test, but not cr16, to..
* testsuite/gas/all/forward.d: ..here, with explanation.  Remove
d10v, d30v, and pdp11 xfails.
gas/ChangeLog
gas/config/tc-d10v.c
gas/config/tc-d30v.c
gas/config/tc-pdp11.c
gas/testsuite/gas/all/forward.d
gas/testsuite/gas/all/gas.exp