diff mbox series

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

Message ID 70F6733E-3A51-4C8A-87AA-6296B9EE1CBF@sandoe.co.uk
State New
Headers show
Series [Darwin] Don't jam symbol stubs on for kernel code. | expand

Commit Message

Iain Sandoe July 7, 2019, 4:55 p.m. UTC
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.  The gcc-4.2.1 compilers don’t generate symbol stubs
for any X86 case.

tested on x86_64-darwin16,
applied to mainline.
Iain

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

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

Patch

diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index ef6e389..02bcf01 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -3232,8 +3232,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_picsymbol_stubs = true;
     }
 
   if (flag_var_tracking_uninit == 0