From 0929a093061190382884dd63689a077939cc03cb Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Wed, 15 Dec 2010 01:22:10 +0000 Subject: [PATCH] llvmc: Support -mabi/-mfloat-abi. llvm-svn: 121824 --- llvm/tools/llvmc/src/Base.td.in | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/llvm/tools/llvmc/src/Base.td.in b/llvm/tools/llvmc/src/Base.td.in index 150829da56b2..8a871ad3ff60 100644 --- a/llvm/tools/llvmc/src/Base.td.in +++ b/llvm/tools/llvmc/src/Base.td.in @@ -50,6 +50,10 @@ def OptList : OptionList<[ (help "Generate code for the specified machine type")), (parameter_option "mcpu", (help "A deprecated synonym for -mtune"), (hidden), (forward_not_split)), + (parameter_option "mabi", + (help "Generate code for the specified ABI"), (hidden)), + (parameter_option "mfloat-abi", + (help "Specifies which floating-point ABI to use"), (hidden)), (switch_option "mfix-and-continue", (help "Needed by gdb to load .o files dynamically"), (hidden)), (parameter_option "MF", @@ -204,6 +208,8 @@ class llvm_gcc_based : Tool< (not_empty "march"), (forward "march"), (not_empty "mcpu"), (forward "mcpu"), (not_empty "mtune"), (forward "mtune"), + (not_empty "mabi"), (forward "mabi"), + (not_empty "mfloat-abi"), (forward "mfloat-abi"), (switch_on "m32"), (forward "m32"), (switch_on "m64"), (forward "m64"), (not_empty "l"), (forward "l"),