Last change
on this file since 371 was 331, checked in by coas-nagasima, 6 years ago |
prototoolに関連するプロジェクトをnewlibからmuslを使うよう変更・更新
ntshellをnewlibの下位の実装から、muslのsyscallの実装に変更・更新
以下のOSSをアップデート
・mruby-1.3.0
・musl-1.1.18
・onigmo-6.1.3
・tcc-0.9.27
以下のOSSを追加
・openssl-1.1.0e
・curl-7.57.0
・zlib-1.2.11
以下のmrbgemsを追加
・iij/mruby-digest
・iij/mruby-env
・iij/mruby-errno
・iij/mruby-iijson
・iij/mruby-ipaddr
・iij/mruby-mock
・iij/mruby-require
・iij/mruby-tls-openssl
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/plain
|
File size:
807 bytes
|
Line | |
---|
1 | /* ---------------------------------------------- */
|
---|
2 | /* alloca86-bt.S */
|
---|
3 |
|
---|
4 | .globl __bound_alloca
|
---|
5 |
|
---|
6 | __bound_alloca:
|
---|
7 | pop %edx
|
---|
8 | pop %eax
|
---|
9 | mov %eax, %ecx
|
---|
10 | add $3,%eax
|
---|
11 | and $-4,%eax
|
---|
12 | jz p6
|
---|
13 |
|
---|
14 | #ifdef _WIN32
|
---|
15 | p4:
|
---|
16 | cmp $4096,%eax
|
---|
17 | jbe p5
|
---|
18 | test %eax,-4096(%esp)
|
---|
19 | sub $4096,%esp
|
---|
20 | sub $4096,%eax
|
---|
21 | jmp p4
|
---|
22 |
|
---|
23 | p5:
|
---|
24 | #endif
|
---|
25 |
|
---|
26 | sub %eax,%esp
|
---|
27 | mov %esp,%eax
|
---|
28 |
|
---|
29 | push %edx
|
---|
30 | push %eax
|
---|
31 | push %ecx
|
---|
32 | push %eax
|
---|
33 | call __bound_new_region
|
---|
34 | add $8, %esp
|
---|
35 | pop %eax
|
---|
36 | pop %edx
|
---|
37 |
|
---|
38 | p6:
|
---|
39 | push %edx
|
---|
40 | push %edx
|
---|
41 | ret
|
---|
42 |
|
---|
43 | /* mark stack as nonexecutable */
|
---|
44 | #if defined __ELF__ && defined __linux__
|
---|
45 | .section .note.GNU-stack,"",@progbits
|
---|
46 | #endif
|
---|
47 | /* ---------------------------------------------- */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.