This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.25-818-gd95fcb2
- From: azanella at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 28 Jul 2017 12:46:00 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.25-818-gd95fcb2
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via d95fcb2df478efbf4f8537ba898374043ac4561f (commit)
via 0aab054a92d5b49723ba5343bc1bc2475a289c95 (commit)
from d4550bd0029df0ce8c853ec9ad40e1e5586ae4da (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=d95fcb2df478efbf4f8537ba898374043ac4561f
commit d95fcb2df478efbf4f8537ba898374043ac4561f
Author: Nathan Rossi <nathan@nathanrossi.com>
Date: Fri Jul 28 09:21:14 2017 -0300
microblaze: Resolve non-relocatable branch in pt-vfork.S (BZ#21779)
The relative branch directly to __libc_vfork results in an relocation
that cannot be resolved. Specifically a R_MICROBLAZE_64_PCREL relocation
is created for this branch, however for MicroBlaze R_MICROBLAZE_64_PCREL
type relocations symbols are not resolved. Additionally due to the
branch being located in the .text section the instruction cannot be
rewritten as the section is not writable, and causes a segfault at
runtime when loading libpthread.
To resolve this issue, ensure the branch is done using PLT. This removes
the need to modify the instruction and trades the R_MICROBLAZE_64_PCREL
for a more common R_MICROBLAZE_JUMP via the PLT.
[BZ #21779]
* sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Branch using PLT.
diff --git a/ChangeLog b/ChangeLog
index 8b76a6d..4cec993 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2017-07-23 Nathan Rossi <nathan@nathanrossi.com>
+ [BZ #21779]
+ * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Branch using PLT.
+
* sysdeps/microblaze/libm-test-ulps: Update.
2017-07-28 Chung-Lin Tang <cltang@codesourcery.com>
diff --git a/sysdeps/unix/sysv/linux/microblaze/pt-vfork.S b/sysdeps/unix/sysv/linux/microblaze/pt-vfork.S
index f201f04..d8339f2 100644
--- a/sysdeps/unix/sysv/linux/microblaze/pt-vfork.S
+++ b/sysdeps/unix/sysv/linux/microblaze/pt-vfork.S
@@ -34,7 +34,7 @@
|| SHLIB_COMPAT (libpthread, GLIBC_2_1_2, GLIBC_2_20))
ENTRY (vfork_compat)
- bri __libc_vfork
+ bri __libc_vfork@PLT
END (vfork_compat)
#endif
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=0aab054a92d5b49723ba5343bc1bc2475a289c95
commit 0aab054a92d5b49723ba5343bc1bc2475a289c95
Author: Nathan Rossi <nathan@nathanrossi.com>
Date: Fri Jul 28 09:19:40 2017 -0300
Update Microblaze libm-test-ulps
* sysdeps/microblaze/libm-test-ulps: Update.
diff --git a/ChangeLog b/ChangeLog
index 57900a5..8b76a6d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-07-23 Nathan Rossi <nathan@nathanrossi.com>
+
+ * sysdeps/microblaze/libm-test-ulps: Update.
+
2017-07-28 Chung-Lin Tang <cltang@codesourcery.com>
* sysdeps/nios2/libm-test-ulps: Update.
diff --git a/sysdeps/microblaze/libm-test-ulps b/sysdeps/microblaze/libm-test-ulps
index 0806905..64f9353 100644
--- a/sysdeps/microblaze/libm-test-ulps
+++ b/sysdeps/microblaze/libm-test-ulps
@@ -1,23 +1,44 @@
# Begin of automatic generation
# Maximal error of functions:
+Function: "acos":
+float: 1
+ifloat: 1
+
Function: "acosh":
-double: 1
-idouble: 1
+double: 2
+float: 2
+idouble: 2
+ifloat: 2
+
+Function: "asin":
+float: 1
+ifloat: 1
Function: "asinh":
double: 1
float: 1
+idouble: 1
ifloat: 1
-Function: "atan2":
+Function: "atan":
float: 1
ifloat: 1
-Function: "atanh":
+Function: "atan2":
float: 1
ifloat: 1
+Function: "atanh":
+double: 2
+float: 2
+idouble: 2
+ifloat: 2
+
+Function: "cabs":
+double: 1
+idouble: 1
+
Function: Real part of "cacos":
double: 1
float: 2
@@ -25,15 +46,15 @@ idouble: 1
ifloat: 2
Function: Imaginary part of "cacos":
-double: 1
+double: 2
float: 2
-idouble: 1
+idouble: 2
ifloat: 2
Function: Real part of "cacosh":
-double: 1
+double: 2
float: 2
-idouble: 1
+idouble: 2
ifloat: 2
Function: Imaginary part of "cacosh":
@@ -42,6 +63,10 @@ float: 2
idouble: 1
ifloat: 2
+Function: "carg":
+float: 1
+ifloat: 1
+
Function: Real part of "casin":
double: 1
float: 1
@@ -49,15 +74,15 @@ idouble: 1
ifloat: 1
Function: Imaginary part of "casin":
-double: 1
+double: 2
float: 2
-idouble: 1
+idouble: 2
ifloat: 2
Function: Real part of "casinh":
-double: 1
+double: 2
float: 2
-idouble: 1
+idouble: 2
ifloat: 2
Function: Imaginary part of "casinh":
@@ -67,7 +92,9 @@ idouble: 1
ifloat: 1
Function: Real part of "catan":
+double: 1
float: 1
+idouble: 1
ifloat: 1
Function: Imaginary part of "catan":
@@ -83,13 +110,15 @@ idouble: 1
ifloat: 1
Function: Imaginary part of "catanh":
+double: 1
float: 1
+idouble: 1
ifloat: 1
Function: "cbrt":
-double: 1
+double: 3
float: 1
-idouble: 1
+idouble: 3
ifloat: 1
Function: Real part of "ccos":
@@ -129,27 +158,27 @@ idouble: 1
ifloat: 2
Function: Real part of "clog":
-double: 1
-float: 1
-idouble: 1
-ifloat: 1
+double: 3
+float: 3
+idouble: 3
+ifloat: 3
Function: Imaginary part of "clog":
float: 1
ifloat: 1
Function: Real part of "clog10":
+double: 3
+float: 4
+idouble: 3
+ifloat: 4
+
+Function: Imaginary part of "clog10":
double: 2
float: 2
idouble: 2
ifloat: 2
-Function: Imaginary part of "clog10":
-double: 1
-float: 1
-idouble: 1
-ifloat: 1
-
Function: "cos":
float: 1
ifloat: 1
@@ -187,16 +216,16 @@ idouble: 1
ifloat: 1
Function: Real part of "csqrt":
-double: 1
-float: 1
-idouble: 1
-ifloat: 1
+double: 2
+float: 2
+idouble: 2
+ifloat: 2
Function: Imaginary part of "csqrt":
-double: 1
-float: 1
-idouble: 1
-ifloat: 1
+double: 2
+float: 2
+idouble: 2
+ifloat: 2
Function: Real part of "ctan":
double: 1
@@ -224,30 +253,42 @@ ifloat: 2
Function: "erf":
double: 1
+float: 1
idouble: 1
+ifloat: 1
Function: "erfc":
-double: 1
+double: 3
+float: 2
+idouble: 3
+ifloat: 2
+
+Function: "exp":
float: 1
-idouble: 1
ifloat: 1
Function: "exp10":
-double: 1
-idouble: 1
+double: 2
+idouble: 2
-Function: "expm1":
+Function: "exp2":
double: 1
float: 1
idouble: 1
ifloat: 1
-Function: "gamma":
+Function: "expm1":
double: 1
float: 1
idouble: 1
ifloat: 1
+Function: "gamma":
+double: 4
+float: 4
+idouble: 4
+ifloat: 4
+
Function: "hypot":
double: 1
idouble: 1
@@ -271,23 +312,31 @@ idouble: 4
ifloat: 4
Function: "lgamma":
-double: 1
-float: 1
-idouble: 1
-ifloat: 1
+double: 4
+float: 4
+idouble: 4
+ifloat: 4
Function: "log":
float: 1
ifloat: 1
Function: "log10":
-double: 1
+double: 2
float: 2
-idouble: 1
+idouble: 2
ifloat: 2
Function: "log1p":
+double: 1
float: 1
+idouble: 1
+ifloat: 1
+
+Function: "log2":
+double: 2
+float: 1
+idouble: 2
ifloat: 1
Function: "pow":
@@ -295,8 +344,8 @@ float: 1
ifloat: 1
Function: "pow10":
-double: 1
-idouble: 1
+double: 2
+idouble: 2
Function: "sin":
float: 1
@@ -306,11 +355,27 @@ Function: "sincos":
float: 1
ifloat: 1
+Function: "sinh":
+double: 2
+float: 2
+idouble: 2
+ifloat: 2
+
+Function: "tan":
+float: 1
+ifloat: 1
+
+Function: "tanh":
+double: 2
+float: 2
+idouble: 2
+ifloat: 2
+
Function: "tgamma":
-double: 4
-float: 3
-idouble: 4
-ifloat: 3
+double: 5
+float: 4
+idouble: 5
+ifloat: 4
Function: "y0":
double: 2
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +
sysdeps/microblaze/libm-test-ulps | 165 +++++++++++++++++--------
sysdeps/unix/sysv/linux/microblaze/pt-vfork.S | 2 +-
3 files changed, 123 insertions(+), 51 deletions(-)
hooks/post-receive
--
GNU C Library master sources