summaryrefslogtreecommitdiff
path: root/weak/b.s
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-06-05 23:07:14 -0400
committermidipix <writeonce@midipix.org>2015-06-05 23:07:14 -0400
commit470f811eacf4ff872d8ac658a58fe4fed8110979 (patch)
tree4f0e3cc0b5aee74c0d97c1f6e1ddb45985d70d9a /weak/b.s
parent9a309e895bb88a083440228bd32c5766d540e1a7 (diff)
downloadscrap-470f811eacf4ff872d8ac658a58fe4fed8110979.tar.bz2
scrap-470f811eacf4ff872d8ac658a58fe4fed8110979.tar.xz
[s]eeing is believing.HEADmain
Diffstat (limited to 'weak/b.s')
-rw-r--r--weak/b.s17
1 files changed, 17 insertions, 0 deletions
diff --git a/weak/b.s b/weak/b.s
new file mode 100644
index 0000000..18e0d26
--- /dev/null
+++ b/weak/b.s
@@ -0,0 +1,17 @@
+ .file "b.c"
+ .text
+ .p2align 4,,15
+ .globl test
+ .def test; .scl 2; .type 32; .endef
+ .seh_proc test
+test:
+ subq $40, %rsp
+ .seh_stackalloc 40
+ .seh_endprologue
+ call sym
+ addl %eax, %eax
+ addq $40, %rsp
+ ret
+ .seh_endproc
+ .ident "GCC: (GNU) 4.8.2"
+ .def sym; .scl 2; .type 32; .endef