gas: Fix some x86_64 testcases for Solaris not using R_X86_64_PLT32 [PR25732]
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Wed, 1 Apr 2020 12:10:34 +0000 (14:10 +0200)
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Wed, 1 Apr 2020 12:10:34 +0000 (14:10 +0200)
commit15d47c3a70526cce7bb6a9dcdbd1c19c40247e32
tree6dc84f895209a19ecd1b5c6072e79f96994b335a
parenta7618269b727da9cf56727c22cb538ff5f0e4d25
gas: Fix some x86_64 testcases for Solaris not using R_X86_64_PLT32 [PR25732]

As reported in PR gas/25732, some testcases currently FAIL on
Solaris/x86:

FAIL: x86-64 branch 2
FAIL: x86-64 branch 3
FAIL: x86-64 MPX branch
FAIL: x86-64 branch with BND prefix
FAIL: x86-64 jump

Since https://sourceware.org/ml/binutils/2019-03/msg00163.html, gas
doesn't emit R_X86_64_PLT32 as branch marker on Solaris.  Since the
testsuite lacks a way to preprocess dump files, adjusted copies of the
affected dumps are now used on Solaris.  Unfortunately, those dumps
weren't adapted when the original testcases were changed or other
testcases started to differ between non-Solaris and Solaris targets.

The following patch fixes that, re-syncing the affected dump files or
creating new Solaris-specific ones.

Tested on i386-pc-solaris2.11, x86_64-pc-solaris2.11,
x86_64-pc-linux-gnu, and i686-pc-linux-gnu.

PR gas/25732
* testsuite/gas/i386/solaris/x86-64-branch-2.d: New file.
* testsuite/gas/i386/solaris/x86-64-branch-3.d: New file.
* testsuite/gas/i386/solaris/x86-64-jump.d: Incorporate changes to
testsuite/gas/i386/x86-64-jump.d.
* gas/testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d:
Incorporate changes to
gas/testsuite/gas/i386/x86-64-mpx-branch-1.d.
* testsuite/gas/i386/solaris/x86-64-mpx-branch-2.d : Incorporate
changes to testsuite/gas/i386/x86-64-mpx-branch-2.d.
* testsuite/gas/i386/x86-64-branch-2.d: Skip on *-*-solaris*.
* testsuite/gas/i386/x86-64-branch-3.d: Likewise.
gas/ChangeLog
gas/testsuite/gas/i386/solaris/x86-64-branch-2.d [new file with mode: 0644]
gas/testsuite/gas/i386/solaris/x86-64-branch-3.d [new file with mode: 0644]
gas/testsuite/gas/i386/solaris/x86-64-jump.d
gas/testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d
gas/testsuite/gas/i386/solaris/x86-64-mpx-branch-2.d
gas/testsuite/gas/i386/x86-64-branch-2.d
gas/testsuite/gas/i386/x86-64-branch-3.d
This page took 0.025 seconds and 4 git commands to generate.