From 21746c588f728776c6338e70cba1d5d7fb7e2085 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 19 Jan 2017 09:57:16 -0600 Subject: [PATCH] Update Copyright for NuttX adaption --- libc/machine/Kconfig | 2 +- libc/machine/arm/lib_ceil.c | 4 ++++ libc/machine/arm/lib_ceilf.c | 4 ++++ libc/machine/arm/lib_floor.c | 4 ++++ libc/machine/arm/lib_floorf.c | 4 ++++ libc/machine/arm/lib_nearbyint.c | 4 ++++ libc/machine/arm/lib_nearbyintf.c | 4 ++++ libc/machine/arm/lib_rint.c | 4 ++++ libc/machine/arm/lib_rintf.c | 4 ++++ libc/machine/arm/lib_round.c | 4 ++++ libc/machine/arm/lib_roundf.c | 4 ++++ libc/machine/arm/lib_trunc.c | 4 ++++ libc/machine/arm/lib_truncf.c | 4 ++++ 13 files changed, 49 insertions(+), 1 deletion(-) diff --git a/libc/machine/Kconfig b/libc/machine/Kconfig index d6bc6febb8..db468f6db1 100644 --- a/libc/machine/Kconfig +++ b/libc/machine/Kconfig @@ -66,7 +66,7 @@ config LIBC_ARCHOPT select LIBM_ARCH_RINTF if CONFIG_ARCH_FPU select LIBM_ARCH_ROUNDF if CONFIG_ARCH_FPU select LIBM_ARCH_TRUNCF if CONFIG_ARCH_FPU - depends on ARM && LIBM + depends on ARCH_ARM && LIBM ---help--- Enable architecture specific optimizations. Currently only available for use with ARM and only for the NuttX math library. diff --git a/libc/machine/arm/lib_ceil.c b/libc/machine/arm/lib_ceil.c index 25d93a877b..f78df16494 100644 --- a/libc/machine/arm/lib_ceil.c +++ b/libc/machine/arm/lib_ceil.c @@ -1,6 +1,10 @@ /**************************************************************************** * libc/machine/arm/lib_ceil.c * + * Copyright (C) 2017 Gregory Nutt. All rights reserved. + * + * Adapted for NuttX from BSD licensed code provided by ARM: + * * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/libc/machine/arm/lib_ceilf.c b/libc/machine/arm/lib_ceilf.c index 3f80b07bff..6127b46547 100644 --- a/libc/machine/arm/lib_ceilf.c +++ b/libc/machine/arm/lib_ceilf.c @@ -1,6 +1,10 @@ /**************************************************************************** * libc/machine/arm/lib_ceilf.c * + * Copyright (C) 2017 Gregory Nutt. All rights reserved. + * + * Adapted for NuttX from BSD licensed code provided by ARM: + * * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/libc/machine/arm/lib_floor.c b/libc/machine/arm/lib_floor.c index 8957aeb80c..9d180d421a 100644 --- a/libc/machine/arm/lib_floor.c +++ b/libc/machine/arm/lib_floor.c @@ -1,6 +1,10 @@ /**************************************************************************** * libc/machine/arm/lib_floor.c * + * Copyright (C) 2017 Gregory Nutt. All rights reserved. + * + * Adapted for NuttX from BSD licensed code provided by ARM: + * * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/libc/machine/arm/lib_floorf.c b/libc/machine/arm/lib_floorf.c index 4e7112e148..30890232a9 100644 --- a/libc/machine/arm/lib_floorf.c +++ b/libc/machine/arm/lib_floorf.c @@ -1,6 +1,10 @@ /**************************************************************************** * libc/machine/arm/lib_floorf.c * + * Copyright (C) 2017 Gregory Nutt. All rights reserved. + * + * Adapted for NuttX from BSD licensed code provided by ARM: + * * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/libc/machine/arm/lib_nearbyint.c b/libc/machine/arm/lib_nearbyint.c index 2718ce5f61..16bf2ee302 100644 --- a/libc/machine/arm/lib_nearbyint.c +++ b/libc/machine/arm/lib_nearbyint.c @@ -1,6 +1,10 @@ /**************************************************************************** * libc/machine/arm/lib_nearbyint.c * + * Copyright (C) 2017 Gregory Nutt. All rights reserved. + * + * Adapted for NuttX from BSD licensed code provided by ARM: + * * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/libc/machine/arm/lib_nearbyintf.c b/libc/machine/arm/lib_nearbyintf.c index 81158dc4c2..d91340e5f4 100644 --- a/libc/machine/arm/lib_nearbyintf.c +++ b/libc/machine/arm/lib_nearbyintf.c @@ -1,6 +1,10 @@ /**************************************************************************** * libc/machine/arm/lib_nearbyintf.c * + * Copyright (C) 2017 Gregory Nutt. All rights reserved. + * + * Adapted for NuttX from BSD licensed code provided by ARM: + * * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/libc/machine/arm/lib_rint.c b/libc/machine/arm/lib_rint.c index d085486cc0..53c3d3d3fd 100644 --- a/libc/machine/arm/lib_rint.c +++ b/libc/machine/arm/lib_rint.c @@ -1,6 +1,10 @@ /**************************************************************************** * libc/machine/arm/lib_rint.c * + * Copyright (C) 2017 Gregory Nutt. All rights reserved. + * + * Adapted for NuttX from BSD licensed code provided by ARM: + * * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/libc/machine/arm/lib_rintf.c b/libc/machine/arm/lib_rintf.c index f57cddd5dc..85b7606630 100644 --- a/libc/machine/arm/lib_rintf.c +++ b/libc/machine/arm/lib_rintf.c @@ -1,6 +1,10 @@ /**************************************************************************** * libc/machine/arm/lib_rintf.c * + * Copyright (C) 2017 Gregory Nutt. All rights reserved. + * + * Adapted for NuttX from BSD licensed code provided by ARM: + * * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/libc/machine/arm/lib_round.c b/libc/machine/arm/lib_round.c index df37177006..b3926392a6 100644 --- a/libc/machine/arm/lib_round.c +++ b/libc/machine/arm/lib_round.c @@ -1,6 +1,10 @@ /**************************************************************************** * libc/machine/arm/lib_round.c * + * Copyright (C) 2017 Gregory Nutt. All rights reserved. + * + * Adapted for NuttX from BSD licensed code provided by ARM: + * * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/libc/machine/arm/lib_roundf.c b/libc/machine/arm/lib_roundf.c index 24db108057..ea5141935b 100644 --- a/libc/machine/arm/lib_roundf.c +++ b/libc/machine/arm/lib_roundf.c @@ -1,6 +1,10 @@ /**************************************************************************** * libc/machine/arm/lib_roundf.c * + * Copyright (C) 2017 Gregory Nutt. All rights reserved. + * + * Adapted for NuttX from BSD licensed code provided by ARM: + * * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/libc/machine/arm/lib_trunc.c b/libc/machine/arm/lib_trunc.c index d7c6369adf..55d0d1e659 100644 --- a/libc/machine/arm/lib_trunc.c +++ b/libc/machine/arm/lib_trunc.c @@ -1,6 +1,10 @@ /**************************************************************************** * libc/machine/arm/lib_trunc.c * + * Copyright (C) 2017 Gregory Nutt. All rights reserved. + * + * Adapted for NuttX from BSD licensed code provided by ARM: + * * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/libc/machine/arm/lib_truncf.c b/libc/machine/arm/lib_truncf.c index a416bb8f4c..1e3362dc28 100644 --- a/libc/machine/arm/lib_truncf.c +++ b/libc/machine/arm/lib_truncf.c @@ -1,6 +1,10 @@ /**************************************************************************** * libc/machine/arm/lib_truncf.c * + * Copyright (C) 2017 Gregory Nutt. All rights reserved. + * + * Adapted for NuttX from BSD licensed code provided by ARM: + * * Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. * * Redistribution and use in source and binary forms, with or without