Last change
on this file since 380 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:
525 bytes
|
Rev | Line | |
---|
[279] | 1 | /* ---------------------------------------------- */
|
---|
| 2 | /* alloca86_64.S */
|
---|
| 3 |
|
---|
| 4 | .globl alloca
|
---|
| 5 |
|
---|
| 6 | alloca:
|
---|
| 7 | pop %rdx
|
---|
[331] | 8 | #ifdef _WIN32
|
---|
[279] | 9 | mov %rcx,%rax
|
---|
| 10 | #else
|
---|
| 11 | mov %rdi,%rax
|
---|
| 12 | #endif
|
---|
| 13 | add $15,%rax
|
---|
| 14 | and $-16,%rax
|
---|
| 15 | jz p3
|
---|
| 16 |
|
---|
[331] | 17 | #ifdef _WIN32
|
---|
[279] | 18 | p1:
|
---|
| 19 | cmp $4096,%rax
|
---|
[331] | 20 | jbe p2
|
---|
| 21 | test %rax,-4096(%rsp)
|
---|
[279] | 22 | sub $4096,%rsp
|
---|
| 23 | sub $4096,%rax
|
---|
| 24 | jmp p1
|
---|
| 25 | p2:
|
---|
| 26 | #endif
|
---|
| 27 |
|
---|
| 28 | sub %rax,%rsp
|
---|
| 29 | mov %rsp,%rax
|
---|
| 30 | p3:
|
---|
| 31 | push %rdx
|
---|
| 32 | ret
|
---|
| 33 |
|
---|
| 34 | /* ---------------------------------------------- */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.