need to compile .o files with mcmodel=kernel for kernel module