Rev 2927 | Rev 3168 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2927 | Rev 3153 | ||
---|---|---|---|
Line 50... | Line 50... | ||
50 | .cprestore 16 # Allow PIC code |
50 | .cprestore 16 # Allow PIC code |
51 | 51 | ||
52 | jal __main |
52 | jal __main |
53 | nop |
53 | nop |
54 | 54 | ||
55 | jal __io_init |
- | |
56 | nop |
- | |
57 | - | ||
58 | jal main |
55 | jal main |
59 | nop |
56 | nop |
60 | 57 | ||
61 | jal __exit |
58 | jal __exit |
62 | nop |
59 | nop |
63 | .end |
60 | .end |
64 | 61 | ||
65 | .ent __entry_driver |
- | |
66 | __entry_driver: |
- | |
67 | .frame $sp, 32, $31 |
- | |
68 | .cpload $25 |
- | |
69 | - | ||
70 | - | ||
71 | # Mips o32 may store its arguments on stack, make space (16 bytes), |
- | |
72 | # so that it could work with -O0 |
- | |
73 | # Make space additional 16 bytes for the stack frame |
- | |
74 | - | ||
75 | addiu $sp, -32 |
- | |
76 | .cprestore 16 # Allow PIC code |
- | |
77 | - | ||
78 | jal __main |
- | |
79 | nop |
- | |
80 | - | ||
81 | jal main |
- | |
82 | nop |
- | |
83 | - | ||
84 | jal __exit |
- | |
85 | nop |
- | |
86 | .end |
- | |
87 | # Alignment of output section data to 0x4000 |
62 | # Alignment of output section data to 0x4000 |
88 | .section .data |
63 | .section .data |
89 | .align 14 |
64 | .align 14 |