glibc/sysdeps
Adhemerval Zanella ddcf5a9170 posix: Fix macro expansion producing 'defined' has undefined behavior
The NEED_CHECK_SPEC is defined as:

  #define NEED_CHECK_SPEC \
    (!defined _XBS5_ILP32_OFF32 || !defined _XBS5_ILP32_OFFBIG \
     || !defined _XBS5_LP64_OFF64 || !defined _XBS5_LPBIG_OFFBIG \
     || !defined _POSIX_V6_ILP32_OFF32 || !defined _POSIX_V6_ILP32_OFFBIG \
     || !defined _POSIX_V6_LP64_OFF64 || !defined _POSIX_V6_LPBIG_OFFBIG \
     || !defined _POSIX_V7_ILP32_OFF32 || !defined _POSIX_V7_ILP32_OFFBIG \
     || !defined _POSIX_V7_LP64_OFF64 || !defined _POSIX_V7_LPBIG_OFFBIG)

Which is undefined behavior accordingly to C Standard (Preprocessing
directives, p4).

Checked on x86_64-linux-gnu.
2022-08-30 08:40:47 -03:00
..
aarch64 csu: Change start code license to have link exception 2022-08-26 09:14:53 +01:00
alpha alpha: Remove _dl_skip_args usage 2022-05-30 16:32:22 -03:00
arc csu: Change start code license to have link exception 2022-08-26 09:14:53 +01:00
arm arm: Remove nested functionf rom relocate_pc24 2022-08-12 09:46:22 -03:00
csky csky: Remove _dl_skip_args usage 2022-05-30 16:32:33 -03:00
generic Revert "Detect ld.so and libc.so version inconsistency during startup" 2022-08-25 18:46:43 +02:00
gnu Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
hppa hppa: Remove _dl_skip_args usage (BZ# 29165) 2022-05-30 16:32:35 -03:00
htl htl: Make pthread*_cond_timedwait register wref before releasing mutex 2022-08-22 22:27:24 +02:00
hurd hurd: Fix pthread_kill on exiting/ted thread 2022-01-15 15:11:54 +01:00
i386 i386: Use cmpl instead of cmp 2022-08-05 09:28:39 -03:00
ia64 grep: egrep -> grep -E, fgrep -> grep -F 2022-06-05 12:09:02 -07:00
ieee754 Ensure calculations happen with desired rounding mode in y1lf128 2022-08-18 12:32:18 +12:00
loongarch LoongArch: Use __builtin_{fmax,fmaxf,fmin,fminf} with GCC >= 13 2022-08-30 11:59:15 +08:00
m68k m68k: optimize RTLD_START 2022-06-25 00:22:02 +02:00
mach hurd: Fix vm_size_t incoherencies 2022-08-29 01:42:47 +02:00
microblaze microblaze: Remove _dl_skip_args usage 2022-05-30 16:33:14 -03:00
mips mips: Remove _dl_skip_args usage 2022-05-30 16:33:16 -03:00
nios2 Remove remnant reference to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA 2022-06-15 13:02:17 -07:00
nptl libio: Improve performance of IO locks 2022-08-11 16:47:45 +01:00
or1k csu: Change start code license to have link exception 2022-08-26 09:14:53 +01:00
posix posix: Fix macro expansion producing 'defined' has undefined behavior 2022-08-30 08:40:47 -03:00
powerpc arc4random: simplify design for better safety 2022-07-27 08:58:27 -03:00
pthread nptl: Fix __libc_cleanup_pop_restore asynchronous restore (BZ#29214) 2022-06-08 09:23:02 -03:00
riscv riscv: Update rv64 libm test ulps 2022-07-27 10:50:20 -03:00
s390 s390: Move hwcaps/platform names out of _rtld_global_ro 2022-08-25 21:33:12 +02:00
sh sh: Remove _dl_skip_args usage 2022-05-30 16:33:28 -03:00
sparc Makeconfig: Set pie-ccflag to -fPIE by default [BZ# 29514] 2022-08-29 09:03:00 -04:00
unix S390: Always use svc 0 2022-08-30 10:54:46 +02:00
wordsize-32 Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
wordsize-64 Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
x86 x86: Add support to build strcmp/strlen/strchr with explicit ISA level 2022-07-16 03:07:59 -07:00
x86_64 x86: Fix #define STRCPY guard in strcpy-sse2.S 2022-08-09 17:00:03 +08:00