mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
5e86804089
Differential Revision: http://reviews.llvm.org/D8400 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232744 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
507 B
LLVM
16 lines
507 B
LLVM
; REQUIRES: ld_emu_elf32ppc
|
|
|
|
; RUN: llvm-as %s -o %t.o
|
|
; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -m elf32ppc \
|
|
; RUN: -plugin-opt=mtriple=powerpc-linux-gnu \
|
|
; RUN: -plugin-opt=obj-path=%t3.o \
|
|
; RUN: -shared %t.o -o %t2
|
|
; RUN: llvm-readobj --file-headers %t2 | FileCheck --check-prefix=DSO %s
|
|
; RUN: llvm-readobj --file-headers %t3.o | FileCheck --check-prefix=REL %s
|
|
|
|
; REL: Type: Relocatable
|
|
; REL-NEXT: Machine: EM_PPC
|
|
|
|
; DSO: Type: SharedObject
|
|
; DSO-NEXT: Machine: EM_PPC
|