Skip to content

Instantly share code, notes, and snippets.

@nocko
Last active July 4, 2016 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nocko/c6148cc67694513b55fcbe4dda9c3615 to your computer and use it in GitHub Desktop.
Save nocko/c6148cc67694513b55fcbe4dda9c3615 to your computer and use it in GitHub Desktop.
--- gcc-4.9-gpl-2016-src/gcc/config/arm/t-arm-elf 2016-04-25 10:34:19.000000000 -0400
+++ gcc-4.9-gpl-2016-src/gcc/config/arm/t-arm-elf.new 2016-07-04 16:27:29.056019131 -0400
@@ -21,6 +21,15 @@
MULTILIB_EXCEPTIONS =
MULTILIB_MATCHES =
+MULTILIB_OPTIONS += mcpu=cortex-m0
+MULTILIB_DIRNAMES += armv6-m
+MULTILIB_EXCEPTIONS += marm/mcpu=cortex-m0
+MULTILIB_EXCEPTIONS += mcpu=cortex-m0
+
+MULTILIB_EXCEPTIONS += mcpu=cortex-m0/mfloat-abi=hard
+MULTILIB_EXCEPTIONS += marm/mcpu=cortex-m0/mfloat*
+MULTILIB_EXCEPTIONS += mthumb/mcpu=cortex-m0/mfloat-abi=hard
+
#MULTILIB_OPTIONS += mcpu=fa526/mcpu=fa626/mcpu=fa606te/mcpu=fa626te/mcpu=fmp626/mcpu=fa726te
#MULTILIB_DIRNAMES += fa526 fa626 fa606te fa626te fmp626 fa726te
#MULTILIB_EXCEPTIONS += *mthumb*/*mcpu=fa526 *mthumb*/*mcpu=fa626
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment