This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/2] Support GAS flag -mfloat-abi; remove .option soft/hard-float


On Tue, 1 Nov 2016, Palmer Dabbelt wrote:

> diff --git a/gas/config/tc-riscv.c b/gas/config/tc-riscv.c
> index 592c95a..b9c349e 100644
> --- a/gas/config/tc-riscv.c
> +++ b/gas/config/tc-riscv.c
> @@ -1717,8 +1717,7 @@ enum options
>    OPTION_MARCH,
>    OPTION_PIC,
>    OPTION_NO_PIC,
> -  OPTION_MSOFT_FLOAT,
> -  OPTION_MHARD_FLOAT,
> +  OPTION_MFLOAT_ABI,
>    OPTION_MRVC,
>    OPTION_MNO_RVC,
>    OPTION_END_OF_ENUM
> @@ -1734,20 +1733,20 @@ struct option md_longopts[] =
>    {"fno-pic", no_argument, NULL, OPTION_NO_PIC},
>    {"mrvc", no_argument, NULL, OPTION_MRVC},
>    {"mno-rvc", no_argument, NULL, OPTION_MNO_RVC},
> -  {"msoft-float", no_argument, NULL, OPTION_MSOFT_FLOAT},
> -  {"mhard-float", no_argument, NULL, OPTION_MHARD_FLOAT},
> +  {"mfloat-abi", required_argument, NULL, OPTION_MFLOAT_ABI},

Whenever you add or change assembler options you need to update the 
manual: c-riscv.texi, and the list of options for the manpage under "@c 
man begin TARGET" in as.texinfo (this port appears to be missing the 
latter).

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]