[Patch] MIPS: Fix -march=native.
David Daney
ddaney@caviumnetworks.com
Mon Dec 1 17:14:00 GMT 2008
A new feature of GCC for 4.4 is that the mips port now support
-march=native (and -mcpu=native). Unfortunately it was broken for 64
bit targets by this patch:
http://gcc.gnu.org/ml/gcc-patches/2008-11/msg00334.html
The fix is to add LINUX_DRIVER_SELF_SPECS to the DRIVER_SELF_SPECS
definition in linux64.h as was done for linux.h.
Tested on mips64-linux-gnu with --with-arch=native (and --with-float=soft).
OK to commit?
2008-12-01 David Daney <ddaney@caviumnetworks.com>
Adam Nemet <anemet@caviumnetworks.com>
* config/mips/linux64.h (DRIVER_SELF_SPECS): Add
LINUX_DRIVER_SELF_SPECS.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mach-native.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20081201/1dace208/attachment.ksh>
More information about the Gcc-patches
mailing list