]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Allow memset local PLT reference for powerpc soft-float.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 13 Jun 2019 12:21:50 +0000 (12:21 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 13 Jun 2019 12:21:50 +0000 (12:21 +0000)
Some recent change on GCC mainline resulted in the localplt test
failing for powerpc soft-float (not sure exactly when, as the failure
appeared when there were other build test failures as well;
<https://sourceware.org/ml/libc-testresults/2019-q2/msg00261.html>
shows it remaining when other failures went away).  The problem is a
call to memset that GCC now generates in the libgcc long double code.

Since memset is documented as a function GCC may always implicitly
generate calls to, it seems reasonable to allow that local PLT
reference (just like those for libgcc functions that GCC implicitly
generates calls to and that are also exported from libc.so), which
this patch does.

Tested for powerpc soft-float with build-many-glibcs.py.

* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
Allow memset in libc.so.

ChangeLog
sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data

index 7cc8f6e8054d9145ef2d7666ccb6fb5b2e819bb9..8f10f64855bd643f5efd97940aa57527b6d2a2a2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-06-13  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
+       Allow memset in libc.so.
+
 2019-06-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
 
        * sysdeps/aarch64/dl-dtprocnum.h: New file.
index fead931d4e5c4bc4c0af49a404316f47409ba188..647e735fdf480d7fc8d87ccf6cfa4858c0f98015 100644 (file)
@@ -31,6 +31,7 @@ libc.so: calloc
 libc.so: free
 libc.so: malloc
 libc.so: memalign
+libc.so: memset ?
 libc.so: realloc
 libm.so: copysignl ?
 libm.so: fabsl