提交 230bfe1a 编写于 作者: R Rich Felker

move sh __unmapself code from arch/sh/src to main src tree

上级 66215afc
...@@ -10,7 +10,7 @@ void __unmapself_sh_nommu(void *, size_t); ...@@ -10,7 +10,7 @@ void __unmapself_sh_nommu(void *, size_t);
#define CRTJMP(pc,sp) __asm__ __volatile__( \ #define CRTJMP(pc,sp) __asm__ __volatile__( \
"mov.l @%0+,r0 ; mov.l @%0,r12 ; jmp @r0 ; mov %1,r15" \ "mov.l @%0+,r0 ; mov.l @%0,r12 ; jmp @r0 ; mov %1,r15" \
: : "r"(pc), "r"(sp) : "r0", "memory" ) : : "r"(pc), "r"(sp) : "r0", "memory" )
#include "../../../src/thread/__unmapself.c" #include "../__unmapself.c"
#undef __unmapself #undef __unmapself
extern __attribute__((__visibility__("hidden"))) unsigned __sh_nommu; extern __attribute__((__visibility__("hidden"))) unsigned __sh_nommu;
#else #else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册