x86: Do not dump DS/CS segment overrides for branch hints
authorBorislav Petkov <bp@suse.de>
Fri, 11 Dec 2020 23:12:24 +0000 (00:12 +0100)
committerAlan Modra <amodra@gmail.com>
Sun, 13 Dec 2020 03:32:26 +0000 (14:02 +1030)
commit7393df7f3fb404a605af9f2b9d4b8698c6fcc7df
tree2ad6b66582d96b73509e6f195f8971574137c258
parent77e890c695e2a206b796a6b25c1e004523f11523
x86: Do not dump DS/CS segment overrides for branch hints

I've made all labels normal labels so that there's no confusion between
the different targets which is which and I match them in the .d files
with .* as Alan suggested.

Hex offsets I match with [0-9a-fx]+ since some targets prefix them with
0x, some don't, etc.

* testsuite/gas/i386/align-branch-9.s: Don't use labels that are
automatically local for ELF targets.
* testsuite/gas/i386/branch.s: Likewise.
* testsuite/gas/i386/x86-64-align-branch-9.s: Likewise.
* testsuite/gas/i386/x86-64-branch.s: Likewise.
* testsuite/gas/i386/align-branch-9.d: Adjust to match more targets.
* testsuite/gas/i386/branch.d: Likewise.
* testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-9.d: Likewise.
* testsuite/gas/i386/x86-64-branch.d: Likewise.
gas/ChangeLog
gas/testsuite/gas/i386/align-branch-9.d
gas/testsuite/gas/i386/align-branch-9.s
gas/testsuite/gas/i386/branch.d
gas/testsuite/gas/i386/branch.s
gas/testsuite/gas/i386/ilp32/x86-64-branch.d
gas/testsuite/gas/i386/x86-64-align-branch-9.d
gas/testsuite/gas/i386/x86-64-align-branch-9.s
gas/testsuite/gas/i386/x86-64-branch.d
gas/testsuite/gas/i386/x86-64-branch.s