All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sh: provide patch of __set_fpscr in libc
@ 2010-09-14  7:46 Nobuhiro Iwamatsu
  2010-09-15 17:54 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Nobuhiro Iwamatsu @ 2010-09-14  7:46 UTC (permalink / raw)
  To: openembedded-devel

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 <nobuhiro.iwamatsu.yj@renesas.com>
---
 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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] sh: provide patch of __set_fpscr in libc
  2010-09-14  7:46 [PATCH] sh: provide patch of __set_fpscr in libc Nobuhiro Iwamatsu
@ 2010-09-15 17:54 ` Khem Raj
  2010-09-16  1:01   ` Nobuhiro Iwamatsu
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2010-09-15 17:54 UTC (permalink / raw)
  To: openembedded-devel

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
<nobuhiro.iwamatsu.yj@renesas.com> 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 <nobuhiro.iwamatsu.yj@renesas.com>
> ---
>  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
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
-Khem



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] sh: provide patch of __set_fpscr in libc
  2010-09-15 17:54 ` Khem Raj
@ 2010-09-16  1:01   ` Nobuhiro Iwamatsu
  0 siblings, 0 replies; 3+ messages in thread
From: Nobuhiro Iwamatsu @ 2010-09-16  1:01 UTC (permalink / raw)
  To: openembedded-devel

Hi, Khem.


Thanks for your comment.

2010/9/16 Khem Raj <raj.khem@gmail.com>:
> 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.

OK, I wll do this.

Thanks,
  Nobuhiro



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-09-16  1:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-14  7:46 [PATCH] sh: provide patch of __set_fpscr in libc Nobuhiro Iwamatsu
2010-09-15 17:54 ` Khem Raj
2010-09-16  1:01   ` Nobuhiro Iwamatsu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.