]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: fix Solaris testsuite failures
authorJan Beulich <jbeulich@suse.com>
Fri, 22 Mar 2024 08:08:51 +0000 (09:08 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 22 Mar 2024 08:08:51 +0000 (09:08 +0100)
commit820a77554e64dd26d8ec2b03b59846268730c8be
tree56e12b4adb9caf8c01c1d7c6d3c5673280646204
parent40dcb60affd6079d1d67351bd498e545405b2ed8
x86: fix Solaris testsuite failures

For one 0afc614c9938 ("x86: Warn .insn instruction with length > 15
bytes") introduced a .insn use involving a slash; such tests need to
have --divide passed to gas.

And then 5bc71c2a6b8e ("x86-64: Add R_X86_64_CODE_6_GOTTPOFF") broke
BFD_RELOC_X86_64_GOTTPOFF conversion to R_X86_64_CODE_4_GOTTPOFF, by
adding respective code in a section guarded by
generate_relax_relocations (the case of that not being required there
was limited to 32-bit object files). Re-arrange that block of code to
check generate_relax_relocations later.
gas/config/tc-i386.c
gas/testsuite/gas/i386/x86-64.exp