aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-opc.tbl
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2022-12-12 13:53:13 +0100
committerJan Beulich <jbeulich@suse.com>2022-12-12 13:53:13 +0100
commite3669c7f7ba400bb56738d5460a3ea194916599d (patch)
treefa2c45b70f6c0c3626b018cb6eb08921756a6a9b /opcodes/i386-opc.tbl
parente2b983d47e725a1c1340b535a8ec44bb406ff0ee (diff)
downloadgdb-e3669c7f7ba400bb56738d5460a3ea194916599d.zip
gdb-e3669c7f7ba400bb56738d5460a3ea194916599d.tar.gz
gdb-e3669c7f7ba400bb56738d5460a3ea194916599d.tar.bz2
x86: move bad-use-of-TLS-reloc check
Having it in match_template() is unhelpful. Neither does looking for the next template to possibly match make any sense in that case, nor is the resulting diagnostic making clear what the problem is. While moving the check, also generalize it to include all SIMD and VEX- encoded insns. This way an existing conditional can be re-used in md_assemble(). Note though that this still leaves a lof of insns which are also wrong to use with these relocations. Further fold the remaining check (BFD_RELOC_386_GOT32) with the XRELEASE related one a few lines down. This again allows re-using an existing conditional.
Diffstat (limited to 'opcodes/i386-opc.tbl')
0 files changed, 0 insertions, 0 deletions