Homemade Kernel linker global variables and inline Strings cannot be accessed
问题 I have followed some tutorials on the web and created my own kernel. It is booting on GRUB with QEMU succesfully. But I have the problem described in this SO question, and I cannot solve it. I can have that workaround described, but I also need to use global variables, it would make the job easier, but I do not understand what should I change in linker to properly use global variables and inline strings. main.c struct grub_signature { unsigned int magic; unsigned int flags; unsigned int