ld/x86: reduce testsuite dependency on system object files
authorJan Beulich <jbeulich@suse.com>
Tue, 7 Nov 2023 12:58:32 +0000 (13:58 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 7 Nov 2023 12:58:32 +0000 (13:58 +0100)
commiteab996435fe65a421541f59557c5f1fd427573a3
tree7cc7b7b7c85a48dfc305c89dbd4e8f37c098fd59
parent50df0f438e8c9e840e0e8b90e64c70fcf5acf7f4
ld/x86: reduce testsuite dependency on system object files

PR ld/30722
Tests looking for certain .note-section recorded properties may not
involve object files from the underlying platform (e.g. via using the C
compiler for linking): Such object files may themselves have similar
note sections, and hence they may influence the overall outcome.

For now convert just the tests known to be affected by crt*.o coming
with "ISA v3 needed" notes. Eventually other tests ought to be
converted, too.
ld/testsuite/ld-x86-64/property-stk.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/property-x86-1.S [deleted file]
ld/testsuite/ld-x86-64/property-x86-1.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/property-x86-2.S [deleted file]
ld/testsuite/ld-x86-64/property-x86-2.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/x86-64.exp