Avoid Solaris/SPARC comparison failures with Solaris as (PR bootstrap/81926)

Backport from mainline
	2018-01-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR bootstrap/81926
	* cgraphunit.c (symbol_table::compile): Switch to text_section
	before calling assembly_start debug hook.

From-SVN: r256562
This commit is contained in:
Rainer Orth 2018-01-12 05:32:31 +00:00 committed by Rainer Orth
parent e1521062de
commit 28b93b9304
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2018-01-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Backport from mainline
2018-01-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR bootstrap/81926
* cgraphunit.c (symbol_table::compile): Switch to text_section
before calling assembly_start debug hook.
2018-01-11 Oleg Endo <olegendo@gcc.gnu.org>
Backport from mainline

View File

@ -2487,6 +2487,7 @@ symbol_table::compile (void)
timevar_pop (TV_CGRAPHOPT);
/* Output everything. */
switch_to_section (text_section);
(*debug_hooks->assembly_start) ();
if (!quiet_flag)
fprintf (stderr, "Assembling functions:\n");