diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-08-07 15:09:36 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-08-08 09:17:49 +0100 |
commit | 392c117e7ab05da10a374f695d5232e7527ab5de (patch) | |
tree | 96acdc69cdc0815a3b820101ba14225ae466535d /meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch | |
parent | 470c58ba4586082de802759686460222cc04336d (diff) | |
download | poky-392c117e7ab05da10a374f695d5232e7527ab5de.tar.gz |
glibc: Upgrade to 2.32 release
Drop 0001-localedef-Add-hardlink-resolver-to-build.patch as its applied
to localedef upstream
Drop CVE patches which are already part of 2.32 release
Drop unused attribute patch as its fixed differently in 2.32
Add a patch to mitigate the sideffect of [1] for ppc which detect wrong
cpu in OE since we are cross compiling
[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=146fea07640387c78e334933de24b6353e1f0eba
(From OE-Core rev: fe3d5136ef02721f9bbe01d98c1743b8dbcb69c5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch')
-rw-r--r-- | meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch b/meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch deleted file mode 100644 index 2a503c811e..0000000000 --- a/meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | From 25c21857a3fc0eb26831616ba88a696dd31ecba1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 18 Mar 2015 00:55:53 +0000 | ||
4 | Subject: [PATCH] eglibc: Resolve __fpscr_values on SH4 | ||
5 | |||
6 | 2010-09-29 Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | ||
7 | Andrew Stubbs <ams@codesourcery.com> | ||
8 | |||
9 | Resolve SH's __fpscr_values to symbol in libc.so. | ||
10 | |||
11 | * sysdeps/sh/sh4/fpu/fpu_control.h: Add C++ __set_fpscr prototype. | ||
12 | * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.2): Add __fpscr_values. | ||
13 | * sysdeps/unix/sysv/linux/sh/sysdep.S (___fpscr_values): New constant. | ||
14 | |||
15 | Upstream-Status: Pending | ||
16 | |||
17 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
18 | --- | ||
19 | sysdeps/unix/sysv/linux/sh/Versions | 1 + | ||
20 | sysdeps/unix/sysv/linux/sh/sysdep.S | 11 +++++++++++ | ||
21 | 2 files changed, 12 insertions(+) | ||
22 | |||
23 | diff --git a/sysdeps/unix/sysv/linux/sh/Versions b/sysdeps/unix/sysv/linux/sh/Versions | ||
24 | index e0938c4165..ca1d7da339 100644 | ||
25 | --- a/sysdeps/unix/sysv/linux/sh/Versions | ||
26 | +++ b/sysdeps/unix/sysv/linux/sh/Versions | ||
27 | @@ -2,6 +2,7 @@ libc { | ||
28 | GLIBC_2.2 { | ||
29 | # functions used in other libraries | ||
30 | __xstat64; __fxstat64; __lxstat64; | ||
31 | + __fpscr_values; | ||
32 | |||
33 | # a* | ||
34 | alphasort64; | ||
35 | diff --git a/sysdeps/unix/sysv/linux/sh/sysdep.S b/sysdeps/unix/sysv/linux/sh/sysdep.S | ||
36 | index 85ff3f900e..7743b8d57a 100644 | ||
37 | --- a/sysdeps/unix/sysv/linux/sh/sysdep.S | ||
38 | +++ b/sysdeps/unix/sysv/linux/sh/sysdep.S | ||
39 | @@ -30,3 +30,14 @@ ENTRY (__syscall_error) | ||
40 | |||
41 | #define __syscall_error __syscall_error_1 | ||
42 | #include <sysdeps/unix/sh/sysdep.S> | ||
43 | + | ||
44 | + .data | ||
45 | + .align 3 | ||
46 | + .globl ___fpscr_values | ||
47 | + .type ___fpscr_values, @object | ||
48 | + .size ___fpscr_values, 8 | ||
49 | +___fpscr_values: | ||
50 | + .long 0 | ||
51 | + .long 0x80000 | ||
52 | +weak_alias (___fpscr_values, __fpscr_values) | ||
53 | + | ||