Other Parts Discussed in Thread: CODECOMPOSER
Tool/software: TI C/C++ Compiler
Hello,
I need to implement my own version of one of these TI compiler's built-in functions (see below section from UG). I have my implementation of "fabsf" in my static library. However, when the final binary is linked by TI linker, it never calls my version of function. It calls the built-in funtion. I have my library on the first position in my linker command line, it's before libc.a (TI library).
Should I use some special Linker options?
Any ideas?
Note: FROM TIUSER GUIDE:
ARM Optimizing C/C++ Compiler, v18.1.0.LTS, User's Guide
5.16.5 Built-In Functions
The following built-in functions are supported: __builtin_abs, __builtin_classify_type, __builtin_constant_p,
__builtin_expect, __builtin_fabs, __builtin_fabsf, __builtin_frame_address, __builtin_labs, __builtin_llabs,
__builtin_sqrt, __builtin_sqrtf, __builtin_memcpy, and __builtin_return_address.
The __builtin_frame_address function returns zero unless the argument is a constant zero.
The __builtin_return_address function always returns zero.