From: Iain Sandoe Date: Sun, 7 Jul 2019 16:29:32 +0000 (+0000) Subject: [Darwin] Don't jam symbol stubs on for kernel code. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ea649341aa927c126f26642490147871d10a00f;p=gcc.git [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 * config/darwin.c (darwin_override_options): Don't jam symbol stubs on for kernel code. From-SVN: r273180 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 802cdb8e91d..39da4f2947a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-07-07 Iain Sandoe + + * config/darwin.c (darwin_override_options): Don't jam symbol stubs + on for kernel code. + 2019-07-07 Richard Sandiford PR target/91068 diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index ef6e3891d9a..02bcf01e7a6 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