From: Nick Alcock Date: Fri, 25 Apr 2025 20:53:18 +0000 (+0100) Subject: ld: testsuite: a tiny start on ld.ctf test adjustments X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=58d7d4d1a72c66a5be65a1650250c5cea67ca3e0;p=thirdparty%2Fbinutils-gdb.git ld: testsuite: a tiny start on ld.ctf test adjustments This is just allowing for changes in objdump itself -- the actual test results cannot be adjusted until either CTFv4 is emitted or back-compatibility upgrading is implemented (or, preferably, both, plus testing of a subset of them with -gbtf as well). --- diff --git a/ld/testsuite/ld-ctf/anonymous-conflicts.d b/ld/testsuite/ld-ctf/anonymous-conflicts.d index 73618ee7ad8..fc792519772 100644 --- a/ld/testsuite/ld-ctf/anonymous-conflicts.d +++ b/ld/testsuite/ld-ctf/anonymous-conflicts.d @@ -7,7 +7,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/array-conflicted-ordering.d b/ld/testsuite/ld-ctf/array-conflicted-ordering.d index 2daa6763349..b64a1bc18b2 100644 --- a/ld/testsuite/ld-ctf/array-conflicted-ordering.d +++ b/ld/testsuite/ld-ctf/array-conflicted-ordering.d @@ -8,7 +8,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/array-extern.d b/ld/testsuite/ld-ctf/array-extern.d index c813c84894d..1e7101e7a11 100644 --- a/ld/testsuite/ld-ctf/array-extern.d +++ b/ld/testsuite/ld-ctf/array-extern.d @@ -7,7 +7,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/array.d b/ld/testsuite/ld-ctf/array.d index 8fc5a631ca8..11416c7b9a6 100644 --- a/ld/testsuite/ld-ctf/array.d +++ b/ld/testsuite/ld-ctf/array.d @@ -7,7 +7,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/conflicting-cycle-1.parent.d b/ld/testsuite/ld-ctf/conflicting-cycle-1.parent.d index 72962729939..cc96c8769f8 100644 --- a/ld/testsuite/ld-ctf/conflicting-cycle-1.parent.d +++ b/ld/testsuite/ld-ctf/conflicting-cycle-1.parent.d @@ -10,7 +10,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/conflicting-cycle-2.parent.d b/ld/testsuite/ld-ctf/conflicting-cycle-2.parent.d index 14014cbb2fd..10077bfeec6 100644 --- a/ld/testsuite/ld-ctf/conflicting-cycle-2.parent.d +++ b/ld/testsuite/ld-ctf/conflicting-cycle-2.parent.d @@ -12,7 +12,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/conflicting-cycle-3.parent.d b/ld/testsuite/ld-ctf/conflicting-cycle-3.parent.d index e63e051fce6..3f82a47eb8e 100644 --- a/ld/testsuite/ld-ctf/conflicting-cycle-3.parent.d +++ b/ld/testsuite/ld-ctf/conflicting-cycle-3.parent.d @@ -11,7 +11,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/conflicting-enums.d b/ld/testsuite/ld-ctf/conflicting-enums.d index 10213c20c7f..ee99bd74d9c 100644 --- a/ld/testsuite/ld-ctf/conflicting-enums.d +++ b/ld/testsuite/ld-ctf/conflicting-enums.d @@ -7,7 +7,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/conflicting-typedefs.d b/ld/testsuite/ld-ctf/conflicting-typedefs.d index 33059f76395..f22ddafa1a4 100644 --- a/ld/testsuite/ld-ctf/conflicting-typedefs.d +++ b/ld/testsuite/ld-ctf/conflicting-typedefs.d @@ -7,7 +7,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/cross-tu-cyclic-conflicting.d b/ld/testsuite/ld-ctf/cross-tu-cyclic-conflicting.d index 9822a14ff82..5aa5ddbdb91 100644 --- a/ld/testsuite/ld-ctf/cross-tu-cyclic-conflicting.d +++ b/ld/testsuite/ld-ctf/cross-tu-cyclic-conflicting.d @@ -9,7 +9,7 @@ .*: file format .* -Contents of CTF section \.ctf: +Contents of type section \.ctf: #... Types: diff --git a/ld/testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d b/ld/testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d index a2018e9e8d2..b07c1c044f1 100644 --- a/ld/testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d +++ b/ld/testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d @@ -11,7 +11,7 @@ .*: file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/cross-tu-into-cycle.d b/ld/testsuite/ld-ctf/cross-tu-into-cycle.d index ec404a4969b..97f34acd53f 100644 --- a/ld/testsuite/ld-ctf/cross-tu-into-cycle.d +++ b/ld/testsuite/ld-ctf/cross-tu-into-cycle.d @@ -13,7 +13,7 @@ .*: file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/cross-tu-noncyclic.d b/ld/testsuite/ld-ctf/cross-tu-noncyclic.d index 7e7895b2df7..482cbf056fa 100644 --- a/ld/testsuite/ld-ctf/cross-tu-noncyclic.d +++ b/ld/testsuite/ld-ctf/cross-tu-noncyclic.d @@ -9,7 +9,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/cycle-1.d b/ld/testsuite/ld-ctf/cycle-1.d index c01d369c130..39dd7124f2b 100644 --- a/ld/testsuite/ld-ctf/cycle-1.d +++ b/ld/testsuite/ld-ctf/cycle-1.d @@ -9,7 +9,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/cycle-2.A.d b/ld/testsuite/ld-ctf/cycle-2.A.d index c3f17bdfcc7..8f9a4bfdb18 100644 --- a/ld/testsuite/ld-ctf/cycle-2.A.d +++ b/ld/testsuite/ld-ctf/cycle-2.A.d @@ -8,7 +8,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/cycle-2.B.d b/ld/testsuite/ld-ctf/cycle-2.B.d index 92315b329b7..d3403b3e73a 100644 --- a/ld/testsuite/ld-ctf/cycle-2.B.d +++ b/ld/testsuite/ld-ctf/cycle-2.B.d @@ -8,7 +8,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/cycle-2.C.d b/ld/testsuite/ld-ctf/cycle-2.C.d index f37e3f33e30..4f97a554e09 100644 --- a/ld/testsuite/ld-ctf/cycle-2.C.d +++ b/ld/testsuite/ld-ctf/cycle-2.C.d @@ -8,7 +8,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/data-func-conflicted-vars.d b/ld/testsuite/ld-ctf/data-func-conflicted-vars.d index bbe282c459e..d039060de7f 100644 --- a/ld/testsuite/ld-ctf/data-func-conflicted-vars.d +++ b/ld/testsuite/ld-ctf/data-func-conflicted-vars.d @@ -8,7 +8,7 @@ .*: +file format .* -Contents of CTF section \.ctf: +Contents of type section \.ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/data-func-conflicted.d b/ld/testsuite/ld-ctf/data-func-conflicted.d index d477bfeb57c..81885a4c318 100644 --- a/ld/testsuite/ld-ctf/data-func-conflicted.d +++ b/ld/testsuite/ld-ctf/data-func-conflicted.d @@ -8,7 +8,7 @@ .*: +file format .* -Contents of CTF section \.ctf: +Contents of type section \.ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/diag-cttname-null.d b/ld/testsuite/ld-ctf/diag-cttname-null.d index 73933f2ca6f..885b5c54c26 100644 --- a/ld/testsuite/ld-ctf/diag-cttname-null.d +++ b/ld/testsuite/ld-ctf/diag-cttname-null.d @@ -6,7 +6,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/diag-cuname.d b/ld/testsuite/ld-ctf/diag-cuname.d index a2089c6b278..fd536b22863 100644 --- a/ld/testsuite/ld-ctf/diag-cuname.d +++ b/ld/testsuite/ld-ctf/diag-cuname.d @@ -6,7 +6,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/diag-parlabel.d b/ld/testsuite/ld-ctf/diag-parlabel.d index f69f48c97af..1cbadd7bcb4 100644 --- a/ld/testsuite/ld-ctf/diag-parlabel.d +++ b/ld/testsuite/ld-ctf/diag-parlabel.d @@ -6,7 +6,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/diag-wrong-magic-number-mixed.d b/ld/testsuite/ld-ctf/diag-wrong-magic-number-mixed.d index 26c3412b051..9222eb77fbe 100644 --- a/ld/testsuite/ld-ctf/diag-wrong-magic-number-mixed.d +++ b/ld/testsuite/ld-ctf/diag-wrong-magic-number-mixed.d @@ -7,7 +7,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/enum-forward.d b/ld/testsuite/ld-ctf/enum-forward.d index e26f18a31b7..73139320cb3 100644 --- a/ld/testsuite/ld-ctf/enum-forward.d +++ b/ld/testsuite/ld-ctf/enum-forward.d @@ -6,7 +6,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/enums.d b/ld/testsuite/ld-ctf/enums.d index acc1bfc22dc..2f71bc9dabc 100644 --- a/ld/testsuite/ld-ctf/enums.d +++ b/ld/testsuite/ld-ctf/enums.d @@ -6,7 +6,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/forward.d b/ld/testsuite/ld-ctf/forward.d index 51412a45503..a84708e3ade 100644 --- a/ld/testsuite/ld-ctf/forward.d +++ b/ld/testsuite/ld-ctf/forward.d @@ -6,7 +6,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/function.d b/ld/testsuite/ld-ctf/function.d index 971b0216461..4a885940de4 100644 --- a/ld/testsuite/ld-ctf/function.d +++ b/ld/testsuite/ld-ctf/function.d @@ -6,7 +6,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/nonrepresentable-member.d b/ld/testsuite/ld-ctf/nonrepresentable-member.d index b683b4898e6..8553143b659 100644 --- a/ld/testsuite/ld-ctf/nonrepresentable-member.d +++ b/ld/testsuite/ld-ctf/nonrepresentable-member.d @@ -6,7 +6,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/nonrepresentable.d b/ld/testsuite/ld-ctf/nonrepresentable.d index 10fe8301527..e868de6c7a7 100644 --- a/ld/testsuite/ld-ctf/nonrepresentable.d +++ b/ld/testsuite/ld-ctf/nonrepresentable.d @@ -7,7 +7,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/overlapping-enums-2.d b/ld/testsuite/ld-ctf/overlapping-enums-2.d index e1f9b2d5277..a2797ce003a 100644 --- a/ld/testsuite/ld-ctf/overlapping-enums-2.d +++ b/ld/testsuite/ld-ctf/overlapping-enums-2.d @@ -7,7 +7,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/overlapping-enums.d b/ld/testsuite/ld-ctf/overlapping-enums.d index c5de6a98754..060f11435de 100644 --- a/ld/testsuite/ld-ctf/overlapping-enums.d +++ b/ld/testsuite/ld-ctf/overlapping-enums.d @@ -7,7 +7,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/slice.d b/ld/testsuite/ld-ctf/slice.d index 5567cca3eb3..b2381ae6bf9 100644 --- a/ld/testsuite/ld-ctf/slice.d +++ b/ld/testsuite/ld-ctf/slice.d @@ -6,7 +6,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/super-sub-cycles.d b/ld/testsuite/ld-ctf/super-sub-cycles.d index ccac9a1b8c9..52837e9399d 100644 --- a/ld/testsuite/ld-ctf/super-sub-cycles.d +++ b/ld/testsuite/ld-ctf/super-sub-cycles.d @@ -6,7 +6,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2 diff --git a/ld/testsuite/ld-ctf/unshared-strings.d b/ld/testsuite/ld-ctf/unshared-strings.d index 51338f39751..5db7518dbef 100644 --- a/ld/testsuite/ld-ctf/unshared-strings.d +++ b/ld/testsuite/ld-ctf/unshared-strings.d @@ -7,7 +7,7 @@ .*: +file format .* -Contents of CTF section .ctf: +Contents of type section .ctf: Header: Magic number: 0xdff2