[Darwin] Don't jam symbol stubs on for kernel code.

Fix wrong code.
Symbol stubs are needed only for m32 PPC, code and that is handled in
rs6000.c.
Symbol stubs should never have been generated for any X86 kernel-mode
case.

2019-09-04  Iain Sandoe  <iain@sandoe.co.uk>

	Backport from mainline
	2019-07-07  Iain Sandoe  <iain@sandoe.co.uk>

	* config/darwin.c (darwin_override_options): Don't jam symbol stubs
	on for kernel code.

From-SVN: r275385
This commit is contained in:
Iain Sandoe 2019-09-04 19:27:40 +00:00 committed by Iain Sandoe
parent 25df28cc40
commit aa915404e7
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2019-09-04 Iain Sandoe <iain@sandoe.co.uk>
Backport from mainline
2019-07-07 Iain Sandoe <iain@sandoe.co.uk>
* config/darwin.c (darwin_override_options): Don't jam symbol stubs
on for kernel code.
2019-09-04 Iain Sandoe <iain@sandoe.co.uk>
Backport from mainline

View File

@ -3195,8 +3195,6 @@ darwin_override_options (void)
/* so no tables either.. */
flag_unwind_tables = 0;
flag_asynchronous_unwind_tables = 0;
/* We still need to emit branch islands for kernel context. */
darwin_emit_branch_islands = true;
}
if (flag_var_tracking_uninit == 0