|
From: | Andrei Borzenkov |
Subject: | Re: [PATCH v2] Ensure that MIPS target code is compiled for the O32 ABI. |
Date: | Sun, 13 Sep 2015 09:32:14 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |