On Thu, Feb 20, 2014 at 01:52:45PM +0000, Daniel Sanders wrote: > The GCC mailing list has a more complete explanation at > http://gcc.gnu.org/ml/gcc/2014-02/msg00342.html but it doesn't mention > that __NR_PAGEFLAGS from the first block of code is an enum value in > the kernel source. From what I've seen so far, Linux is essentially > using inline assembly and sed as a way to feed enum values into > conditional compilation directives.
Sounds exactly like what genassym in NetBSD is doing with the difference that it creates invalid assembler. Joerg _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
