diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2015-07-04 02:06:24 +0300 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2015-07-04 02:06:24 +0300 |
commit | 1e7b08b68d3ca4616e62f742b660d9ffcdd3836c (patch) | |
tree | 724439cb1776650bb69c3c8ca07b15eb869ff5b5 /lld | |
parent | 5db02769257a76eec6eccc3dc6336b0962cfda2f (diff) |
[ELF] Fix ELF test cases. Do not provide content for bss sections.
llvm-svn: 241378
Diffstat (limited to 'lld')
86 files changed, 13 insertions, 133 deletions
diff --git a/lld/test/elf/AArch64/Inputs/general-dyn-tls-0.yaml b/lld/test/elf/AArch64/Inputs/general-dyn-tls-0.yaml index d58adf0ad67d..e355a3d85cdf 100644 --- a/lld/test/elf/AArch64/Inputs/general-dyn-tls-0.yaml +++ b/lld/test/elf/AArch64/Inputs/general-dyn-tls-0.yaml @@ -32,12 +32,11 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .tbss Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC, SHF_TLS ] AddressAlign: 0x0000000000000004 - Content: 00636C61 + Size: 4 - Name: .note.GNU-stack Type: SHT_PROGBITS AddressAlign: 0x0000000000000001 diff --git a/lld/test/elf/AArch64/Inputs/initial-exec-tls-1.yaml b/lld/test/elf/AArch64/Inputs/initial-exec-tls-1.yaml index 564292bedad5..2a6104a150ea 100644 --- a/lld/test/elf/AArch64/Inputs/initial-exec-tls-1.yaml +++ b/lld/test/elf/AArch64/Inputs/initial-exec-tls-1.yaml @@ -20,12 +20,11 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .tbss Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC, SHF_TLS ] AddressAlign: 0x0000000000000004 - Content: 00636C616E672076657273696F6E2033 + Size: 16 - Name: .comment Type: SHT_PROGBITS Flags: [ SHF_MERGE, SHF_STRINGS ] diff --git a/lld/test/elf/AArch64/dynamicvars.test b/lld/test/elf/AArch64/dynamicvars.test index 48a83e9edeba..0b6db63e8738 100644 --- a/lld/test/elf/AArch64/dynamicvars.test +++ b/lld/test/elf/AArch64/dynamicvars.test @@ -40,7 +40,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' - Name: .text.startup Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_EXECINSTR ] diff --git a/lld/test/elf/AArch64/general-dyn-tls-0.test b/lld/test/elf/AArch64/general-dyn-tls-0.test index e6d6eab9c5ec..72750c1181ab 100644 --- a/lld/test/elf/AArch64/general-dyn-tls-0.test +++ b/lld/test/elf/AArch64/general-dyn-tls-0.test @@ -85,7 +85,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .note.GNU-stack Type: SHT_PROGBITS AddressAlign: 0x0000000000000001 diff --git a/lld/test/elf/AArch64/initial-exec-tls-0.test b/lld/test/elf/AArch64/initial-exec-tls-0.test index d4da2f9b1123..65185e4b988b 100644 --- a/lld/test/elf/AArch64/initial-exec-tls-0.test +++ b/lld/test/elf/AArch64/initial-exec-tls-0.test @@ -105,7 +105,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .comment Type: SHT_PROGBITS Flags: [ SHF_MERGE, SHF_STRINGS ] diff --git a/lld/test/elf/AArch64/local-tls.test b/lld/test/elf/AArch64/local-tls.test index 4826de5b5023..0fbb4666b724 100644 --- a/lld/test/elf/AArch64/local-tls.test +++ b/lld/test/elf/AArch64/local-tls.test @@ -85,7 +85,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .tdata Type: SHT_PROGBITS Flags: [ SHF_WRITE, SHF_ALLOC, SHF_TLS ] @@ -95,7 +94,7 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC, SHF_TLS ] AddressAlign: 0x0000000000000004 - Content: '2569202569202569' + Size: 8 - Name: .rodata.str1.1 Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_MERGE, SHF_STRINGS ] diff --git a/lld/test/elf/ARM/arm-symbols.test b/lld/test/elf/ARM/arm-symbols.test index b99960697679..5b6ebc76fdec 100644 --- a/lld/test/elf/ARM/arm-symbols.test +++ b/lld/test/elf/ARM/arm-symbols.test @@ -43,7 +43,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: main diff --git a/lld/test/elf/ARM/defsym.test b/lld/test/elf/ARM/defsym.test index 0cd1736d924e..89debeb1eb65 100644 --- a/lld/test/elf/ARM/defsym.test +++ b/lld/test/elf/ARM/defsym.test @@ -42,7 +42,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: fn diff --git a/lld/test/elf/ARM/dynamic-symbols.test b/lld/test/elf/ARM/dynamic-symbols.test index e9e23dcae64a..c468ca73781b 100644 --- a/lld/test/elf/ARM/dynamic-symbols.test +++ b/lld/test/elf/ARM/dynamic-symbols.test @@ -70,7 +70,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' - Name: .got Type: SHT_PROGBITS Flags: [ SHF_WRITE, SHF_ALLOC ] diff --git a/lld/test/elf/ARM/entry-point.test b/lld/test/elf/ARM/entry-point.test index 2fc4ea597628..48aa65c2e661 100644 --- a/lld/test/elf/ARM/entry-point.test +++ b/lld/test/elf/ARM/entry-point.test @@ -45,7 +45,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: _start @@ -75,7 +74,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: _start @@ -106,7 +104,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: _start diff --git a/lld/test/elf/ARM/header-flags.test b/lld/test/elf/ARM/header-flags.test index 9a6c9e81566a..0723d3fdd1e2 100644 --- a/lld/test/elf/ARM/header-flags.test +++ b/lld/test/elf/ARM/header-flags.test @@ -49,7 +49,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: main diff --git a/lld/test/elf/ARM/mapping-code-model.test b/lld/test/elf/ARM/mapping-code-model.test index a9cdb989f4aa..2e85e2fd9c6c 100644 --- a/lld/test/elf/ARM/mapping-code-model.test +++ b/lld/test/elf/ARM/mapping-code-model.test @@ -57,7 +57,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Local: - Name: '$a' @@ -95,7 +94,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Local: - Name: '$t' @@ -145,7 +143,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Local: - Name: '$t' diff --git a/lld/test/elf/ARM/mapping-symbols.test b/lld/test/elf/ARM/mapping-symbols.test index c4f560bb157c..2c6347c6f164 100644 --- a/lld/test/elf/ARM/mapping-symbols.test +++ b/lld/test/elf/ARM/mapping-symbols.test @@ -58,7 +58,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Local: - Name: '$a' @@ -104,7 +103,7 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: 411C0000 + Size: 4 Symbols: Local: - Name: _ZL1i diff --git a/lld/test/elf/ARM/missing-symbol.test b/lld/test/elf/ARM/missing-symbol.test index f9b3e26ea1a3..a4641c328370 100644 --- a/lld/test/elf/ARM/missing-symbol.test +++ b/lld/test/elf/ARM/missing-symbol.test @@ -28,7 +28,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: main diff --git a/lld/test/elf/ARM/plt-dynamic.test b/lld/test/elf/ARM/plt-dynamic.test index fbc3b2c534cd..5683ffbc1dfe 100644 --- a/lld/test/elf/ARM/plt-dynamic.test +++ b/lld/test/elf/ARM/plt-dynamic.test @@ -111,7 +111,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: main @@ -151,7 +150,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: main @@ -192,7 +190,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: main diff --git a/lld/test/elf/ARM/plt-ifunc-interwork.test b/lld/test/elf/ARM/plt-ifunc-interwork.test index 00ac12049402..2a823944c134 100644 --- a/lld/test/elf/ARM/plt-ifunc-interwork.test +++ b/lld/test/elf/ARM/plt-ifunc-interwork.test @@ -149,7 +149,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: f1 @@ -198,7 +197,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: f1 @@ -242,7 +240,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: f @@ -289,7 +286,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: f2 @@ -338,7 +334,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: f2 @@ -388,7 +383,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: f1 diff --git a/lld/test/elf/ARM/plt-ifunc-mapping.test b/lld/test/elf/ARM/plt-ifunc-mapping.test index ffd0c624d06f..422f22d35970 100644 --- a/lld/test/elf/ARM/plt-ifunc-mapping.test +++ b/lld/test/elf/ARM/plt-ifunc-mapping.test @@ -48,7 +48,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: f1 @@ -97,7 +96,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: f2 diff --git a/lld/test/elf/ARM/rel-abs32.test b/lld/test/elf/ARM/rel-abs32.test index 57d323100feb..399c516723e9 100644 --- a/lld/test/elf/ARM/rel-abs32.test +++ b/lld/test/elf/ARM/rel-abs32.test @@ -45,7 +45,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: main diff --git a/lld/test/elf/ARM/rel-arm-call.test b/lld/test/elf/ARM/rel-arm-call.test index 5bd9e2c297d7..04b17a21f74f 100644 --- a/lld/test/elf/ARM/rel-arm-call.test +++ b/lld/test/elf/ARM/rel-arm-call.test @@ -53,7 +53,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: _Z1fv @@ -99,7 +98,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: _Z1fv diff --git a/lld/test/elf/ARM/rel-arm-jump24-veneer-b.test b/lld/test/elf/ARM/rel-arm-jump24-veneer-b.test index d14fd0dadbba..4805ec065e0d 100644 --- a/lld/test/elf/ARM/rel-arm-jump24-veneer-b.test +++ b/lld/test/elf/ARM/rel-arm-jump24-veneer-b.test @@ -83,7 +83,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: main @@ -114,7 +113,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: _Z1fv diff --git a/lld/test/elf/ARM/rel-arm-jump24-veneer-bl.test b/lld/test/elf/ARM/rel-arm-jump24-veneer-bl.test index 3c9e1c28ebb0..d3818323f776 100644 --- a/lld/test/elf/ARM/rel-arm-jump24-veneer-bl.test +++ b/lld/test/elf/ARM/rel-arm-jump24-veneer-bl.test @@ -81,7 +81,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: main @@ -112,7 +111,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: _Z1fv diff --git a/lld/test/elf/ARM/rel-arm-jump24.test b/lld/test/elf/ARM/rel-arm-jump24.test index 16053bab4d2b..8321d256c0c2 100644 --- a/lld/test/elf/ARM/rel-arm-jump24.test +++ b/lld/test/elf/ARM/rel-arm-jump24.test @@ -53,7 +53,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: _Z1fv @@ -97,7 +96,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: _Z1fv diff --git a/lld/test/elf/ARM/rel-arm-mov.test b/lld/test/elf/ARM/rel-arm-mov.test index e50aea4bb206..a436915c5036 100644 --- a/lld/test/elf/ARM/rel-arm-mov.test +++ b/lld/test/elf/ARM/rel-arm-mov.test @@ -50,7 +50,7 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: 411C0000 + Size: 4 Symbols: Local: - Name: _ZL5data1 diff --git a/lld/test/elf/ARM/rel-arm-target1.test b/lld/test/elf/ARM/rel-arm-target1.test index a2de45d1388e..92a82d1b237f 100644 --- a/lld/test/elf/ARM/rel-arm-target1.test +++ b/lld/test/elf/ARM/rel-arm-target1.test @@ -58,7 +58,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: main @@ -101,7 +100,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' Symbols: Global: - Name: _myref diff --git a/lld/test/elf/ARM/rel-arm-thm-interwork.test b/lld/test/elf/ARM/rel-arm-thm-interwork.test index 8ee9186b48db..2e667d29cd08 100644 --- a/lld/test/elf/ARM/rel-arm-thm-interwork.test +++ b/lld/test/elf/ARM/rel-arm-thm-interwork.test @@ -64,7 +64,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: _Z1fv @@ -106,7 +105,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: _Z2f2v diff --git a/lld/test/elf/ARM/rel-base-prel.test b/lld/test/elf/ARM/rel-base-prel.test index a0111b219696..7000176d1acb 100644 --- a/lld/test/elf/ARM/rel-base-prel.test +++ b/lld/test/elf/ARM/rel-base-prel.test @@ -51,7 +51,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: main diff --git a/lld/test/elf/ARM/rel-copy.test b/lld/test/elf/ARM/rel-copy.test index 5d1d18808816..ff92e455c05b 100644 --- a/lld/test/elf/ARM/rel-copy.test +++ b/lld/test/elf/ARM/rel-copy.test @@ -47,7 +47,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Local: - Name: '$t' diff --git a/lld/test/elf/ARM/rel-glob-dat.test b/lld/test/elf/ARM/rel-glob-dat.test index e11185502a6a..e067341c32f5 100644 --- a/lld/test/elf/ARM/rel-glob-dat.test +++ b/lld/test/elf/ARM/rel-glob-dat.test @@ -41,7 +41,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Local: - Name: '$a' diff --git a/lld/test/elf/ARM/rel-got-brel.test b/lld/test/elf/ARM/rel-got-brel.test index 5ad9ec09d153..52e1e21ee74e 100644 --- a/lld/test/elf/ARM/rel-got-brel.test +++ b/lld/test/elf/ARM/rel-got-brel.test @@ -49,7 +49,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: f diff --git a/lld/test/elf/ARM/rel-jump-slot.test b/lld/test/elf/ARM/rel-jump-slot.test index 9fe00798d46a..bc9d31423d89 100644 --- a/lld/test/elf/ARM/rel-jump-slot.test +++ b/lld/test/elf/ARM/rel-jump-slot.test @@ -38,7 +38,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Local: - Name: '$a' diff --git a/lld/test/elf/ARM/rel-rel32.test b/lld/test/elf/ARM/rel-rel32.test index 47779ac918e3..4de108484fde 100644 --- a/lld/test/elf/ARM/rel-rel32.test +++ b/lld/test/elf/ARM/rel-rel32.test @@ -42,7 +42,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' Symbols: Global: - Name: _myref diff --git a/lld/test/elf/ARM/rel-thm-call.test b/lld/test/elf/ARM/rel-thm-call.test index b0e15e713f53..35ea5d985085 100644 --- a/lld/test/elf/ARM/rel-thm-call.test +++ b/lld/test/elf/ARM/rel-thm-call.test @@ -53,7 +53,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: _Z1fv @@ -100,7 +99,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: _Z1fv diff --git a/lld/test/elf/ARM/rel-thm-jump11.test b/lld/test/elf/ARM/rel-thm-jump11.test index f2e8b337c7d1..ba53ac8b856c 100644 --- a/lld/test/elf/ARM/rel-thm-jump11.test +++ b/lld/test/elf/ARM/rel-thm-jump11.test @@ -66,7 +66,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Local: - Name: '$t' @@ -162,7 +161,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Local: - Name: '$t' diff --git a/lld/test/elf/ARM/rel-thm-jump24-veneer.test b/lld/test/elf/ARM/rel-thm-jump24-veneer.test index ecad0ab31c2f..b6954c196fb3 100644 --- a/lld/test/elf/ARM/rel-thm-jump24-veneer.test +++ b/lld/test/elf/ARM/rel-thm-jump24-veneer.test @@ -71,7 +71,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: _Z1fv @@ -111,7 +110,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: main diff --git a/lld/test/elf/ARM/rel-thm-jump24.test b/lld/test/elf/ARM/rel-thm-jump24.test index 2d8f03a7e0f2..faa12d3d5989 100644 --- a/lld/test/elf/ARM/rel-thm-jump24.test +++ b/lld/test/elf/ARM/rel-thm-jump24.test @@ -53,7 +53,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: _Z1fv @@ -98,7 +97,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: _Z1fv diff --git a/lld/test/elf/ARM/rel-thm-mov.test b/lld/test/elf/ARM/rel-thm-mov.test index 25edc4cda4b9..77aa3a2b7308 100644 --- a/lld/test/elf/ARM/rel-thm-mov.test +++ b/lld/test/elf/ARM/rel-thm-mov.test @@ -55,7 +55,7 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: 411C0000 + Size: 4 Symbols: Local: - Name: _ZL5data1 diff --git a/lld/test/elf/ARM/rel-tls-ie32.test b/lld/test/elf/ARM/rel-tls-ie32.test index ec549f04436c..bb92539a8d35 100644 --- a/lld/test/elf/ARM/rel-tls-ie32.test +++ b/lld/test/elf/ARM/rel-tls-ie32.test @@ -72,7 +72,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: main @@ -107,7 +106,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' - Name: .tdata Type: SHT_PROGBITS Flags: [ SHF_WRITE, SHF_ALLOC, SHF_TLS ] diff --git a/lld/test/elf/ARM/rel-tls-le32.test b/lld/test/elf/ARM/rel-tls-le32.test index 455e3a503d19..1656977245d0 100644 --- a/lld/test/elf/ARM/rel-tls-le32.test +++ b/lld/test/elf/ARM/rel-tls-le32.test @@ -56,7 +56,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' - Name: .tdata Type: SHT_PROGBITS Flags: [ SHF_WRITE, SHF_ALLOC, SHF_TLS ] diff --git a/lld/test/elf/ARM/rel-v4bx.test b/lld/test/elf/ARM/rel-v4bx.test index d0dd493191e0..77493419a124 100644 --- a/lld/test/elf/ARM/rel-v4bx.test +++ b/lld/test/elf/ARM/rel-v4bx.test @@ -45,7 +45,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' - Name: .ARM.attributes Type: SHT_ARM_ATTRIBUTES AddressAlign: 0x0000000000000001 diff --git a/lld/test/elf/ARM/thm-symbols.test b/lld/test/elf/ARM/thm-symbols.test index c91505c98100..c85dc6a318cd 100644 --- a/lld/test/elf/ARM/thm-symbols.test +++ b/lld/test/elf/ARM/thm-symbols.test @@ -42,7 +42,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: main diff --git a/lld/test/elf/ARM/two-got-for-symbol.test b/lld/test/elf/ARM/two-got-for-symbol.test index ecd15108a3bc..6756e0b7850a 100644 --- a/lld/test/elf/ARM/two-got-for-symbol.test +++ b/lld/test/elf/ARM/two-got-for-symbol.test @@ -46,7 +46,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Local: - Name: '$a' diff --git a/lld/test/elf/ARM/undef-lazy-symbol.test b/lld/test/elf/ARM/undef-lazy-symbol.test index fc326ba8c9b1..194ea7acb4b5 100644 --- a/lld/test/elf/ARM/undef-lazy-symbol.test +++ b/lld/test/elf/ARM/undef-lazy-symbol.test @@ -91,7 +91,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: main @@ -123,7 +122,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: fn diff --git a/lld/test/elf/ARM/veneer-mapping.test b/lld/test/elf/ARM/veneer-mapping.test index 6449ff64896b..81e90ddfc364 100644 --- a/lld/test/elf/ARM/veneer-mapping.test +++ b/lld/test/elf/ARM/veneer-mapping.test @@ -43,7 +43,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: fa @@ -83,7 +82,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Global: - Name: ft diff --git a/lld/test/elf/ARM/weak-branch.test b/lld/test/elf/ARM/weak-branch.test index 2f86fd5e181e..0349f502310b 100644 --- a/lld/test/elf/ARM/weak-branch.test +++ b/lld/test/elf/ARM/weak-branch.test @@ -82,7 +82,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Local: - Name: .text diff --git a/lld/test/elf/Inputs/consecutive-weak-defs.o.yaml b/lld/test/elf/Inputs/consecutive-weak-defs.o.yaml index e668dbe56889..cbd9c665b6d5 100644 --- a/lld/test/elf/Inputs/consecutive-weak-defs.o.yaml +++ b/lld/test/elf/Inputs/consecutive-weak-defs.o.yaml @@ -30,7 +30,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' Symbols: Local: - Name: .text diff --git a/lld/test/elf/Inputs/main-with-global-def.o.yaml b/lld/test/elf/Inputs/main-with-global-def.o.yaml index cfa27ab223e7..d3eeb8fe24b6 100644 --- a/lld/test/elf/Inputs/main-with-global-def.o.yaml +++ b/lld/test/elf/Inputs/main-with-global-def.o.yaml @@ -30,7 +30,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' Symbols: Local: - Name: .text diff --git a/lld/test/elf/Inputs/tls-tbss-size.yaml b/lld/test/elf/Inputs/tls-tbss-size.yaml index db82f5fcf6a8..0577dd157c6e 100644 --- a/lld/test/elf/Inputs/tls-tbss-size.yaml +++ b/lld/test/elf/Inputs/tls-tbss-size.yaml @@ -20,12 +20,11 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .tbss Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC, SHF_TLS ] AddressAlign: 0x0000000000000004 - Content: 00636C616E672076657273696F6E2033 + Size: 16 - Name: .note.GNU-stack Type: SHT_PROGBITS AddressAlign: 0x0000000000000001 diff --git a/lld/test/elf/Inputs/undef2-so.o.yaml b/lld/test/elf/Inputs/undef2-so.o.yaml index 9ecf374ced11..f640cea39a5d 100644 --- a/lld/test/elf/Inputs/undef2-so.o.yaml +++ b/lld/test/elf/Inputs/undef2-so.o.yaml @@ -29,7 +29,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 - Content: '' Symbols: Local: - Name: .text diff --git a/lld/test/elf/X86_64/Inputs/generaltls-so.o.yaml b/lld/test/elf/X86_64/Inputs/generaltls-so.o.yaml index f0649e7639a6..53a7fb6435e9 100644 --- a/lld/test/elf/X86_64/Inputs/generaltls-so.o.yaml +++ b/lld/test/elf/X86_64/Inputs/generaltls-so.o.yaml @@ -34,7 +34,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .tdata Type: SHT_PROGBITS Flags: [ SHF_WRITE, SHF_ALLOC, SHF_TLS ] diff --git a/lld/test/elf/X86_64/alignoffset.test b/lld/test/elf/X86_64/alignoffset.test index b061f8937935..9de54620f671 100644 --- a/lld/test/elf/X86_64/alignoffset.test +++ b/lld/test/elf/X86_64/alignoffset.test @@ -43,7 +43,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .rodata Type: SHT_PROGBITS Flags: [ SHF_ALLOC ] diff --git a/lld/test/elf/X86_64/dynamicvars.test b/lld/test/elf/X86_64/dynamicvars.test index f5db73063650..8b9cdfdbedb1 100644 --- a/lld/test/elf/X86_64/dynamicvars.test +++ b/lld/test/elf/X86_64/dynamicvars.test @@ -55,7 +55,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .comment Type: SHT_PROGBITS Flags: [ SHF_MERGE, SHF_STRINGS ] diff --git a/lld/test/elf/X86_64/general-dynamic-tls.test b/lld/test/elf/X86_64/general-dynamic-tls.test index c1a6f6e5d120..cd4683e6da2e 100644 --- a/lld/test/elf/X86_64/general-dynamic-tls.test +++ b/lld/test/elf/X86_64/general-dynamic-tls.test @@ -80,7 +80,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .rodata.str1.1 Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_MERGE, SHF_STRINGS ] diff --git a/lld/test/elf/X86_64/imagebase.test b/lld/test/elf/X86_64/imagebase.test index 67c3b6e1ff49..ad1afe9e5af3 100644 --- a/lld/test/elf/X86_64/imagebase.test +++ b/lld/test/elf/X86_64/imagebase.test @@ -34,7 +34,7 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '64000000' + Size: 4 - Name: .rodata Type: SHT_PROGBITS Flags: [ SHF_ALLOC ] diff --git a/lld/test/elf/X86_64/maxpagesize.test b/lld/test/elf/X86_64/maxpagesize.test index 649d09fcada0..d73c9b2cbbcd 100644 --- a/lld/test/elf/X86_64/maxpagesize.test +++ b/lld/test/elf/X86_64/maxpagesize.test @@ -53,7 +53,7 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '64000000' + Size: 4 - Name: .rodata Type: SHT_PROGBITS Flags: [ SHF_ALLOC ] diff --git a/lld/test/elf/X86_64/noalignsegments.test b/lld/test/elf/X86_64/noalignsegments.test index 8432bda51f00..4e6abfe6bb21 100644 --- a/lld/test/elf/X86_64/noalignsegments.test +++ b/lld/test/elf/X86_64/noalignsegments.test @@ -35,7 +35,7 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '64000000' + Size: 4 - Name: .rodata Type: SHT_PROGBITS Flags: [ SHF_ALLOC ] diff --git a/lld/test/elf/X86_64/outputsegments.test b/lld/test/elf/X86_64/outputsegments.test index ab6ba8deb47d..5b7ddfdf91f9 100644 --- a/lld/test/elf/X86_64/outputsegments.test +++ b/lld/test/elf/X86_64/outputsegments.test @@ -43,7 +43,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .text.foo Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_EXECINSTR ] diff --git a/lld/test/elf/X86_64/reloc_r_x86_64_16.test b/lld/test/elf/X86_64/reloc_r_x86_64_16.test index 7cca839eb623..35885c6f779d 100644 --- a/lld/test/elf/X86_64/reloc_r_x86_64_16.test +++ b/lld/test/elf/X86_64/reloc_r_x86_64_16.test @@ -35,7 +35,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' Symbols: Local: - Name: .text diff --git a/lld/test/elf/X86_64/reloc_r_x86_64_pc16.test b/lld/test/elf/X86_64/reloc_r_x86_64_pc16.test index 6e43e5fade61..f1cfb7a782f5 100644 --- a/lld/test/elf/X86_64/reloc_r_x86_64_pc16.test +++ b/lld/test/elf/X86_64/reloc_r_x86_64_pc16.test @@ -36,7 +36,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' Symbols: Local: - Name: .text diff --git a/lld/test/elf/X86_64/reloc_r_x86_64_pc64.test b/lld/test/elf/X86_64/reloc_r_x86_64_pc64.test index 75744390be91..b77ac5362136 100644 --- a/lld/test/elf/X86_64/reloc_r_x86_64_pc64.test +++ b/lld/test/elf/X86_64/reloc_r_x86_64_pc64.test @@ -36,7 +36,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' Symbols: Local: - Name: .text diff --git a/lld/test/elf/X86_64/weaksym.test b/lld/test/elf/X86_64/weaksym.test index d44ca8a36968..418fbdeaebd7 100644 --- a/lld/test/elf/X86_64/weaksym.test +++ b/lld/test/elf/X86_64/weaksym.test @@ -56,7 +56,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' Symbols: Local: - Name: .text diff --git a/lld/test/elf/discard-all.test b/lld/test/elf/discard-all.test index 71464559d6ce..0d105945bc3a 100644 --- a/lld/test/elf/discard-all.test +++ b/lld/test/elf/discard-all.test @@ -28,7 +28,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .comment Type: SHT_PROGBITS Flags: [ SHF_MERGE, SHF_STRINGS ] diff --git a/lld/test/elf/discard-locals.test b/lld/test/elf/discard-locals.test index 86d112a47c46..6adcd6f348fb 100644 --- a/lld/test/elf/discard-locals.test +++ b/lld/test/elf/discard-locals.test @@ -28,7 +28,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .rodata.str1.1 Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_MERGE, SHF_STRINGS ] diff --git a/lld/test/elf/export-dynamic.test b/lld/test/elf/export-dynamic.test index 37876a47c840..ca02484b76db 100644 --- a/lld/test/elf/export-dynamic.test +++ b/lld/test/elf/export-dynamic.test @@ -61,7 +61,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' Symbols: Local: - Name: mysecretfunc diff --git a/lld/test/elf/gnulinkonce/gnulinkonce-report-discarded-reference.test b/lld/test/elf/gnulinkonce/gnulinkonce-report-discarded-reference.test index e1d0f8e7b55e..4425990041f3 100644 --- a/lld/test/elf/gnulinkonce/gnulinkonce-report-discarded-reference.test +++ b/lld/test/elf/gnulinkonce/gnulinkonce-report-discarded-reference.test @@ -61,7 +61,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .gnu.linkonce.d.dummy Type: SHT_PROGBITS Flags: [ SHF_WRITE, SHF_ALLOC ] @@ -105,7 +104,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .gnu.linkonce.d.dummy Type: SHT_PROGBITS Flags: [ SHF_WRITE, SHF_ALLOC ] diff --git a/lld/test/elf/gnulinkonce/gnulinkonce-report-undef.test b/lld/test/elf/gnulinkonce/gnulinkonce-report-undef.test index c6d050dcd63a..0b5161498889 100644 --- a/lld/test/elf/gnulinkonce/gnulinkonce-report-undef.test +++ b/lld/test/elf/gnulinkonce/gnulinkonce-report-undef.test @@ -41,7 +41,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .gnu.linkonce.d.dummy Type: SHT_PROGBITS Flags: [ SHF_WRITE, SHF_ALLOC ] @@ -86,7 +85,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .gnu.linkonce.d.dummy Type: SHT_PROGBITS Flags: [ SHF_WRITE, SHF_ALLOC ] diff --git a/lld/test/elf/gnulinkonce/gnulinkonce.test b/lld/test/elf/gnulinkonce/gnulinkonce.test index 17559f656328..5441b0d9caa1 100644 --- a/lld/test/elf/gnulinkonce/gnulinkonce.test +++ b/lld/test/elf/gnulinkonce/gnulinkonce.test @@ -73,7 +73,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .gnu.linkonce.d.dummy Type: SHT_PROGBITS Flags: [ SHF_WRITE, SHF_ALLOC ] @@ -117,7 +116,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .gnu.linkonce.d.dummy Type: SHT_PROGBITS Flags: [ SHF_WRITE, SHF_ALLOC ] diff --git a/lld/test/elf/gottpoff.test b/lld/test/elf/gottpoff.test index 4a109504dc8f..71304a5b577f 100644 --- a/lld/test/elf/gottpoff.test +++ b/lld/test/elf/gottpoff.test @@ -62,12 +62,11 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' + Size: 8 - Name: .tbss Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC, SHF_TLS ] AddressAlign: 0x0000000000000004 - Content: '01000000002E7265' - Name: .tdata Type: SHT_PROGBITS Flags: [ SHF_WRITE, SHF_ALLOC, SHF_TLS ] diff --git a/lld/test/elf/init_array.test b/lld/test/elf/init_array.test index e453f09ecffd..41f69142020c 100644 --- a/lld/test/elf/init_array.test +++ b/lld/test/elf/init_array.test @@ -45,7 +45,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .init_array Type: SHT_INIT_ARRAY Flags: [ SHF_ALLOC ] diff --git a/lld/test/elf/linkerscript/Inputs/prog1.o.yaml b/lld/test/elf/linkerscript/Inputs/prog1.o.yaml index 9651abff1d1f..f450048ab37b 100644 --- a/lld/test/elf/linkerscript/Inputs/prog1.o.yaml +++ b/lld/test/elf/linkerscript/Inputs/prog1.o.yaml @@ -34,7 +34,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .comment Type: SHT_PROGBITS Flags: [ SHF_MERGE, SHF_STRINGS ] diff --git a/lld/test/elf/linkerscript/Inputs/prog2.o.yaml b/lld/test/elf/linkerscript/Inputs/prog2.o.yaml index 7d8d7febb68b..4d1bbd5754ea 100644 --- a/lld/test/elf/linkerscript/Inputs/prog2.o.yaml +++ b/lld/test/elf/linkerscript/Inputs/prog2.o.yaml @@ -29,7 +29,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .rodata.str1.1 Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_MERGE, SHF_STRINGS ] diff --git a/lld/test/elf/linkerscript/Inputs/prog3.o.yaml b/lld/test/elf/linkerscript/Inputs/prog3.o.yaml index 4765c722b1ef..2402be4d42b6 100644 --- a/lld/test/elf/linkerscript/Inputs/prog3.o.yaml +++ b/lld/test/elf/linkerscript/Inputs/prog3.o.yaml @@ -30,7 +30,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' Symbols: Local: - Name: .text diff --git a/lld/test/elf/linkerscript/Inputs/simple.o.yaml b/lld/test/elf/linkerscript/Inputs/simple.o.yaml index 1a5fc2ab9cc0..fc9cd4c5f67d 100644 --- a/lld/test/elf/linkerscript/Inputs/simple.o.yaml +++ b/lld/test/elf/linkerscript/Inputs/simple.o.yaml @@ -29,7 +29,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' Symbols: Local: - Name: main diff --git a/lld/test/elf/note.test b/lld/test/elf/note.test index f0e9c6b2f8d9..01329e9c8f6d 100644 --- a/lld/test/elf/note.test +++ b/lld/test/elf/note.test @@ -27,7 +27,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .note Type: SHT_NOTE AddressAlign: 0x0000000000000001 diff --git a/lld/test/elf/sectionGroups/sectiongroup-new-members.test b/lld/test/elf/sectionGroups/sectiongroup-new-members.test index d270c5fec94a..eeace002d4db 100644 --- a/lld/test/elf/sectionGroups/sectiongroup-new-members.test +++ b/lld/test/elf/sectionGroups/sectiongroup-new-members.test @@ -77,7 +77,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .text Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_EXECINSTR, SHF_GROUP ] @@ -125,7 +124,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .text Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_EXECINSTR, SHF_GROUP ] diff --git a/lld/test/elf/sectionGroups/sectiongroup-simple.test b/lld/test/elf/sectionGroups/sectiongroup-simple.test index 25be6033b0ef..3451afc25573 100644 --- a/lld/test/elf/sectionGroups/sectiongroup-simple.test +++ b/lld/test/elf/sectionGroups/sectiongroup-simple.test @@ -73,7 +73,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .text Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_EXECINSTR, SHF_GROUP ] @@ -121,7 +120,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .text Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_EXECINSTR, SHF_GROUP ] diff --git a/lld/test/elf/sectionGroups/sectiongroup-undef-member-other.test b/lld/test/elf/sectionGroups/sectiongroup-undef-member-other.test index 78a5f276a4ca..1d60ce6c8665 100644 --- a/lld/test/elf/sectionGroups/sectiongroup-undef-member-other.test +++ b/lld/test/elf/sectionGroups/sectiongroup-undef-member-other.test @@ -50,7 +50,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .foo Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_EXECINSTR, SHF_GROUP ] @@ -117,7 +116,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .bar Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_EXECINSTR, SHF_GROUP ] diff --git a/lld/test/elf/sectionGroups/sectiongroup-undef-member.test b/lld/test/elf/sectionGroups/sectiongroup-undef-member.test index 2f6804d254d8..6fbc71ca54e6 100644 --- a/lld/test/elf/sectionGroups/sectiongroup-undef-member.test +++ b/lld/test/elf/sectionGroups/sectiongroup-undef-member.test @@ -49,7 +49,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .foo Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_EXECINSTR, SHF_GROUP ] @@ -115,7 +114,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .foo Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_EXECINSTR, SHF_GROUP ] diff --git a/lld/test/elf/sectionGroups/sectiongroup-with-globalsymbols.test b/lld/test/elf/sectionGroups/sectiongroup-with-globalsymbols.test index 759bb82b93a7..ee0d7eb77853 100644 --- a/lld/test/elf/sectionGroups/sectiongroup-with-globalsymbols.test +++ b/lld/test/elf/sectionGroups/sectiongroup-with-globalsymbols.test @@ -92,7 +92,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .foo Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_EXECINSTR, SHF_GROUP ] @@ -150,7 +149,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .foo Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_EXECINSTR, SHF_GROUP ] @@ -199,7 +197,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .comment Type: SHT_PROGBITS Flags: [ SHF_MERGE, SHF_STRINGS ] diff --git a/lld/test/elf/sectionGroups/sectiongroup-with-undef-external-reference.test b/lld/test/elf/sectionGroups/sectiongroup-with-undef-external-reference.test index a90034ae6d21..09efc2629f14 100644 --- a/lld/test/elf/sectionGroups/sectiongroup-with-undef-external-reference.test +++ b/lld/test/elf/sectionGroups/sectiongroup-with-undef-external-reference.test @@ -75,7 +75,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .foo Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_EXECINSTR, SHF_GROUP ] @@ -129,7 +128,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .foo Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_EXECINSTR, SHF_GROUP ] @@ -184,7 +182,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .comment Type: SHT_PROGBITS Flags: [ SHF_MERGE, SHF_STRINGS ] diff --git a/lld/test/elf/sectionGroups/sectiongroup-with-undef-signature.test b/lld/test/elf/sectionGroups/sectiongroup-with-undef-signature.test index 11cb5de40a63..06f1954d067d 100644 --- a/lld/test/elf/sectionGroups/sectiongroup-with-undef-signature.test +++ b/lld/test/elf/sectionGroups/sectiongroup-with-undef-signature.test @@ -76,7 +76,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .foo Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_EXECINSTR, SHF_GROUP ] @@ -139,7 +138,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .foo Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_EXECINSTR, SHF_GROUP ] @@ -185,7 +183,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .comment Type: SHT_PROGBITS Flags: [ SHF_MERGE, SHF_STRINGS ] diff --git a/lld/test/elf/sh_addralign.test b/lld/test/elf/sh_addralign.test index 9c7a050f565c..dc24da657324 100644 --- a/lld/test/elf/sh_addralign.test +++ b/lld/test/elf/sh_addralign.test @@ -22,7 +22,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 1 - Content: '' Size: 0x1000 - Name: .data Type: SHT_PROGBITS diff --git a/lld/test/elf/strip-all.test b/lld/test/elf/strip-all.test index d00d79f210d2..bf8974dbfad3 100644 --- a/lld/test/elf/strip-all.test +++ b/lld/test/elf/strip-all.test @@ -48,7 +48,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .comment Type: SHT_PROGBITS Flags: [ SHF_MERGE, SHF_STRINGS ] diff --git a/lld/test/elf/tls-tbss-size.test b/lld/test/elf/tls-tbss-size.test index 52550f7d3941..748b78c4eac3 100644 --- a/lld/test/elf/tls-tbss-size.test +++ b/lld/test/elf/tls-tbss-size.test @@ -93,7 +93,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .tdata Type: SHT_PROGBITS Flags: [ SHF_WRITE, SHF_ALLOC, SHF_TLS ] @@ -103,7 +102,7 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC, SHF_TLS ] AddressAlign: 0x0000000000000004 - Content: 00636C616E672076657273696F6E2033 + Size: 16 - Name: .note.GNU-stack Type: SHT_PROGBITS AddressAlign: 0x0000000000000001 diff --git a/lld/test/elf/undef-from-dso-to-main.test b/lld/test/elf/undef-from-dso-to-main.test index 71d0b51499dd..9dc6c62b498b 100644 --- a/lld/test/elf/undef-from-dso-to-main.test +++ b/lld/test/elf/undef-from-dso-to-main.test @@ -28,7 +28,7 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '002E7379' + Size: 4 Symbols: Local: - Name: .text diff --git a/lld/test/elf/wrap.test b/lld/test/elf/wrap.test index 997439f8f5b4..e159bd21b1ca 100644 --- a/lld/test/elf/wrap.test +++ b/lld/test/elf/wrap.test @@ -71,7 +71,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .comment Type: SHT_PROGBITS Flags: [ SHF_MERGE, SHF_STRINGS ] @@ -154,7 +153,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .comment Type: SHT_PROGBITS Flags: [ SHF_MERGE, SHF_STRINGS ] @@ -227,7 +225,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .comment Type: SHT_PROGBITS Flags: [ SHF_MERGE, SHF_STRINGS ] diff --git a/lld/test/elf/zoption_dtflags.test b/lld/test/elf/zoption_dtflags.test index 1c5d838815c7..d366c9a47500 100644 --- a/lld/test/elf/zoption_dtflags.test +++ b/lld/test/elf/zoption_dtflags.test @@ -29,7 +29,6 @@ Sections: Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000004 - Content: '' - Name: .comment Type: SHT_PROGBITS Flags: [ SHF_MERGE, SHF_STRINGS ] |