From: Gleb Fotengauer-Malinovskiy Date: Fri, 27 Nov 2020 12:47:20 +0300 Subject: Drop redundant and misleading test headers diff --git a/ld/testsuite/ld-i386/combreloc.d b/ld/testsuite/ld-i386/combreloc.d index defaced..defaced 100644 --- a/ld/testsuite/ld-i386/combreloc.d +++ b/ld/testsuite/ld-i386/combreloc.d @@ -1,9 +1,5 @@ # Test that orphan reloc sections are merged into .rel.dyn with # -z combreloc. -#source: combreloc.s -#as: --32 -#ld: -shared -melf_i386 -z combreloc -#readelf: -r Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 4 entries: Offset Info Type Sym.Value Sym. Name diff --git a/ld/testsuite/ld-i386/tlsbin.rd b/ld/testsuite/ld-i386/tlsbin.rd index defaced..defaced 100644 --- a/ld/testsuite/ld-i386/tlsbin.rd +++ b/ld/testsuite/ld-i386/tlsbin.rd @@ -1,9 +1,3 @@ -#source: tlsbinpic.s -#source: tlsbin.s -#as: --32 -#ld: -melf_i386 tmpdir/libtlslib.so --no-ld-generated-unwind-info -#readelf: -Ssrl -#target: i?86-*-* There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: diff --git a/ld/testsuite/ld-i386/tlsbin2.rd b/ld/testsuite/ld-i386/tlsbin2.rd index defaced..defaced 100644 --- a/ld/testsuite/ld-i386/tlsbin2.rd +++ b/ld/testsuite/ld-i386/tlsbin2.rd @@ -1,9 +1,3 @@ -#source: tlsbinpic2.s -#source: tlsbin.s -#as: --32 -#ld: -melf_i386 tmpdir/libtlslib.so --no-ld-generated-unwind-info -#readelf: -Ssrl -#target: i?86-*-* There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: diff --git a/ld/testsuite/ld-i386/tlsbindesc.rd b/ld/testsuite/ld-i386/tlsbindesc.rd index defaced..defaced 100644 --- a/ld/testsuite/ld-i386/tlsbindesc.rd +++ b/ld/testsuite/ld-i386/tlsbindesc.rd @@ -1,9 +1,3 @@ -#source: tlsbindesc.s -#source: tlsbin.s -#as: --32 -#ld: -melf_i386 tmpdir/libtlslib.so --no-ld-generated-unwind-info -#readelf: -Ssrl -#target: i?86-*-* There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: diff --git a/ld/testsuite/ld-i386/tlsdesc.rd b/ld/testsuite/ld-i386/tlsdesc.rd index defaced..defaced 100644 --- a/ld/testsuite/ld-i386/tlsdesc.rd +++ b/ld/testsuite/ld-i386/tlsdesc.rd @@ -1,9 +1,3 @@ -#source: tlsdesc.s -#source: tlspic2.s -#as: --32 -#ld: -shared -melf_i386 --no-ld-generated-unwind-info -#readelf: -Ssrl -#target: i?86-*-* There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: diff --git a/ld/testsuite/ld-i386/tlsgdesc.rd b/ld/testsuite/ld-i386/tlsgdesc.rd index defaced..defaced 100644 --- a/ld/testsuite/ld-i386/tlsgdesc.rd +++ b/ld/testsuite/ld-i386/tlsgdesc.rd @@ -1,8 +1,3 @@ -#source: tlsgdesc.s -#as: --32 -#ld: -shared -melf_i386 --no-ld-generated-unwind-info -#readelf: -Ssrl -#target: i?86-*-* There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: diff --git a/ld/testsuite/ld-i386/tlsnopic.rd b/ld/testsuite/ld-i386/tlsnopic.rd index defaced..defaced 100644 --- a/ld/testsuite/ld-i386/tlsnopic.rd +++ b/ld/testsuite/ld-i386/tlsnopic.rd @@ -1,9 +1,3 @@ -#source: tlsnopic1.s -#source: tlsnopic2.s -#as: --32 -#ld: -shared -melf_i386 --no-ld-generated-unwind-info -#readelf: -Ssrl -#target: i?86-*-* There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: diff --git a/ld/testsuite/ld-i386/tlspic.rd b/ld/testsuite/ld-i386/tlspic.rd index defaced..defaced 100644 --- a/ld/testsuite/ld-i386/tlspic.rd +++ b/ld/testsuite/ld-i386/tlspic.rd @@ -1,9 +1,3 @@ -#source: tlspic1.s -#source: tlspic2.s -#as: --32 -#ld: -shared -melf_i386 --no-ld-generated-unwind-info -#readelf: -Ssrl -#target: i?86-*-* There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: diff --git a/ld/testsuite/ld-i386/tlspic2.rd b/ld/testsuite/ld-i386/tlspic2.rd index defaced..defaced 100644 --- a/ld/testsuite/ld-i386/tlspic2.rd +++ b/ld/testsuite/ld-i386/tlspic2.rd @@ -1,9 +1,3 @@ -#source: tlspic3.s -#source: tlspic2.s -#as: --32 -#ld: -shared -melf_i386 --no-ld-generated-unwind-info -#readelf: -Ssrl -#target: i?86-*-* There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: diff --git a/ld/testsuite/ld-powerpc/notoc2.d b/ld/testsuite/ld-powerpc/notoc2.d index defaced..defaced 100644 --- a/ld/testsuite/ld-powerpc/notoc2.d +++ b/ld/testsuite/ld-powerpc/notoc2.d @@ -1,9 +1,3 @@ -#source: notoc2.s -#as: -a64 -mpower10 -#ld: -shared -z norelro -#objdump: -d -Mpower10 -#target: powerpc64*-*-* - .* Disassembly of section \.text: diff --git a/ld/testsuite/ld-powerpc/notoc3.d b/ld/testsuite/ld-powerpc/notoc3.d index defaced..defaced 100644 --- a/ld/testsuite/ld-powerpc/notoc3.d +++ b/ld/testsuite/ld-powerpc/notoc3.d @@ -1,8 +1,3 @@ -#as: -a64 -mpower10 -#ld: --no-plt-localentry -T ext.lnk -#objdump: -d -#target: powerpc64*-*-* - .* Disassembly of section \.text: