08.09.2015 20:11, Vladimir 'φ-coder/phcoder' Serbinenko пишет:
On 23.08.2015 23:50, Mark H Weaver wrote:
Include -mabi=32 in CFLAGS_PLATFORM and CCASFLAGS_PLATFORM to compile
code for the O32 ABI when targetting MIPS, since the MIPS assembly code
in GRUB assumes this.
Could you be more precise where we assume this? Why not fix the assembly
instead?
If I understand it correctly, this is not only about assembly - ABIs
differ in sizes of types as well, so we'd need to define whole new CPU
in grub. Not sure if it's worth it. We can consider ourselves lucky it
was caught that early.
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel