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 --- sysdeps/unix/sysv/linux/microblaze/be/libc.abilist | 2 ++ sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist | 1 - sysdeps/unix/sysv/linux/microblaze/le/libc.abilist | 2 ++ sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist | 1 - 4 files changed, 4 insertions(+), 2 deletions(-) (limited to 'sysdeps/unix/sysv/linux/microblaze') diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist index 2cefe739c0..db490575b5 100644 --- a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist @@ -1426,6 +1426,7 @@ GLIBC_2.18 pthread_attr_getschedparam F GLIBC_2.18 pthread_attr_getschedpolicy F GLIBC_2.18 pthread_attr_getscope F GLIBC_2.18 pthread_attr_init F +GLIBC_2.18 pthread_attr_setaffinity_np F GLIBC_2.18 pthread_attr_setdetachstate F GLIBC_2.18 pthread_attr_setinheritsched F GLIBC_2.18 pthread_attr_setschedparam F @@ -2141,4 +2142,5 @@ GLIBC_2.30 twalk_r F GLIBC_2.31 msgctl F GLIBC_2.31 semctl F GLIBC_2.31 shmctl F +GLIBC_2.32 pthread_attr_setaffinity_np F GLIBC_2.32 pthread_sigmask F diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist index 87bd3ad30e..2e90b256b4 100644 --- a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist @@ -72,7 +72,6 @@ GLIBC_2.18 pthread_attr_getguardsize F GLIBC_2.18 pthread_attr_getstack F GLIBC_2.18 pthread_attr_getstackaddr F GLIBC_2.18 pthread_attr_getstacksize F -GLIBC_2.18 pthread_attr_setaffinity_np F GLIBC_2.18 pthread_attr_setguardsize F GLIBC_2.18 pthread_attr_setstack F GLIBC_2.18 pthread_attr_setstackaddr F diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist index 3474ef1490..9d6ea2fd12 100644 --- a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist @@ -1426,6 +1426,7 @@ GLIBC_2.18 pthread_attr_getschedparam F GLIBC_2.18 pthread_attr_getschedpolicy F GLIBC_2.18 pthread_attr_getscope F GLIBC_2.18 pthread_attr_init F +GLIBC_2.18 pthread_attr_setaffinity_np F GLIBC_2.18 pthread_attr_setdetachstate F GLIBC_2.18 pthread_attr_setinheritsched F GLIBC_2.18 pthread_attr_setschedparam F @@ -2138,4 +2139,5 @@ GLIBC_2.30 getdents64 F GLIBC_2.30 gettid F GLIBC_2.30 tgkill F GLIBC_2.30 twalk_r F +GLIBC_2.32 pthread_attr_setaffinity_np F GLIBC_2.32 pthread_sigmask F diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist index 87bd3ad30e..2e90b256b4 100644 --- a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist @@ -72,7 +72,6 @@ GLIBC_2.18 pthread_attr_getguardsize F GLIBC_2.18 pthread_attr_getstack F GLIBC_2.18 pthread_attr_getstackaddr F GLIBC_2.18 pthread_attr_getstacksize F -GLIBC_2.18 pthread_attr_setaffinity_np F GLIBC_2.18 pthread_attr_setguardsize F GLIBC_2.18 pthread_attr_setstack F GLIBC_2.18 pthread_attr_setstackaddr F -- cgit 1.4.1