[0/2] Resolver-related libpthread cleanups

Message ID cover.1619182587.git.fweimer@redhat.com
Headers
Series Resolver-related libpthread cleanups |

Message

Florian Weimer April 23, 2021, 12:58 p.m. UTC
  Ip lan to push this shortly because I think it's non-controversial and
it's more network-related than thread-related.

__errno_location should receive the same treatment, but there could be
references from assembler code, so I think it's best to delay that until
all code is gone from libpthread.

Tested on i686-linux-gnu and x86_64-linux-gnu.  Built with
build-many-glibcs.py.

Thanks,
Florian

Florian Weimer (2):
  nptl: Remove __res_state from libpthread
  nptl: Remove __h_errno_location from libpthread

 nptl/Makefile                                 |  2 --
 nptl/Versions                                 |  2 --
 nptl/herrno.c                                 | 34 -------------------
 nptl/res.c                                    | 26 --------------
 .../sysv/linux/aarch64/libpthread.abilist     |  2 --
 .../unix/sysv/linux/alpha/libpthread.abilist  |  2 --
 .../unix/sysv/linux/arc/libpthread.abilist    |  2 --
 .../unix/sysv/linux/arm/be/libpthread.abilist |  2 --
 .../unix/sysv/linux/arm/le/libpthread.abilist |  2 --
 .../unix/sysv/linux/csky/libpthread.abilist   |  2 --
 .../unix/sysv/linux/hppa/libpthread.abilist   |  2 --
 .../unix/sysv/linux/i386/libpthread.abilist   |  2 --
 .../unix/sysv/linux/ia64/libpthread.abilist   |  2 --
 .../linux/m68k/coldfire/libpthread.abilist    |  2 --
 .../sysv/linux/m68k/m680x0/libpthread.abilist |  2 --
 .../linux/microblaze/be/libpthread.abilist    |  2 --
 .../linux/microblaze/le/libpthread.abilist    |  2 --
 .../sysv/linux/mips/mips32/libpthread.abilist |  2 --
 .../sysv/linux/mips/mips64/libpthread.abilist |  2 --
 .../unix/sysv/linux/nios2/libpthread.abilist  |  2 --
 .../powerpc/powerpc32/libpthread.abilist      |  2 --
 .../powerpc/powerpc64/be/libpthread.abilist   |  2 --
 .../powerpc/powerpc64/le/libpthread.abilist   |  2 --
 .../sysv/linux/riscv/rv32/libpthread.abilist  |  2 --
 .../sysv/linux/riscv/rv64/libpthread.abilist  |  2 --
 .../linux/s390/s390-32/libpthread.abilist     |  2 --
 .../linux/s390/s390-64/libpthread.abilist     |  2 --
 .../unix/sysv/linux/sh/be/libpthread.abilist  |  2 --
 .../unix/sysv/linux/sh/le/libpthread.abilist  |  2 --
 .../linux/sparc/sparc32/libpthread.abilist    |  2 --
 .../linux/sparc/sparc64/libpthread.abilist    |  2 --
 .../sysv/linux/x86_64/64/libpthread.abilist   |  2 --
 .../sysv/linux/x86_64/x32/libpthread.abilist  |  2 --
 33 files changed, 122 deletions(-)
 delete mode 100644 nptl/herrno.c
 delete mode 100644 nptl/res.c
  

Comments

H.J. Lu April 23, 2021, 4:48 p.m. UTC | #1
On Fri, Apr 23, 2021 at 8:17 AM Florian Weimer via Libc-alpha
<libc-alpha@sourceware.org> wrote:
>
> Ip lan to push this shortly because I think it's non-controversial and
> it's more network-related than thread-related.
>
> __errno_location should receive the same treatment, but there could be
> references from assembler code, so I think it's best to delay that until
> all code is gone from libpthread.
>
> Tested on i686-linux-gnu and x86_64-linux-gnu.  Built with
> build-many-glibcs.py.
>
> Thanks,
> Florian
>
> Florian Weimer (2):
>   nptl: Remove __res_state from libpthread
>   nptl: Remove __h_errno_location from libpthread
>
>  nptl/Makefile                                 |  2 --
>  nptl/Versions                                 |  2 --
>  nptl/herrno.c                                 | 34 -------------------
>  nptl/res.c                                    | 26 --------------
>  .../sysv/linux/aarch64/libpthread.abilist     |  2 --
>  .../unix/sysv/linux/alpha/libpthread.abilist  |  2 --
>  .../unix/sysv/linux/arc/libpthread.abilist    |  2 --
>  .../unix/sysv/linux/arm/be/libpthread.abilist |  2 --
>  .../unix/sysv/linux/arm/le/libpthread.abilist |  2 --
>  .../unix/sysv/linux/csky/libpthread.abilist   |  2 --
>  .../unix/sysv/linux/hppa/libpthread.abilist   |  2 --
>  .../unix/sysv/linux/i386/libpthread.abilist   |  2 --
>  .../unix/sysv/linux/ia64/libpthread.abilist   |  2 --
>  .../linux/m68k/coldfire/libpthread.abilist    |  2 --
>  .../sysv/linux/m68k/m680x0/libpthread.abilist |  2 --
>  .../linux/microblaze/be/libpthread.abilist    |  2 --
>  .../linux/microblaze/le/libpthread.abilist    |  2 --
>  .../sysv/linux/mips/mips32/libpthread.abilist |  2 --
>  .../sysv/linux/mips/mips64/libpthread.abilist |  2 --
>  .../unix/sysv/linux/nios2/libpthread.abilist  |  2 --
>  .../powerpc/powerpc32/libpthread.abilist      |  2 --
>  .../powerpc/powerpc64/be/libpthread.abilist   |  2 --
>  .../powerpc/powerpc64/le/libpthread.abilist   |  2 --
>  .../sysv/linux/riscv/rv32/libpthread.abilist  |  2 --
>  .../sysv/linux/riscv/rv64/libpthread.abilist  |  2 --
>  .../linux/s390/s390-32/libpthread.abilist     |  2 --
>  .../linux/s390/s390-64/libpthread.abilist     |  2 --
>  .../unix/sysv/linux/sh/be/libpthread.abilist  |  2 --
>  .../unix/sysv/linux/sh/le/libpthread.abilist  |  2 --
>  .../linux/sparc/sparc32/libpthread.abilist    |  2 --
>  .../linux/sparc/sparc64/libpthread.abilist    |  2 --
>  .../sysv/linux/x86_64/64/libpthread.abilist   |  2 --
>  .../sysv/linux/x86_64/x32/libpthread.abilist  |  2 --
>  33 files changed, 122 deletions(-)
>  delete mode 100644 nptl/herrno.c
>  delete mode 100644 nptl/res.c
>
> --
> 2.30.2
>

LGTM.

Thanks.