diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-04-14 10:31:52 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-05 08:45:30 +0100 |
commit | 1aeeecba569fea1d4efe22b5fbd245b876e176da (patch) | |
tree | 2ecd364f031396f36001734bde9fe4927632dc66 /meta/recipes-core/musl/0001-Remove-using-.end-directive-with-clang.patch | |
parent | d165768b8e56a7d15922c8afe0f51251078c0b4d (diff) | |
download | poky-1aeeecba569fea1d4efe22b5fbd245b876e176da.tar.gz |
libucontext: Bring in mips/mips64 support
License-Update: Updated copyright years [1]
Latest master 0.10.x+ has added support for mips/mips64, which should
help compile ruby on musl for these architectures
Switch SRC_URI to github upstream URI
Check for common arches before checking others in map_kernel_arch
Drop already upstreamed patches
[1] https://github.com/kaniini/libucontext/commit/d31eaabbaf5f45656c10e4bccd3fe6653a7d3ec1
(From OE-Core rev: 5dbb7d5bb9509dd455673a326c9191dec6f3092c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/musl/0001-Remove-using-.end-directive-with-clang.patch')
-rw-r--r-- | meta/recipes-core/musl/0001-Remove-using-.end-directive-with-clang.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-core/musl/0001-Remove-using-.end-directive-with-clang.patch b/meta/recipes-core/musl/0001-Remove-using-.end-directive-with-clang.patch new file mode 100644 index 0000000000..be79cb53f1 --- /dev/null +++ b/meta/recipes-core/musl/0001-Remove-using-.end-directive-with-clang.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From b6732f68848ecc8ff01054bf7aea70a241c37116 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 10 Apr 2020 11:23:39 -0700 | ||
4 | Subject: [PATCH] Remove using .end directive with clang | ||
5 | |||
6 | Clang does not support this asm directive | ||
7 | Fixes Issue #19 | ||
8 | |||
9 | Upstream-Status: Submitted [https://github.com/kaniini/libucontext/pull/20] | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | arch/common/common-defs.h | 5 ++++- | ||
13 | 1 file changed, 4 insertions(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/arch/common/common-defs.h b/arch/common/common-defs.h | ||
16 | index bf2fb8c..618116b 100644 | ||
17 | --- a/arch/common/common-defs.h | ||
18 | +++ b/arch/common/common-defs.h | ||
19 | @@ -28,10 +28,13 @@ | ||
20 | ENT(__proc) \ | ||
21 | __proc: \ | ||
22 | SETUP_FRAME(__proc) | ||
23 | - | ||
24 | +#ifdef __clang__ | ||
25 | +#define END(__proc) | ||
26 | +#else | ||
27 | #define END(__proc) \ | ||
28 | .end __proc; \ | ||
29 | .size __proc,.-__proc; | ||
30 | +#endif | ||
31 | |||
32 | #define ALIAS(__alias, __real) \ | ||
33 | .weak __alias; \ | ||
34 | -- | ||
35 | 2.26.0 | ||
36 | |||