James Molloy | 6685c08 | 2012-01-26 09:25:43 +0000 | [diff] [blame^] | 1 | ; 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 | |||||
7 | define void @f() { | ||||
8 | ret void | ||||
9 | } | ||||
10 | |||||
11 | ; Check for a relocation of type R_ARM_TARGET1. | ||||
12 | ; CHECK: ('r_type', 0x26) |