gcc/libgomp/config/linux
Jakub Jelinek 42f10ba5b5 libgomp: Don't include limits.h instead of hidden visibility block
sem.h is included in between # pragma GCC visibility push(hidden)
and # pragma GCC visibility pop and includes limits.h there, which
since the introduction of sysconf declaration in recent glibcs
in there causes trouble.  libgomp assumes it is compiled by gcc,
so we don't really need to include limits.h there and can use
-__INT_MAX__ - 1 instead (which clang and icc support too for years).

2021-07-13  Jakub Jelinek  <jakub@redhat.com>
	    Florian Weimer  <fweimer@redhat.com>

	* config/linux/sem.h: Don't include limits.h.
	(SEM_WAIT): Define to -__INT_MAX__ - 1 instead of INT_MIN.
	* config/linux/affinity.c: Include limits.h.
2021-07-13 09:50:49 +02:00
..
alpha Update copyright years. 2021-01-04 10:26:59 +01:00
ia64 Update copyright years. 2021-01-04 10:26:59 +01:00
mips Update copyright years. 2021-01-04 10:26:59 +01:00
powerpc Update copyright years. 2021-01-04 10:26:59 +01:00
s390 Update copyright years. 2021-01-04 10:26:59 +01:00
sparc Update copyright years. 2021-01-04 10:26:59 +01:00
tile Update copyright years. 2021-01-04 10:26:59 +01:00
x86 libgomp/i386: Revert the type of syscall wrappers output back to long. 2021-02-12 00:07:56 +01:00
affinity.c libgomp: Don't include limits.h instead of hidden visibility block 2021-07-13 09:50:49 +02:00
bar.c Update copyright years. 2021-01-04 10:26:59 +01:00
bar.h Update copyright years. 2021-01-04 10:26:59 +01:00
doacross.h Update copyright years. 2021-01-04 10:26:59 +01:00
futex.h Update copyright years. 2021-01-04 10:26:59 +01:00
lock.c Update copyright years. 2021-01-04 10:26:59 +01:00
mutex.c Update copyright years. 2021-01-04 10:26:59 +01:00
mutex.h Update copyright years. 2021-01-04 10:26:59 +01:00
omp-lock.h
proc.c Update copyright years. 2021-01-04 10:26:59 +01:00
proc.h Update copyright years. 2021-01-04 10:26:59 +01:00
ptrlock.c Update copyright years. 2021-01-04 10:26:59 +01:00
ptrlock.h Update copyright years. 2021-01-04 10:26:59 +01:00
sem.c Update copyright years. 2021-01-04 10:26:59 +01:00
sem.h libgomp: Don't include limits.h instead of hidden visibility block 2021-07-13 09:50:49 +02:00
wait.h Update copyright years. 2021-01-04 10:26:59 +01:00