]> granicus.if.org Git - clang/commit
[mips] Add support -m(no-)embedded-data option
authorSimon Dardis <simon.dardis@imgtec.com>
Thu, 3 Aug 2017 13:04:29 +0000 (13:04 +0000)
committerSimon Dardis <simon.dardis@imgtec.com>
Thu, 3 Aug 2017 13:04:29 +0000 (13:04 +0000)
commitcf4c953d2c070d1c505f512a0d395a60b95c3728
tree96ca667be91b8abefd3382fb90560b01fed5f444
parent9c710be28dd826fe857cb42f3af913983ba62c6f
[mips] Add support -m(no-)embedded-data option

Add support for the -membedded-data option which places constant data in
the .rodata section, rather than the .sdata section.

Reviewers: atanasyan, nitesh.jain

Differential Revision: https://reviews.llvm.org/D35914

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@309935 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
lib/Driver/ToolChains/Clang.cpp
test/Driver/mips-features.c