aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr25416-5b.s
blob: 8edd248c4fe94f488b210694e54ead741c8896b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
	.text
	.p2align 4
	.globl	test1
	.type	test1, @function
test1:
	.cfi_startproc
	subl	$8, %esp
	.cfi_def_cfa_offset 16
	lea	foo@TLSDESC(%rip), %eax
	call	*foo@TLSCALL(%eax)
	addl	%fs:0, %eax
	cmpl	%edi, (%eax)
	jne	.L5
	addl	$8, %esp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	abort@PLT
	.cfi_endproc
	.size	test1, .-test1
	.p2align 4
	.globl	test2
	.type	test2, @function
test2:
	.cfi_startproc
	subl	$8, %esp
	.cfi_def_cfa_offset 16
	lea	bar@TLSDESC(%rip), %eax
	call	*bar@TLSCALL(%eax)
	addl	%fs:0, %eax
	cmpl	%edi, (%eax)
	jne	.L9
	addl	$8, %esp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	call	abort@PLT
	.cfi_endproc
	.size	test2, .-test2
	.section	.tdata,"awT",@progbits
	.align 4
	.hidden foo
	.globl foo
	.type	foo, @object
	.size	foo, 4
foo:
	.long	30
	.section	.note.GNU-stack,"",@progbits