Yoshinori K. Okuji schrieb:
Also, without grub-emu, how do you plan to debug GRUB?
I'd have some questions relating to that to improve the patch, if possible.
But first, please note that grub-emu currently can't work because argp.h and its features aren't provided on Solaris, so I can't test the proper operation of it.

As for grub-emu, does it use the target-built objects (ie. .mod files) and loads them in the host system? If so, is this why you need the _start/start (and the other) detection, so the modules contain the right symbol for the host? In this case, the right solution would probably be to do those tests using the host compiler, not the target's.

The target doesn't care one way or the other (there is no non-grub code around that looks for symbols at boot time), so it can just inherit, what the host is doing.

I can provide a patch that takes this into account, if my guesses are correct, but I'd need some more insights in what exactly is required.


Thanks,
Patrick Georgi



_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to