1 ; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=g5 | FileCheck %s
3 ; CHECK: .section .opd,"aw",@progbits
6 ; CHECK-NEXT: .quad .L.test1
7 ; CHECK-NEXT: .quad .TOC.@tocbase
9 ; CHECK-NEXT: .L.test1:
11 define i32 @test1(i32 %a) nounwind {
16 ; Until recently, binutils accepted the .size directive as:
17 ; .size test1, .Ltmp0-test1
18 ; however, using this directive with recent binutils will result in the error:
19 ; .size expression for XXX does not evaluate to a constant
20 ; so we must use the label which actually tags the start of the function.
21 ; CHECK: .size test1, .Ltmp0-.L.test1