OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [gold/] [testsuite/] [split_i386_1.s] - Blame information for rev 139

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 khays
# split_i386_1.s: i386 specific test case for -fsplit-stack.
2
 
3
        .text
4
 
5
        .global fn1
6
        .type   fn1,@function
7
fn1:
8
        cmp     %gs:0x30,%esp
9
        jae     1f
10
        call    __morestack
11
        ret
12
1:
13
        call    fn2
14
        ret
15
 
16
        .size   fn1,. - fn1
17
 
18
        .global fn2
19
        .type   fn2,@function
20
fn2:
21
        lea     -0x200(%esp),%ecx
22
        cmp     %gs:0x30,%ecx
23
        jae     1f
24
        call    __morestack
25
        ret
26
1:
27
        call    fn1
28
        ret
29
 
30
        .size   fn2,. - fn2
31
 
32
        .section        .note.GNU-stack,"",@progbits
33
        .section        .note.GNU-split-stack,"",@progbits

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.