File: fenv_stub.c

package info (click to toggle)
picolibc 1.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 27,124 kB
  • sloc: ansic: 266,005; asm: 22,255; perl: 2,388; sh: 1,016; python: 994; exp: 282; makefile: 94; xml: 39
file content (23 lines) | stat: -rw-r--r-- 830 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * SPDX-License-Identifier: BSD-2-Clause
 * 
 * (c) Copyright 2019 Joel Sherrill <joel@rtems.org
 */

/*
 * This file is intentionally empty. 
 *
 * Newlib's build infrastructure needs a machine specific fiel 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 <sys/fenv.h>, 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.
 */

/* deliberately empty */