aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2019-07-07 16:29:32 +0000
committerIain Sandoe <iains@gcc.gnu.org>2019-07-07 16:29:32 +0000
commit2ea649341aa927c126f26642490147871d10a00f (patch)
treea6c57fec2f98d7e8176551a6a55d97474e6f48dc /gcc
parent94f3d11cfaa27dbac96f5edd48839b884a5c1ef5 (diff)
downloadgcc-2ea649341aa927c126f26642490147871d10a00f.zip
gcc-2ea649341aa927c126f26642490147871d10a00f.tar.gz
gcc-2ea649341aa927c126f26642490147871d10a00f.tar.bz2
[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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/darwin.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 802cdb8..39da4f2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+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>
PR target/91068
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