8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / sgs / test / ld / x64 / tls / ie / style1-func-with-r13.s
blob97908bd7209a50a1d58589a0d312818407ead5e0
1 /*
2 * This file and its contents are supplied under the terms of the
3 * Common Development and Distribution License ("CDDL"), version 1.0.
4 * You may only use this file in accordance with the terms of version
5 * 1.0 of the CDDL.
7 * A full copy of the text of the CDDL should have accompanied this
8 * source. A copy of the CDDL is also available via the Internet at
9 * http://www.illumos.org/license/CDDL.
13 * Copyright 2012, Richard Lowe.
15 .section .rodata.str1.1,"aMS",@progbits,1
16 .LC0:
17 .string "foo: %p bar: %p\n"
18 .text
19 .globl func
20 .type func, @function
21 func:
22 .LFB0:
23 pushq %rbp
24 .LCFI0:
25 movq %rsp, %rbp
26 .LCFI1:
27 movq %fs:0, %r13
28 movq %r13, %rdx
29 addq bar@GOTTPOFF(%rip), %rdx
30 addq foo@GOTTPOFF(%rip), %r13
31 movq %r13, %rsi
32 movl $.LC0, %edi
33 movl $0, %eax
34 call printf
35 leave
36 ret
37 .LFE0:
38 .size func, .-func