mailing list of musl libc
 help / color / mirror / code / Atom feed
9afc47808253d2520f63a1bcb819d7b8af5e180f blob 362 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
 
#if __ARM_ARCH_PROFILE != 'M'

#include "pthread_impl.h"

void __unmapself(void *base, size_t size)
{
	register void *r0 __asm__("r0") = base;
	register size_t r1 __asm__("r1") = size;
	__asm__ __volatile__ (
	"	movs r7,#91 \n"
	"	svc 0 \n"
	"	movs r7,#1 \n"
	"	svc 0 \n"
	:: "r"(r0), "r"(r1));
}

#else

#include "../__unmapself.c"

#endif
debug log:

solving 9afc4780 ...
found 9afc4780 in https://inbox.vuxu.org/musl/CALqyXLh0zwXPzvoBLaKx=jQx1eiQ22S2CSjsN47FntJAryst4w@mail.gmail.com/

applying [1/1] https://inbox.vuxu.org/musl/CALqyXLh0zwXPzvoBLaKx=jQx1eiQ22S2CSjsN47FntJAryst4w@mail.gmail.com/
diff --git a/src/thread/arm/__unmapself.c b/src/thread/arm/__unmapself.c
new file mode 100755
index 00000000..9afc4780

1:7: trailing whitespace.
#if __ARM_ARCH_PROFILE != 'M'\r
1:8: trailing whitespace.
\r
1:9: trailing whitespace.
#include "pthread_impl.h"\r
1:10: trailing whitespace.
\r
1:11: trailing whitespace.
void __unmapself(void *base, size_t size)\r
Checking patch src/thread/arm/__unmapself.c...
Applied patch src/thread/arm/__unmapself.c cleanly.
warning: squelched 16 whitespace errors
warning: 21 lines add whitespace errors.

index at:
100755 9afc47808253d2520f63a1bcb819d7b8af5e180f	src/thread/arm/__unmapself.c

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).