[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grub-devel
Subject:    Re: [PATCH v2] Ensure that MIPS target code is compiled for the O32 ABI.
From:       Andrei Borzenkov <arvidjaar () gmail ! com>
Date:       2015-09-13 6:32:14
Message-ID: 55F5186E.5040306 () gmail ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic