[PATCH] D27500: [ELF] Fix the broken PPC test
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 6 18:57:54 PST 2016
phosek created this revision.
phosek added a reviewer: ruiu.
phosek added a subscriber: llvm-commits.
phosek set the repository for this revision to rL LLVM.
phosek added a project: lld.
Herald added a subscriber: nemanjai.
This is related to the change in handling of entry point symbols.
Repository:
rL LLVM
https://reviews.llvm.org/D27500
Files:
test/ELF/basic-ppc.s
test/ELF/gc-sections-keep-shared-start.s
Index: test/ELF/gc-sections-keep-shared-start.s
===================================================================
--- test/ELF/gc-sections-keep-shared-start.s
+++ 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: test/ELF/basic-ppc.s
===================================================================
--- test/ELF/basic-ppc.s
+++ 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.80531.patch
Type: text/x-patch
Size: 977 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161207/c4298554/attachment.bin>
More information about the llvm-commits
mailing list