Indirect semihosting C library function
dependencies
Table 3 shows
functions that depend indirectly on one or more of the functions
listed in Table 2.
You can use Table 3 as
an initial guide, but it is recommended that you use either of the
following to identify any other functions with indirect or direct dependencies
on semihosting at link time:
#pragma import(__use_no_semihosting) in
C source code
IMPORT __use_no_semihosting in
assembly language source code.
Table 3. Indirect semihosting dependencies
Function
Usage
__raise()
Catching, handling, or diagnosing
C library exceptions, without C signal support. (Tailoring error
signaling, error handling, and program exit.)
__default_signal_handler()
Catching, handling, or diagnosing
C library exceptions, with C signal support. (Tailoring error signaling,
error handling, and program exit.)
__Heap_Initialize()
Choosing or redefining memory
allocation. Avoiding the heap and heap-using C library functions
supplied by ARM.
ferror(), fputc(), __stdout
Re-implementing the printf family.
(Tailoring input/output functions in the C and C++ libraries.).
__backspace(), fgetc(), __stdin
Re-implementing the scanf family.
(Tailoring input/output functions in the C and C++ libraries.).
fwrite(), fputs(),
puts(),fread(), fgets(),
gets(), ferror()
Re-implementing the stream output
family. (Tailoring input/output functions in the C and C++ libraries.).
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.