[PATCH] D27500: [ELF] Fix the broken PPC test

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 6 19:14:13 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL288880: [ELF] Fix the broken PPC test (authored by phosek).

Changed prior to commit:
  https://reviews.llvm.org/D27500?vs=80531&id=80534#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D27500

Files:
  lld/trunk/test/ELF/basic-ppc.s
  lld/trunk/test/ELF/gc-sections-keep-shared-start.s


Index: lld/trunk/test/ELF/gc-sections-keep-shared-start.s
===================================================================
--- lld/trunk/test/ELF/gc-sections-keep-shared-start.s
+++ lld/trunk/test/ELF/gc-sections-keep-shared-start.s
@@ -1,5 +1,6 @@
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
+# REQUIRES: x86
 
+# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
 # RUN: ld.lld -shared --gc-sections -o %t1 %t
 # RUN: llvm-readobj --elf-output-style=GNU --file-headers --symbols %t1
 #   | FileCheck %s
Index: lld/trunk/test/ELF/basic-ppc.s
===================================================================
--- lld/trunk/test/ELF/basic-ppc.s
+++ lld/trunk/test/ELF/basic-ppc.s
@@ -26,7 +26,7 @@
 // CHECK-NEXT:   Type: SharedObject (0x3)
 // CHECK-NEXT:   Machine: EM_PPC (0x14)
 // CHECK-NEXT:   Version: 1
-// CHECK-NEXT:   Entry: 0x0
+// CHECK-NEXT:   Entry: 0x1000
 // CHECK-NEXT:   ProgramHeaderOffset: 0x34
 // CHECK-NEXT:   SectionHeaderOffset: 0x20AC
 // CHECK-NEXT:   Flags [ (0x0)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27500.80534.patch
Type: text/x-patch
Size: 1037 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161207/dde2e1b9/attachment.bin>


More information about the llvm-commits mailing list