[PATCH] D35917: [mips] Implement -muninit-const-in-rodata

Simon Dardis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 3 11:59:19 PDT 2017


sdardis added a comment.

It's required for feature parity with GCC.

-fno-common will place globals into the bss section which uses memory at runtime. The -membedded-data and -muninit-const-in-rodata options are for reducing RAM usage in some embedded environments.


Repository:
  rL LLVM

https://reviews.llvm.org/D35917





More information about the cfe-commits mailing list