forked from Archive/PX4-Autopilot
IOv1: Error handling pointer hackery
This commit is contained in:
parent
d0ca0ff837
commit
1ab23739ad
|
@ -72,6 +72,11 @@ SECTIONS
|
|||
*(.gcc_except_table)
|
||||
*(.gnu.linkonce.r.*)
|
||||
_etext = ABSOLUTE(.);
|
||||
/*
|
||||
* This is a hack to make the newlib libm __errno() call
|
||||
* use the NuttX get_errno_ptr() function.
|
||||
*/
|
||||
__errno = get_errno_ptr;
|
||||
} > flash
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue