summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gold/testsuite/split_x32_4.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gold/testsuite/split_x32_4.s')
-rw-r--r--binutils-2.25/gold/testsuite/split_x32_4.s23
1 files changed, 23 insertions, 0 deletions
diff --git a/binutils-2.25/gold/testsuite/split_x32_4.s b/binutils-2.25/gold/testsuite/split_x32_4.s
new file mode 100644
index 00000000..1f4eece4
--- /dev/null
+++ b/binutils-2.25/gold/testsuite/split_x32_4.s
@@ -0,0 +1,23 @@
+# split_x32_4.s: x32 specific, permitted adjustment failure
+
+ .text
+
+ .global fn1
+ .type fn1,@function
+fn1:
+ push %rbp
+ mov %esp,%ebp
+ cmp %fs:0x40,%esp
+ jae 1f
+ callq __morestack
+ retq
+1:
+ callq fn3
+ leaveq
+ retq
+
+ .size fn1,. - fn1
+
+ .section .note.GNU-stack,"",@progbits
+ .section .note.GNU-split-stack,"",@progbits
+ .section .note.GNU-no-split-stack,"",@progbits