Intermediate stage in reincorporating old libc into userspace tasks.

This commit is contained in:
Bahadir Balban
2009-08-29 14:29:57 +03:00
parent 9e894274a3
commit 779429d289
179 changed files with 12922 additions and 918 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ SECTIONS
{
. = virtual_base;
_start_text = .;
.text : AT (ADDR(.text) - offset) { *(.text.head) *(.text) }
.text : AT (ADDR(.text) - offset) { crt0.o(.text) *(.text) }
/* rodata is needed else your strings will link at physical! */
.rodata : AT (ADDR(.rodata) - offset) { *(.rodata) }
.rodata1 : AT (ADDR(.rodata1) - offset) { *(.rodata1) }
+1 -2
View File
@@ -3,14 +3,13 @@
#define __TASKNAME__ "test0"
// #define TEST_VERBOSE_PRINT
//#define TEST_VERBOSE_PRINT
#if defined (TEST_VERBOSE_PRINT)
#define test_printf(...) printf(__VA_ARGS__)
#else
#define test_printf(...)
#endif
#include <printf.h>
#include <sys/types.h>
extern pid_t parent_of_all;