From 4912c738fcbc6def723370ec3a7ab4a732361322 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 11 Oct 2021 21:47:32 +0000 Subject: [PATCH] Fix nios2 localplt failure 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. --- sysdeps/unix/sysv/linux/nios2/localplt.data | 1 + 1 file changed, 1 insertion(+) diff --git a/sysdeps/unix/sysv/linux/nios2/localplt.data b/sysdeps/unix/sysv/linux/nios2/localplt.data index 17fcfdd..c9802cc 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 -- 2.7.4