1.6.6 Direct semihosting C library function dependencies

A table showing the functions that depend directly on semihosting.

Table 1-2 Direct semihosting dependencies

Function Description

__user_initial_stackheap()

Sets up and returns the locations of the stack and the heap. If you are using a scatter file at the link stage, you might have to re-implement this function.

The linker issues an error when no semihosting is requested and __user_initial_stackheap() is not re-implemented.

_sys_exit()

_ttywrch()

Error signaling, error handling, and program exit.

_sys_command_string()

_sys_close()

_sys_iserror()

_sys_istty()

_sys_flen()

_sys_open()

_sys_read()

_sys_seek()

_sys_write()

_sys_tmpnam()

Tailoring input/output functions in the C and C++ libraries.

clock()

_clock_init()

remove()

rename()

system()

time()

Tailoring other C library functions.
Non-ConfidentialPDF file icon PDF versionARM DUI0475M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.