2015-01-18 16:17:27 +00:00
|
|
|
; RUN: llc -mtriple mipsel-unknown-linux < %s | FileCheck %s
|
2012-12-02 13:10:19 +00:00
|
|
|
|
|
|
|
target triple = "mipsel-unknown-linux"
|
|
|
|
|
|
|
|
@llvm.global_ctors = appending global [1 x { i32, void ()* }] [{ i32, void ()* } { i32 65535, void ()* @test }]
|
|
|
|
; CHECK: .section
|
|
|
|
; CHECK: .init_array
|
|
|
|
; CHECK-NOT: .ctors
|
|
|
|
; CHECK: .4byte test
|
|
|
|
|
|
|
|
define internal void @test() section ".text.startup" {
|
|
|
|
entry:
|
|
|
|
ret void
|
|
|
|
}
|