gcc/libgcc/config/arc
Claudiu Zissulescu e04ea1daa9 [ARC] Rework code for profiling.
gcc/
2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>

	* config/arc/arc.h (LINK_SPEC): Tidy up.
	(ENDFILE_SPEC): Likewise.
	(LIB_SPEC): Likewise.
	(STARTFILE_SPEC): Include gcrt0 when profiling.
	(FUNCTION_PROFILER): Use __mcount.
	* config/arc/arc.opt (mucb-mcount): Remove.
	* doc/invoke.texi (ARC): Remove mucb-mcount doc.
	* arc/arc-protos.h (arc_profile_call): Remove.
	* config/arc/arc.c (write_profile_sections): Likewise.
	(arc_profile_call): Likewise.
	(unspec_prof_hash): Likewise.
	(unspec_prof_htab_eq): Likewise.
	(arc_legitimate_constant_p): Remove UNSPEC_PROF.
	(arc_reorg): Remove call to write_profile_sections.
	* config/arc/arc.md (call): Remove call to arc_profile_call.
	(call_value): Likewise.
	(sibcall): Likewise.
	(sibcall_value): Likewise.
	(define_constants): Remove UNSPEC_PROF.

libgcc/
	* config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
	crtgend.
	(arc*-*-elf*): Likewise.
	* config/arc/t-arc: Remove old gmon lib targets.
	* config/arc/crtg.S: Remove.
	* config/arc/crtgend.S: Likewise.
	* config/arc/gmon/atomic.h: Likewise.
	* config/arc/gmon/auxreg.h: Likewise.
	* config/arc/gmon/dcache_linesz.S: Likewise.
	* config/arc/gmon/gmon.c: Likewise.
	* config/arc/gmon/machine-gmon.h: Likewise.
	* config/arc/gmon/mcount.c: Likewise.
	* config/arc/gmon/prof-freq-stub.S: Likewise.
	* config/arc/gmon/prof-freq.c: Likewise.
	* config/arc/gmon/profil.S: Likewise.
	* config/arc/gmon/sys/gmon.h: Likewise.
	* config/arc/gmon/sys/gmon_out.h: Likewise.
	* config/arc/t-arc-newlib: Likewise.
	* config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.

From-SVN: r243742
2016-12-16 13:56:21 +01:00
..
ieee-754 [ARC] Handle FPX NaN within optimized floating point library. 2016-04-29 12:49:26 +02:00
asm.h Update copyright years. 2016-01-04 15:30:50 +01:00
crti.S [ARC] Fix PIE. 2016-12-05 12:16:52 +01:00
crtn.S Update copyright years. 2016-01-04 15:30:50 +01:00
crttls.S [ARC/LIBGCC] Add TLS support. 2016-04-28 13:53:34 +02:00
divtab-arc700.c Update copyright years. 2016-01-04 15:30:50 +01:00
dp-hack.h [ARC][libgcc] Add support for QuarkSE processor. 2016-11-17 14:43:43 +01:00
fp-hack.h [ARC][libgcc] Add support for QuarkSE processor. 2016-11-17 14:43:43 +01:00
initfini.c Update copyright years. 2016-01-04 15:30:50 +01:00
lib1funcs.S [ARC][libgcc] Add support for QuarkSE processor. 2016-11-17 14:43:43 +01:00
libgcc-excl.ver Update copyright years. 2016-01-04 15:30:50 +01:00
t-arc [ARC] Rework code for profiling. 2016-12-16 13:56:21 +01:00
t-arc-uClibc [ARC] Rework code for profiling. 2016-12-16 13:56:21 +01:00