Hi Eli, > I don't think mcmodel=kernel has gotten much use; that said, please > send the patch separately to the llvm-commits list. I believe it's used by FreeBSD (actually this was the first "testcase" for kernel cmodel) -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University