gcc/libgcc
Szabolcs Nagy 9d8f95deca [i386][musl] Add cpuinfo to static libgcc only on *-musl*
The __cpu_indicator_init and __cpu_model symbols are not safe to use
from shared libgcc_s.so from ifunc resolvers, so since gcc-6, only
the definitions from static libgcc.a are used, however the symbols
are kept in libgcc_s as well for backward compatibility (with
appropriate symbol version).  On targets without such backward
compatibility concern add cpuinfo to the static library only (this
avoids running the ctor, reduces libgcc_s size and elf abi concerns
about the versioned symbols).

libgcc/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
	i386/t-cpuinfo-static instead of i386/t-cpuinfo.
	* config/i386/t-cpuinfo-static: New.

From-SVN: r242268
2016-11-11 17:31:07 +00:00
..
config [i386][musl] Add cpuinfo to static libgcc only on *-musl* 2016-11-11 17:31:07 +00:00
soft-fp Update soft-fp from glibc (PR libgcc/77265). 2016-08-16 22:30:56 +01:00
ChangeLog [i386][musl] Add cpuinfo to static libgcc only on *-musl* 2016-11-11 17:31:07 +00:00
config.host [i386][musl] Add cpuinfo to static libgcc only on *-musl* 2016-11-11 17:31:07 +00:00
config.in
configure configure.ac: Do not create links, only substitute the filenames. 2016-09-21 12:53:20 +00:00
configure.ac configure.ac: Do not create links, only substitute the filenames. 2016-09-21 12:53:20 +00:00
crtstuff.c defaults.h (JCR_SECTION_NAME, [...]): Remove. 2016-10-04 09:49:44 +02:00
dfp-bit.c
dfp-bit.h
divmod.c
empty.mk
emutls.c
enable-execute-stack-empty.c
enable-execute-stack-mprotect.c
find-symver.awk
fixed-bit.c
fixed-bit.h
fixed-obj.mk
floatunsidf.c
floatunsisf.c
floatunsitf.c
floatunsixf.c
fp-bit.c
fp-bit.h
gbl-ctors.h
gen-fixed.sh
generic-morestack-thread.c
generic-morestack.c
generic-morestack.h
gstdint.h
gthr-posix.h
gthr-single.h
gthr.h
libgcc2.c re PR libgcc/78067 (libgcc2 calls count_leading_zero with 0) 2016-11-03 12:52:19 +00:00
libgcc2.h Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4. 2016-11-02 23:23:13 +01:00
libgcc-std.ver.in Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4. 2016-11-02 23:23:13 +01:00
libgcov-driver-system.c re PR bootstrap/71400 (profiledbootstrap failed) 2016-06-06 15:24:24 +00:00
libgcov-driver.c gcov: dump in a static dtor instead of in an atexit handler 2016-09-27 11:07:11 +00:00
libgcov-interface.c
libgcov-merge.c Remove __gcov_merge_delta (PR bootstrap/77749) 2016-09-27 10:04:39 +00:00
libgcov-profiler.c Make direct emission of time profiler counter 2016-11-03 15:24:22 +00:00
libgcov-util.c Remove __gcov_merge_delta (PR bootstrap/77749) 2016-09-27 10:04:39 +00:00
libgcov.h gcov: dump in a static dtor instead of in an atexit handler 2016-09-27 11:07:11 +00:00
Makefile.in Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4. 2016-11-02 23:23:13 +01:00
memcmp.c
memcpy.c
memmove.c
memset.c
mkheader.sh
mkmap-flat.awk
mkmap-symver.awk
offloadstuff.c
shared-object.mk
siditi-object.mk
static-object.mk
sync.c
udivmod.c
udivmodsi4.c
unwind-arm-common.inc
unwind-c.c PR libgcc/78064: Add missing include directive to unwind-c.c 2016-10-24 20:25:09 +02:00
unwind-compat.c
unwind-compat.h
unwind-dw2-fde-compat.c
unwind-dw2-fde-dip.c
unwind-dw2-fde.c re PR libgcc/71744 (Concurrently throwing exceptions is not scalable) 2016-09-16 21:17:47 +02:00
unwind-dw2-fde.h
unwind-dw2.c
unwind-dw2.h
unwind-generic.h
unwind-pe.h
unwind-seh.c
unwind-sjlj.c
unwind.inc
vtv_end_preinit.c
vtv_end.c
vtv_start_preinit.c
vtv_start.c