Nobuhiro-san Same as you previous patch. revise the patch and add increment PR for the recipes you modified and also rebase it on latest master.
Thanks -Khem On Tue, Sep 14, 2010 at 12:46 AM, Nobuhiro Iwamatsu <[email protected]> wrote: > This provides a patch maintaining __fpscr_values in libc. > This patch is taken in in Debian and codesourcery. > > This patch is necessary to have compatibility in these and openemdedded. > > Signed-off-by: Nobuhiro Iwamatsu <[email protected]> > --- > recipes/eglibc/eglibc_2.10.bb | 1 + > recipes/eglibc/eglibc_2.11.bb | 1 + > recipes/eglibc/eglibc_2.12.bb | 1 + > recipes/eglibc/eglibc_2.9.bb | 1 + > recipes/eglibc/files/sh4_local-fpscr_values.patch | 32 > +++++++++++++++++++++ > 5 files changed, 36 insertions(+), 0 deletions(-) > create mode 100644 recipes/eglibc/files/sh4_local-fpscr_values.patch > > diff --git a/recipes/eglibc/eglibc_2.10.bb b/recipes/eglibc/eglibc_2.10.bb > index 1f7ec02..0b457e1 100644 > --- a/recipes/eglibc/eglibc_2.10.bb > +++ b/recipes/eglibc/eglibc_2.10.bb > @@ -13,6 +13,7 @@ SRC_URI = > "svn://svn.eglibc.org/branches;module=${EGLIBC_BRANCH};proto=svn \ > file://IO-acquire-lock-fix.patch \ > file://shorten-build-commands.patch \ > file://sh4_set_fpscr.patch \ > + file://sh4_local-fpscr_values.patch \ > file://etc/ld.so.conf \ > file://generate-supported.mk" > S = "${WORKDIR}/${EGLIBC_BRANCH}/libc" > diff --git a/recipes/eglibc/eglibc_2.11.bb b/recipes/eglibc/eglibc_2.11.bb > index c65bf22..1950d88 100644 > --- a/recipes/eglibc/eglibc_2.11.bb > +++ b/recipes/eglibc/eglibc_2.11.bb > @@ -13,6 +13,7 @@ SRC_URI = > "svn://svn.eglibc.org/branches;module=${EGLIBC_BRANCH};proto=svn \ > file://IO-acquire-lock-fix.patch \ > file://shorten-build-commands.patch \ > file://sh4_set_fpscr.patch \ > + file://sh4_local-fpscr_values.patch \ > file://etc/ld.so.conf \ > file://generate-supported.mk" > S = "${WORKDIR}/${EGLIBC_BRANCH}/libc" > diff --git a/recipes/eglibc/eglibc_2.12.bb b/recipes/eglibc/eglibc_2.12.bb > index 8dbcde0..a76d630 100644 > --- a/recipes/eglibc/eglibc_2.12.bb > +++ b/recipes/eglibc/eglibc_2.12.bb > @@ -13,6 +13,7 @@ SRC_URI = > "svn://svn.eglibc.org/branches;module=${EGLIBC_BRANCH};proto=svn \ > file://IO-acquire-lock-fix.patch \ > file://shorten-build-commands.patch \ > file://sh4_set_fpscr_2.12.patch \ > + file://sh4_local-fpscr_values.patch \ > file://etc/ld.so.conf \ > file://generate-supported.mk" > S = "${WORKDIR}/${EGLIBC_BRANCH}/libc" > diff --git a/recipes/eglibc/eglibc_2.9.bb b/recipes/eglibc/eglibc_2.9.bb > index 5df7eb8..3c0d1e1 100644 > --- a/recipes/eglibc/eglibc_2.9.bb > +++ b/recipes/eglibc/eglibc_2.9.bb > @@ -13,6 +13,7 @@ SRC_URI = > "svn://svn.eglibc.org/branches;module=${EGLIBC_BRANCH};proto=svn \ > file://IO-acquire-lock-fix.patch \ > file://shorten-build-commands.patch \ > file://sh4_set_fpscr.patch \ > + file://sh4_local-fpscr_values.patch \ > file://etc/ld.so.conf \ > file://generate-supported.mk" > S = "${WORKDIR}/${EGLIBC_BRANCH}/libc" > diff --git a/recipes/eglibc/files/sh4_local-fpscr_values.patch > b/recipes/eglibc/files/sh4_local-fpscr_values.patch > new file mode 100644 > index 0000000..1685f6f > --- /dev/null > +++ b/recipes/eglibc/files/sh4_local-fpscr_values.patch > @@ -0,0 +1,32 @@ > +--- > + sysdeps/unix/sysv/linux/sh/Versions | 1 + > + sysdeps/unix/sysv/linux/sh/sysdep.S | 11 +++++++++++ > + 2 files changed, 12 insertions(+) > + > +--- a/sysdeps/unix/sysv/linux/sh/Versions > ++++ b/sysdeps/unix/sysv/linux/sh/Versions > +@@ -2,6 +2,7 @@ > + GLIBC_2.2 { > + # functions used in other libraries > + __xstat64; __fxstat64; __lxstat64; > ++ __fpscr_values; > + > + # a* > + alphasort64; > +--- a/sysdeps/unix/sysv/linux/sh/sysdep.S > ++++ b/sysdeps/unix/sysv/linux/sh/sysdep.S > +@@ -32,3 +32,14 @@ > + > + #define __syscall_error __syscall_error_1 > + #include <sysdeps/unix/sh/sysdep.S> > ++ > ++ .data > ++ .align 3 > ++ .globl ___fpscr_values > ++ .type ___fpscr_values, @object > ++ .size ___fpscr_values, 8 > ++___fpscr_values: > ++ .long 0 > ++ .long 0x80000 > ++weak_alias (___fpscr_values, __fpscr_values) > ++ > -- > 1.7.1 > > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > -- -Khem _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
