[PATCH] D111068: [ELF][test][NFC] Make a test standard compliant

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 4 21:40:43 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG65c284a7be03: [ELF][test][NFC] Make a test standard compliant (authored by ikudrin).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111068/new/

https://reviews.llvm.org/D111068

Files:
  lld/test/ELF/linkerscript/implicit-program-header.test


Index: lld/test/ELF/linkerscript/implicit-program-header.test
===================================================================
--- lld/test/ELF/linkerscript/implicit-program-header.test
+++ lld/test/ELF/linkerscript/implicit-program-header.test
@@ -7,9 +7,9 @@
 # RUN: llvm-readelf -l %t1 | FileCheck %s
 
 # CHECK:      Segment Sections...
-# CHECK-NEXT:   00     .dynsym .hash .dynstr .foo .text .dynamic
-# CHECK-NEXT:   01     .foo
-# CHECK-NEXT:   02     .foo
+# CHECK-NEXT:   00     .dynsym .hash .dynstr .text
+# CHECK-NEXT:   01     .foo .dynamic
+# CHECK-NEXT:   02     .foo .dynamic
 
 PHDRS {
   ph_write PT_LOAD FLAGS(2);
@@ -18,7 +18,7 @@
 }
 
 SECTIONS {
+  .text : { *(.text) } : ph_write
   .bar : { *(.bar) } : ph_exec : ph_note
   .foo : { *(.foo) }
-  .text : { *(.text) } : ph_write
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111068.377084.patch
Type: text/x-patch
Size: 809 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211005/181b6a0e/attachment.bin>


More information about the llvm-commits mailing list