Fix undefined references (#50)

Building without optimizations can fail to link with undefined
references to some inline functions, for example softfloat_countLeadingZeros32.
If I understand correctly, a plain inline function might never get
emitted in C99, so there is nothing to link against. Using static
inline fixes this.

Issue was also discussed in #11.

Signed-off-by: Nadime Barhoumi <nadime@riscv.org>
8 files changed
tree: 6e132469ecb87a65fcd361145e5ab23e9e461e62
  1. .github/
  2. build/
  3. doc/
  4. source/
  5. .gitignore
  6. COPYING.txt
  7. README.html
  8. README.md
  9. README.txt
README.md

Package Overview for Berkeley SoftFloat Release 3e

John R. Hauser
2018 January 20

Berkeley SoftFloat is a software implementation of binary floating-point that conforms to the IEEE Standard for Floating-Point Arithmetic. SoftFloat is distributed in the form of C source code. Building the SoftFloat sources generates a library file (typically softfloat.a or libsoftfloat.a) containing the floating-point subroutines.

The SoftFloat package is documented in the following files in the doc subdirectory:

Other files in the package comprise the source code for SoftFloat.