r246524 - in /trunk/gcc: ChangeLog config/arc/a...
claziss@gcc.gnu.org
claziss@gcc.gnu.org
Tue Mar 28 08:56:00 GMT 2017
Author: claziss
Date: Tue Mar 28 08:56:44 2017
New Revision: 246524
URL: https://gcc.gnu.org/viewcvs?rev=246524&root=gcc&view=rev
Log:
[ARC] Define _REENTRANT when -pthread is passed.
The compiler is supposed to have the builtin defined _REENTRANT defined
when -pthread is passed, which wasn't done on the ARC architecture.
When _REENTRANT is not passed, the C library will not use reentrant
functions, and the latest version of ax_pthread.m4 from the
autoconf-archive will no longer detect that thread support is
available (see https://savannah.gnu.org/patch/?8186).
gcc/
2017-03-28 Claudiu Zissulescu <claziss@synopsys.com>
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* config/arc/arc.h (CPP_SPEC): Add subtarget_cpp_spec.
(EXTRA_SPECS): Define.
(SUBTARGET_EXTRA_SPECS): Likewise.
(SUBTARGET_CPP_SPEC): Likewise.
* config/arc/elf.h (EXTRA_SPECS): Renamed to
SUBTARGET_EXTRA_SPECS.
* config/arc/linux.h (SUBTARGET_CPP_SPEC): Define.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arc/arc.h
trunk/gcc/config/arc/elf.h
trunk/gcc/config/arc/linux.h
More information about the Gcc-cvs
mailing list