Dmitry V. Levin
df9ddd8632
Remove personality support for errnoent and signalent as there is nothing personality-specific in these files. * linux/aarch64/errnoent1.h: Remove. * linux/aarch64/signalent1.h: Likewise. * linux/powerpc64/errnoent1.h: Likewise. * linux/powerpc64/signalent1.h: Likewise. * linux/riscv/errnoent1.h: Likewise. * linux/riscv/signalent1.h: Likewise. * linux/s390x/errnoent1.h: Likewise. * linux/s390x/signalent1.h: Likewise. * linux/sparc64/errnoent1.h: Likewise. * linux/sparc64/signalent1.h: Likewise. * linux/tile/errnoent1.h: Likewise. * linux/tile/signalent1.h: Likewise. * linux/x32/errnoent1.h: Likewise. * linux/x32/signalent1.h: Likewise. * linux/x86_64/errnoent1.h: Likewise. * linux/x86_64/errnoent2.h: Likewise. * linux/x86_64/signalent1.h: Likewise. * linux/x86_64/signalent2.h: Likewise. * Makefile.am (EXTRA_DIST): Remove them. * defs.h (errnoent0): Rename to errnoent. (signalent0): Rename signalent. (nerrnos, nsignals): Change to const variables unconditionally. * syscall.c (errnoent0): Rename to errnoent. (signalent0): Rename signalent. (nerrnos, nsignals): Change to const variables unconditionally. (nerrnos0, nsignals0): Remove. [SUPPORTED_PERSONALITIES > 1] (errnoent1, signalent1, nerrnos1, nsignals1): Remove. [SUPPORTED_PERSONALITIES > 2] (errnoent2, signalent2, nerrnos2, nsignals2): Likewise. (set_personality): Do not assign errnoent, signalent, nerrnos, and nsignals.