From 1979819d680bb5394a878261519f8a3e4a2886a1 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 15 May 2020 17:51:57 +0200 Subject: nptl: Move pthread_attr_setaffinity_np into libc This is part of the libpthread removal project: The symbol did not previously exist in libc, so a new GLIBC_2.32 symbol is needed, to get correct dependency for binaries which use the symbol but no longer link against libpthread. The abilist updates were performed by: git ls-files 'sysdeps/unix/sysv/linux/**/libc.abilist' \ | while read x ; do echo "GLIBC_2.32 pthread_attr_setaffinity_np F" >> $x done python3 scripts/move-symbol-to-libc.py pthread_attr_setaffinity_np Reviewed-by: Carlos O'Donell Tested-by: Carlos O'Donell --- nptl/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nptl/Makefile') diff --git a/nptl/Makefile b/nptl/Makefile index 5fc45b2..76f7d60 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -46,6 +46,7 @@ routines = \ pthread_attr_getschedpolicy \ pthread_attr_getscope \ pthread_attr_init \ + pthread_attr_setaffinity \ pthread_attr_setdetachstate \ pthread_attr_setinheritsched \ pthread_attr_setschedparam \ @@ -149,7 +150,7 @@ libpthread-routines = nptl-init nptlfreeres vars events version pt-interp \ herrno res pt-allocrtsig \ pthread_kill_other_threads \ pthread_getaffinity pthread_setaffinity \ - pthread_attr_getaffinity pthread_attr_setaffinity \ + pthread_attr_getaffinity \ pthread_mutexattr_getrobust pthread_mutexattr_setrobust \ pthread_mutex_consistent \ cleanup_routine unwind-forcedunwind \ -- cgit v1.1