[Darwin, PPC] Allow the user to override the use of hard float in kexts.
authorIain Sandoe <iain@sandoe.co.uk>
Thu, 27 Jun 2019 19:08:16 +0000 (19:08 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Thu, 27 Jun 2019 19:08:16 +0000 (19:08 +0000)
commit08b219921f7f4430fe66391ed8e3302b4fd049f1
treebf10cbd0c5e6d37e55f9e7f43d5869235e1b8a8a
parent6986c632a27b5e16ea1e481055f83a54121aef18
[Darwin, PPC] Allow the user to override the use of hard float in kexts.

The default for the kernel is soft-float, however a user writing a kernel
extension might want to make use of hard float.  This change makes
" -mkernel -mhard-float " work as expected.

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

* config/rs6000/rs6000.c (darwin_rs6000_override_options): Honour
user-specified float mode choice for kernel mode code.

From-SVN: r272760
gcc/ChangeLog
gcc/config/rs6000/rs6000.c