]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
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)
committerSam James <sam@gentoo.org>
Wed, 20 Dec 2023 02:37:37 +0000 (02:37 +0000)
commitb3e64983c42c9b943b5c5aaee27c252ea4ae3533
tree1d0160436050bed24699ea00a57cd3376344ad0f
parente686a9aeb4900658797ea748088ae6298f5ca159
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.

(cherry picked from commit eab996435fe65a421541f59557c5f1fd427573a3)
ld/testsuite/ld-x86-64/property-stk.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/property-x86-1.s [moved from ld/testsuite/ld-x86-64/property-x86-1.S with 75% similarity]
ld/testsuite/ld-x86-64/property-x86-2.s [moved from ld/testsuite/ld-x86-64/property-x86-2.S with 70% similarity]
ld/testsuite/ld-x86-64/x86-64.exp