mescc: Mes C Library: Support gcc-4.6.4: Add math stubs.
authorJan Nieuwenhuizen <janneke@gnu.org>
Fri, 13 Sep 2019 13:11:38 +0000 (15:11 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Fri, 13 Sep 2019 13:11:38 +0000 (15:11 +0200)
commit98b9ac8e98e12896506042af97cbdee127d975da
tree38f7d50e5e34a0241437d346f43d734a9b12d72f
parent6bb225b4034105b6667df1c1eec50779d47dfca7
mescc: Mes C Library: Support gcc-4.6.4: Add math stubs.

* lib/math/ceil.c: New file.
* lib/math/floor.c: New file.
* lib/stub/atan2.c: New file.
* lib/stub/cos.c: New file.
* lib/stub/exp.c: New file.
* lib/stub/log.c: New file.
* lib/stub/modf.c: New file.
* lib/stub/pow.c: New file.
* lib/stub/sin.c: New file.
* lib/stub/sqrt.c: New file.
* lib/libc+gnu.c: Include them.
* include/math.h (atan2, ceil, cos, exp, fabs, floor, log, modf, pow,
sin, sqrt): Declare.
* lib/math/fabs.c: Update.
* lib/stub/ldexp.c: Update.
14 files changed:
build-aux/configure-lib.sh
include/math.h
lib/math/ceil.c [new file with mode: 0644]
lib/math/fabs.c
lib/math/floor.c [new file with mode: 0644]
lib/stub/atan2.c [new file with mode: 0644]
lib/stub/cos.c [new file with mode: 0644]
lib/stub/exp.c [new file with mode: 0644]
lib/stub/ldexp.c
lib/stub/log.c [new file with mode: 0644]
lib/stub/modf.c [new file with mode: 0644]
lib/stub/pow.c [new file with mode: 0644]
lib/stub/sin.c [new file with mode: 0644]
lib/stub/sqrt.c [new file with mode: 0644]