]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Darwin] Don't jam symbol stubs on for kernel code.
authorIain Sandoe <iain@sandoe.co.uk>
Wed, 4 Sep 2019 19:27:40 +0000 (19:27 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Wed, 4 Sep 2019 19:27:40 +0000 (19:27 +0000)
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

gcc/ChangeLog
gcc/config/darwin.c

index 8408f5b82f2d85939c0d278703069551e62bc6e7..12ad854dca4f83a824a894996e500c4d938662e6 100644 (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
index 7e413104f28bba1645a686f6b2f88ce9f5bf91f0..6159b38acd70c4255d5fe938f587f64967ed0067 100644 (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