mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #1537, support aarch64 for armv8. 3.0.84
This commit is contained in:
parent
0e0889af02
commit
ea8111cff5
4 changed files with 106 additions and 5 deletions
6
trunk/3rdparty/st-srs/md.h
vendored
6
trunk/3rdparty/st-srs/md.h
vendored
|
@ -418,6 +418,12 @@
|
|||
#endif
|
||||
#define MD_GET_SP(_t) (_t)->context[0].__jmpbuf[JB_RSP]
|
||||
|
||||
#elif defined(__aarch64__)
|
||||
/* https://github.com/ossrs/state-threads/issues/9 */
|
||||
#define MD_STACK_GROWS_DOWN
|
||||
#define MD_USE_BUILTIN_SETJMP
|
||||
#define MD_GET_SP(_t) (_t)->context[0].__jmpbuf[13]
|
||||
|
||||
#elif defined(__arm__)
|
||||
#define MD_STACK_GROWS_DOWN
|
||||
/* https://github.com/ossrs/state-threads/issues/1#issuecomment-244648573 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue