libs/libm: migrate to SPDX identifier

Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea
2024-09-13 14:21:52 +02:00
committed by Xiang Xiao
parent d500b92db1
commit d5754ec7da
162 changed files with 401 additions and 311 deletions
+2
View File
@@ -1,6 +1,8 @@
# ##############################################################################
# libs/libm/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
+2
View File
@@ -1,6 +1,8 @@
############################################################################
# libs/libm/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
############################################################################
# libs/libm/bin/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
############################################################################
# libs/libm/kbin/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
# ##############################################################################
# libs/libm/libm/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
+2
View File
@@ -1,6 +1,8 @@
############################################################################
# libs/libm/libm/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
+2 -1
View File
@@ -1,7 +1,8 @@
/****************************************************************************
* libs/libm/libm/__cos.c
*
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-FileCopyrightText: Copyright (C) 1993 by Sun Microsystems, Inc.
*
* Developed at SunSoft, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
+2 -1
View File
@@ -1,7 +1,8 @@
/****************************************************************************
* libs/libm/libm/__sin.c
*
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-FileCopyrightText: Copyright (C) 1993 by Sun Microsystems, Inc.
*
* Developed at SunSoft, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
+2
View File
@@ -1,6 +1,8 @@
# ##############################################################################
# libs/libm/libm/arm/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
+2
View File
@@ -1,6 +1,8 @@
############################################################################
# libs/libm/libm/arm/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
@@ -1,6 +1,8 @@
# ##############################################################################
# libs/libm/libm/arm/armv7-m/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
+2
View File
@@ -1,6 +1,8 @@
############################################################################
# libs/libm/libm/arm/armv7-m/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* libs/libm/libm/arm/armv7-m/arch_fabsf.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* libs/libm/libm/arm/armv7-m/arch_sqrtf.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
@@ -1,6 +1,8 @@
# ##############################################################################
# libs/libm/libm/arm/armv8-m/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
+2
View File
@@ -1,6 +1,8 @@
############################################################################
# libs/libm/libm/arm/armv8-m/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
+2 -1
View File
@@ -1,7 +1,8 @@
/****************************************************************************
* libs/libm/libm/arm/armv8-m/arch_ceil.c
*
* Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
+2 -1
View File
@@ -1,7 +1,8 @@
/****************************************************************************
* libs/libm/libm/arm/armv8-m/arch_ceilf.c
*
* Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
+2 -1
View File
@@ -1,7 +1,8 @@
/****************************************************************************
* libs/libm/libm/arm/armv8-m/arch_floor.c
*
* Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
+2 -1
View File
@@ -1,7 +1,8 @@
/****************************************************************************
* libs/libm/libm/arm/armv8-m/arch_floorf.c
*
* Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
+2 -1
View File
@@ -1,7 +1,8 @@
/****************************************************************************
* libs/libm/libm/arm/armv8-m/arch_nearbyint.c
*
* Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
+2 -1
View File
@@ -1,7 +1,8 @@
/****************************************************************************
* libs/libm/libm/arm/armv8-m/arch_nearbyintf.c
*
* Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
+2 -1
View File
@@ -1,7 +1,8 @@
/****************************************************************************
* libs/libm/libm/arm/armv8-m/arch_rint.c
*
* Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
+2 -1
View File
@@ -1,7 +1,8 @@
/****************************************************************************
* libs/libm/libm/arm/armv8-m/arch_rintf.c
*
* Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
+2 -1
View File
@@ -1,7 +1,8 @@
/****************************************************************************
* libs/libm/libm/arm/armv8-m/arch_round.c
*
* Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
+2 -1
View File
@@ -1,7 +1,8 @@
/****************************************************************************
* libs/libm/libm/arm/armv8-m/arch_roundf.c
*
* Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
+2 -1
View File
@@ -1,7 +1,8 @@
/****************************************************************************
* libs/libm/libm/arm/armv8-m/arch_trunc.c
*
* Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
+2 -1
View File
@@ -1,7 +1,8 @@
/****************************************************************************
* libs/libm/libm/arm/armv8-m/arch_truncf.c
*
* Copyright (c) 2011, 2012 ARM Ltd. All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-FileCopyrightText: Copyright (c) 2011, 2012 ARM Ltd.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
+3 -4
View File
@@ -1,10 +1,9 @@
/****************************************************************************
* libs/libm/libm/lib_acos.c
*
* This file is a part of NuttX:
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Ported by: Darcy Gong
* SPDX-License-Identifier: ISC
* SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt.
* SPDX-FileContributor: Ported by: Darcy Gong
*
* It derives from the Rhombus OS math library by Nick Johnson which has
* a compatible, MIT-style license:
+3 -4
View File
@@ -1,10 +1,9 @@
/****************************************************************************
* libs/libm/libm/lib_acosf.c
*
* This file is a part of NuttX:
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Ported by: Darcy Gong
* SPDX-License-Identifier: ISC
* SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt.
* SPDX-FileContributor: Ported by: Darcy Gong
*
* It derives from the Rhombus OS math library by Nick Johnson which has
* a compatible, MIT-style license:
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* libs/libm/libm/lib_acosh.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* libs/libm/libm/lib_acoshf.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* libs/libm/libm/lib_acoshl.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+3 -4
View File
@@ -1,10 +1,9 @@
/****************************************************************************
* libs/libm/libm/lib_acosl.c
*
* This file is a part of NuttX:
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Ported by: Darcy Gong
* SPDX-License-Identifier: ISC
* SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt.
* SPDX-FileContributor: Ported by: Darcy Gong
*
* It derives from the Rhombus OS math library by Nick Johnson which has
* a compatible, MIT-style license:
+3 -4
View File
@@ -1,10 +1,9 @@
/****************************************************************************
* libs/libm/libm/lib_asin.c
*
* This file is a part of NuttX:
*
* Copyright (C) 2012, 2015-2016 Gregory Nutt. All rights reserved.
* Ported by: Darcy Gong
* SPDX-License-Identifier: ISC
* SPDX-FileCopyrightText: Copyright (C) 2015-2016 Gregory Nutt.
* SPDX-FileContributor: Ported by: Darcy Gong
*
* It derives from the Rhombus OS math library by Nick Johnson which has
* a compatible, MIT-style license:
+3 -4
View File
@@ -1,10 +1,9 @@
/****************************************************************************
* libs/libm/libm/lib_asinf.c
*
* This file is a part of NuttX:
*
* Copyright (C) 2012, 2016 Gregory Nutt. All rights reserved.
* Ported by: Darcy Gong
* SPDX-License-Identifier: ISC
* SPDX-FileCopyrightText: Copyright (C) 2012, 2016 Gregory Nutt.
* SPDX-FileContributor: Ported by: Darcy Gong
*
* It derives from the Rhombus OS math library by Nick Johnson which has
* a compatible, MIT-style license:
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* libs/libm/libm/lib_asinh.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* libs/libm/libm/lib_asinhf.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* libs/libm/libm/lib_asinhl.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+3 -4
View File
@@ -1,10 +1,9 @@
/****************************************************************************
* libs/libm/libm/lib_asinl.c
*
* This file is a part of NuttX:
*
* Copyright (C) 2012, 2016 Gregory Nutt. All rights reserved.
* Ported by: Darcy Gong
* SPDX-License-Identifier: ISC
* SPDX-FileCopyrightText: Copyright (C) 2012, 2016 Gregory Nutt.
* SPDX-FileContributor: Ported by: Darcy Gong
*
* It derives from the Rhombus OS math library by Nick Johnson which has
* a compatible, MIT-style license:
+3 -4
View File
@@ -1,10 +1,9 @@
/****************************************************************************
* libs/libm/libm/lib_atan.c
*
* This file is a part of NuttX:
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Ported by: Darcy Gong
* SPDX-License-Identifier: ISC
* SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt.
* SPDX-FileContributor: Ported by: Darcy Gong
*
* It derives from the Rhombus OS math library by Nick Johnson which has
* a compatible, MIT-style license:
+3 -4
View File
@@ -1,10 +1,9 @@
/****************************************************************************
* libs/libm/libm/lib_atan2.c
*
* This file is a part of NuttX:
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Ported by: Darcy Gong
* SPDX-License-Identifier: ISC
* SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt.
* SPDX-FileContributor: Ported by: Darcy Gong
*
* It derives from the Rhombus OS math library by Nick Johnson which has
* a compatible, MIT-style license:
+3 -4
View File
@@ -1,10 +1,9 @@
/****************************************************************************
* libs/libm/libm/lib_atan2f.c
*
* This file is a part of NuttX:
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Ported by: Darcy Gong
* SPDX-License-Identifier: ISC
* SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt.
* SPDX-FileContributor: Ported by: Darcy Gong
*
* It derives from the Rhombus OS math library by Nick Johnson which has
* a compatible, MIT-style license:
+3 -4
View File
@@ -1,10 +1,9 @@
/****************************************************************************
* libs/libm/libm/lib_atan2l.c
*
* This file is a part of NuttX:
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Ported by: Darcy Gong
* SPDX-License-Identifier: ISC
* SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt.
* SPDX-FileContributor: Ported by: Darcy Gong
*
* It derives from the Rhombus OS math library by Nick Johnson which has
* a compatible, MIT-style license:
+3 -4
View File
@@ -1,10 +1,9 @@
/****************************************************************************
* libs/libm/libm/lib_atanf.c
*
* This file is a part of NuttX:
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Ported by: Darcy Gong
* SPDX-License-Identifier: ISC
* SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt.
* SPDX-FileContributor: Ported by: Darcy Gong
*
* It derives from the Rhombus OS math library by Nick Johnson which has
* a compatible, MIT-style license:
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* libs/libm/libm/lib_atanh.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* libs/libm/libm/lib_atanhf.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* libs/libm/libm/lib_atanhl.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+3 -4
View File
@@ -1,10 +1,9 @@
/****************************************************************************
* libs/libm/libm/lib_atanl.c
*
* This file is a part of NuttX:
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Ported by: Darcy Gong
* SPDX-License-Identifier: ISC
* SPDX-FileCopyrightText: Copyright (C) 2012 Gregory Nutt.
* SPDX-FileContributor: Ported by: Darcy Gong
*
* It derives from the Rhombus OS math library by Nick Johnson which has
* a compatible, MIT-style license:
+3 -1
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* libs/libm/libm/lib_cbrt.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
@@ -52,4 +54,4 @@ double cbrt(double x)
}
}
#endif
#endif

Some files were not shown because too many files have changed in this diff Show More