[Buildroot] [PATCH v6 1/4] infra: add support for MIPS NaN

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Jul 16 14:40:00 UTC 2017


Hello,

On Wed, 28 Jun 2017 16:17:10 +0100, Vicente Olivert Riera wrote:
> MIPS supports two different NaN encodings, legacy and 2008. Information
> about MIPS NaN encodings can be found here:
> 
>   https://sourceware.org/binutils/docs/as/MIPS-NaN-Encodings.html
> 
> NaN legacy is the only option available for R2 cores and older.
> NaN 2008 is the only option available for R6 cores.
> R5 cores can have either NaN legacy or NaN 2008, depending on the
> implementation. So, if the user selects a generic R5 target architecture
> variant, we show a choice menu with both options available. For well
> known R5 cores we directly select the NaN enconding they use.
> 
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
> ---
> Changes v4 -> v6:
>  - Nothing
> Changes v3 -> v4:
>  - Do not have a default list for NAN options. Instead, select them from
>    the BR2_MIPS_CPU_* options. (Arnout)
>  - uclibc/Config.in: use the new NAN options from arch/Config.in.mips
> Changes v2 -> v3:
>  - Nothing
> Changes v1 -> v2:
>  - Define config symbol in arch/Config.in
>  - Change string "NAN" to "NaN"
> ---
>  arch/Config.in                                     |  3 ++
>  arch/Config.in.mips                                | 36 ++++++++++++++++++++++
>  package/gcc/gcc.mk                                 |  7 +++++
>  package/uclibc/Config.in                           |  4 +--
>  .../toolchain-external/pkg-toolchain-external.mk   |  5 +++
>  toolchain/toolchain-wrapper.c                      |  3 ++
>  6 files changed, 56 insertions(+), 2 deletions(-)

Applied to master, thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list