1; REQUIRES: ld_emu_elf32ppc 2 3; RUN: llvm-as %s -o %t.o 4; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -m elf32ppc \ 5; RUN: -plugin-opt=mtriple=powerpc-linux-gnu \ 6; RUN: -plugin-opt=obj-path=%t3.o \ 7; RUN: -shared %t.o -o %t2 8; RUN: llvm-readobj --file-headers %t2 | FileCheck --check-prefix=DSO %s 9; RUN: llvm-readobj --file-headers %t3.o | FileCheck --check-prefix=REL %s 10 11target datalayout = "E-m:e-i64:64-n32:64" 12target triple = "powerpc64-unknown-linux-gnu" 13 14; REL: Type: Relocatable 15; REL-NEXT: Machine: EM_PPC 16 17; DSO: Type: SharedObject 18; DSO-NEXT: Machine: EM_PPC 19