From 70782484855f3ecedfc9c3caf5397b380c0328b8 Mon Sep 17 00:00:00 2001 From: David Macek Date: Wed, 7 Apr 2021 10:49:00 +0200 Subject: [PATCH] fenv: fix up stub file comment, drop symlinks from description also slightly fixed up formatting --- newlib/libm/fenv/fenv_stub.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/newlib/libm/fenv/fenv_stub.c b/newlib/libm/fenv/fenv_stub.c index a4eb652f3..500762247 100644 --- a/newlib/libm/fenv/fenv_stub.c +++ b/newlib/libm/fenv/fenv_stub.c @@ -1,22 +1,22 @@ /* * SPDX-License-Identifier: BSD-2-Clause - * + * * (c) Copyright 2019 Joel Sherrill , it will need - * to override the default implementation found in a file in this directory. + * Newlib's build infrastructure needs a machine specific file to override + * the generic implementation in the library. When a target implementation + * of the fenv.h methods puts all methods in a single file (e.g. fenv.c) or + * some as inline methods in its , it will need to override the + * default implementation found in a file in this directory. * * For each file that the target's machine directory needs to override, - * this file should be symbolically linked to that specific file name - * in the target directory. For example, the target may use fe_dfl_env.c - * from the default implementation but need to override all others. + * there should be a corresponding stub file in the target directory. + * To avoid copying this explanation far and wide, #including this + * fenv_stub.c from the stub files in encouraged. */ /* deliberately empty */ -- 2.43.5