__aeabi_errno_addr() returns the address of the C library
errno variable when the C library attempts to read or write
volatile int *__aeabi_errno_addr(
The library provides a default implementation. It is unlikely that you have to re-implement this function.
This function is not part of the C library standard, but the Arm® C library supports it as an extension.