Fix nios2 localplt failure [committed]

Message ID alpine.DEB.2.22.394.2110112147470.1524986@digraph.polyomino.org.uk
State New
Headers show
Series
  • Fix nios2 localplt failure [committed]
Related show

Commit Message

Joseph Myers Oct. 11, 2021, 9:48 p.m.
Building for nios2-linux-gnu has recently started showing a localplt
test failure, arising from a reference to __floatunsidf from
getloadavg after commit b5c8a3aa82f66f49b731ca5204104cee48bccfa5
("Linux: implement getloadavg(3) using sysinfo(2)") (this is an
architecture with soft-fp in libc).  Add this as a permitted local PLT
reference in localplt.data.

Tested with build-many-glibcs.py for nios2-linux-gnu.

---

Committed as obvious.


-- 
Joseph S. Myers
joseph@codesourcery.com

Patch

diff --git a/sysdeps/unix/sysv/linux/nios2/localplt.data b/sysdeps/unix/sysv/linux/nios2/localplt.data
index 17fcfdd4db..c9802cc8eb 100644
--- a/sysdeps/unix/sysv/linux/nios2/localplt.data
+++ b/sysdeps/unix/sysv/linux/nios2/localplt.data
@@ -26,6 +26,7 @@  libc.so: __nedf2
 libc.so: __eqdf2
 libc.so: __extendsfdf2
 libc.so: __floatundidf ?
+libc.so: __floatunsidf ?
 libm.so: matherr
 # The TLS-enabled version of these functions is interposed from libc.so.
 ld.so: _dl_signal_error