blob: e06d2c73ed93e8d8df24f34bcd5f128f77d0ea3a [file] [log] [blame]
James Molloy6685c082012-01-26 09:25:43 +00001; RUN: llc %s -mtriple=armv7-linux-gnueabi -relocation-model=pic \
2; RUN: -filetype=obj -o - | elf-dump --dump-section-data | FileCheck %s
3
4
5@llvm.global_ctors = appending global [1 x { i32, void ()* }] [{ i32, void ()* } { i32 65535, void ()* @f }]
6
7define void @f() {
8 ret void
9}
10
11; Check for a relocation of type R_ARM_TARGET1.
12; CHECK: ('r_type', 0x26)