Commit 2ea64934 by Iain Sandoe Committed by Iain Sandoe

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

For PPC Darwin, we need the JBSR long jump code to be enabled when generating
kernel code.  Now we have that handled in rs6000.c, we can drop the conflated
setting in the common code.  Symbol stubs are not generated for any X86 case.

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: r273180
parent 94f3d11c
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-07-07 Richard Sandiford <richard.sandiford@arm.com> 2019-07-07 Richard Sandiford <richard.sandiford@arm.com>
PR target/91068 PR target/91068
......
...@@ -3232,8 +3232,6 @@ darwin_override_options (void) ...@@ -3232,8 +3232,6 @@ darwin_override_options (void)
/* so no tables either.. */ /* so no tables either.. */
flag_unwind_tables = 0; flag_unwind_tables = 0;
flag_asynchronous_unwind_tables = 0; flag_asynchronous_unwind_tables = 0;
/* We still need to emit branch islands for kernel context. */
darwin_picsymbol_stubs = true;
} }
if (flag_var_tracking_uninit == 0 if (flag_var_tracking_uninit == 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment