newlib: Rename exit to _exit
This patch renames the 'exit' function from newlib/libc-hooks.c to '_exit' since this is the correct name of the newlib system call. This patch fixes some linking errors that occur when an applications uses abort() or assert(). Change-Id: I593e5ec5dc0f84dbbebe4aceb38703256e140914 Signed-off-by: Andre Guedes <andre.guedes@intel.com>
This commit is contained in:
parent
89ec552be9
commit
aa47bd8d6c
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ int _fstat(int file, struct stat *st)
|
|||
}
|
||||
|
||||
|
||||
void exit(int status)
|
||||
void _exit(int status)
|
||||
{
|
||||
write(1, "exit", 4);
|
||||
while (1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue