newlib: 1)native console support for printf.c() and puts.c()

2)static libc and linking against static libraries

git-svn-id: svn://kolibrios.org@6068 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge)
2016-01-18 02:22:44 +00:00
parent 73fdb3cb47
commit 0b1b135336
13 changed files with 1028 additions and 142 deletions

View File

@@ -550,14 +550,14 @@ __LOCK_INIT_RECURSIVE(static, malloc_global_mutex);
#define CORRUPTION_ERROR_ACTION(m) \
do { \
printf("%s malloc heap corrupted\n",__FUNCTION__); \
/*printf("%s malloc heap corrupted\n",__FUNCTION__); */\
__asm__("int3"); \
}while(0) \
#define USAGE_ERROR_ACTION(m, p) \
do { \
printf("%s malloc heap corrupted\n",__FUNCTION__); \
/*printf("%s malloc heap corrupted\n",__FUNCTION__); */\
__asm__("int3"); \
}while(0) \