Xv6 with picoc & Linkage editor  v1.0
The project delineate mutual cohesion between c library, linkage editor ( linker), interpreter and operating system by porting the same on xv6 kernel
 All Data Structures
dietwarning.h
00001 #include "dietfeatures.h"
00002 #ifdef WANT_LINKER_WARNINGS
00003 
00004 #ifndef __ASSEMBLER__
00005 
00006 #define link_warning(symbol,msg) \
00007   asm (".section .gnu.warning." symbol "\n\t.string \"" msg "\"\n\t.previous");
00008 
00009 #else
00010 
00011 #define link_warning(symbol,msg) \
00012   .section .gnu.warning.##symbol ;\
00013   .string msg ;\
00014   .previous
00015 
00016 #endif
00017 
00018 #else
00019 
00020 #define link_warning(foo,bar)
00021 
00022 #endif
 All Data Structures