]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/ChangeLog
x86: prevent undue use of GOT32X and alike relocations
authorJan Beulich <jbeulich@suse.com>
Thu, 30 Jan 2020 16:03:22 +0000 (17:03 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 30 Jan 2020 16:03:22 +0000 (17:03 +0100)
commit2ae4c7035cd77006e43c88f45f26f9a728026669
treeb9b8cf2201ac3a96faf5c6b2ac1cd24502a44831
parent5cebc931d70eedf5f355efe179f4d601cca36243
x86: prevent undue use of GOT32X and alike relocations

Comparison of i.tm.base_opcode against particular but not sufficiently
specific values needs to be accompanied by other qualification. Exclude
VEX and alike encodings here, and also exclude all forms of prefixes
explicitly specified in the opcodes table. While using @GOT with such
insns may not be very useful, it also isn't with e.g. ADC and SBB, yet
these get explicitly listed in comments as supported.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/got-no-relax.d
gas/testsuite/gas/i386/got.d
gas/testsuite/gas/i386/got.s