diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-08-28 06:00:54 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-01 18:02:21 +0100 |
commit | 54a3375a1084f02ebd95886739e951228e945c57 (patch) | |
tree | fe139449256b0ed85504b896a9782bccd8a9d3a1 /meta/recipes-core/glibc/glibc/eglibc-sh4-fpscr_values.patch | |
parent | 954e45bc7464573ed4776dbcd72eb76d4fca0b3d (diff) | |
download | poky-54a3375a1084f02ebd95886739e951228e945c57.tar.gz |
glibc: Migrate eglibc 2.19 -> glibc 2.20
- This is a big swoop change where we switch to using glibc
- option-groups are forward ported
- cross-localedef is extracted out from eglibc and hosted
at github.com/kraj/localedef, its used for cross-localedef
recipe
- Other non ported patches from eglibc are forward ported
ppc8xx cache line workaround
SH fpcr values
dynamic resolver
installing PIC archives is there but is not applied
libc header bootstrap
- Delete eglibc recipes we moved back to using glibc now
- Fix ppc/e500 build
- Fix crypt module build when options are used
- Fix fnmatch build when options OPTION_EGLIBC_LOCALE_CODE is unset
HAVE_MBSTATE_T and HAVE_MBSRTOWCS should be defined conditionally
based upon OPTION_EGLIBC_LOCALE_CODE being set/unset
- Move the ports/ patches to relevant files now that ports is gone
(From OE-Core rev: 1027c535ea753e63d9ffe469a423e04467cf8940)
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/eglibc-sh4-fpscr_values.patch')
-rw-r--r-- | meta/recipes-core/glibc/glibc/eglibc-sh4-fpscr_values.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc/eglibc-sh4-fpscr_values.patch b/meta/recipes-core/glibc/glibc/eglibc-sh4-fpscr_values.patch new file mode 100644 index 0000000000..bfb813eb7c --- /dev/null +++ b/meta/recipes-core/glibc/glibc/eglibc-sh4-fpscr_values.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | 2010-09-29 Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | ||
2 | Andrew Stubbs <ams@codesourcery.com> | ||
3 | |||
4 | Resolve SH's __fpscr_values to symbol in libc.so. | ||
5 | |||
6 | * sysdeps/sh/sh4/fpu/fpu_control.h: Add C++ __set_fpscr prototype. | ||
7 | * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.2): Add __fpscr_values. | ||
8 | * sysdeps/unix/sysv/linux/sh/sysdep.S (___fpscr_values): New constant. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Index: git/sysdeps/unix/sysv/linux/sh/sysdep.S | ||
13 | =================================================================== | ||
14 | --- git.orig/sysdeps/unix/sysv/linux/sh/sysdep.S 2014-08-27 18:49:24.036070587 +0000 | ||
15 | +++ git/sysdeps/unix/sysv/linux/sh/sysdep.S 2014-08-27 18:49:27.332070587 +0000 | ||
16 | @@ -30,3 +30,14 @@ | ||
17 | |||
18 | #define __syscall_error __syscall_error_1 | ||
19 | #include <sysdeps/unix/sh/sysdep.S> | ||
20 | + | ||
21 | + .data | ||
22 | + .align 3 | ||
23 | + .globl ___fpscr_values | ||
24 | + .type ___fpscr_values, @object | ||
25 | + .size ___fpscr_values, 8 | ||
26 | +___fpscr_values: | ||
27 | + .long 0 | ||
28 | + .long 0x80000 | ||
29 | +weak_alias (___fpscr_values, __fpscr_values) | ||
30 | + | ||
31 | Index: git/sysdeps/unix/sysv/linux/sh/Versions | ||
32 | =================================================================== | ||
33 | --- git.orig/sysdeps/unix/sysv/linux/sh/Versions 2014-08-27 18:49:24.028070587 +0000 | ||
34 | +++ git/sysdeps/unix/sysv/linux/sh/Versions 2014-08-27 18:49:27.332070587 +0000 | ||
35 | @@ -2,6 +2,7 @@ | ||
36 | GLIBC_2.2 { | ||
37 | # functions used in other libraries | ||
38 | __xstat64; __fxstat64; __lxstat64; | ||
39 | + __fpscr_values; | ||
40 | |||
41 | # a* | ||
42 | alphasort64; | ||