From 230bfe1a7d46c85601e5e67497cc607e15d08990 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 22 Jan 2016 03:46:00 +0000 Subject: [PATCH] move sh __unmapself code from arch/sh/src to main src tree --- {arch/sh/src => src/thread/sh}/__unmapself.c | 2 +- src/thread/sh/{__unmapself.s => __unmapself_mmu.s} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {arch/sh/src => src/thread/sh}/__unmapself.c (93%) rename src/thread/sh/{__unmapself.s => __unmapself_mmu.s} (100%) diff --git a/arch/sh/src/__unmapself.c b/src/thread/sh/__unmapself.c similarity index 93% rename from arch/sh/src/__unmapself.c rename to src/thread/sh/__unmapself.c index b804aeff..d4fb8be5 100644 --- a/arch/sh/src/__unmapself.c +++ b/src/thread/sh/__unmapself.c @@ -10,7 +10,7 @@ void __unmapself_sh_nommu(void *, size_t); #define CRTJMP(pc,sp) __asm__ __volatile__( \ "mov.l @%0+,r0 ; mov.l @%0,r12 ; jmp @r0 ; mov %1,r15" \ : : "r"(pc), "r"(sp) : "r0", "memory" ) -#include "../../../src/thread/__unmapself.c" +#include "../__unmapself.c" #undef __unmapself extern __attribute__((__visibility__("hidden"))) unsigned __sh_nommu; #else diff --git a/src/thread/sh/__unmapself.s b/src/thread/sh/__unmapself_mmu.s similarity index 100% rename from src/thread/sh/__unmapself.s rename to src/thread/sh/__unmapself_mmu.s -- 2.25.1