summaryrefslogtreecommitdiff
path: root/weak/a.s
blob: b01c5b8734ab4a19d789de4d458bae545dcea82b (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
	.file	"a.c"
	.text
	.p2align 4,,15
	.globl	__sym
	.def	__sym;	.scl	2;	.type	32;	.endef
	.seh_proc	__sym
__sym:
	.seh_endprologue
	leal	1(%rcx), %eax
	ret
	.seh_endproc
	.weak	sym
	.def	sym;	.scl	2;	.type	32;	.endef
	.set	sym,__sym
	.p2align 4,,15
	.globl	same
	.def	same;	.scl	2;	.type	32;	.endef
	.seh_proc	same
same:
	subq	$40, %rsp
	.seh_stackalloc	40
	.seh_endprologue
	call	sym
	leal	(%rax,%rax,2), %eax
	addq	$40, %rsp
	ret
	.seh_endproc
	.ident	"GCC: (GNU) 4.8.2"