Re: [PATCH v2] Ensure that MIPS target code is compiled for the O32 ABI.

2015-10-14 Thread Andrei Borzenkov
14.10.2015 15:16, Vladimir 'phcoder' Serbinenko пишет: Le 14 oct. 2015 6:50 AM, "Andrei Borzenkov" a écrit : 10.10.2015 03:28, Vladimir 'φ-coder/phcoder' Serbinenko пишет: On 09.10.2015 23:14, Vladimir 'φ-coder/phcoder' Serbinenko wrote: On 13.09.2015 08:32, Andrei Borzenkov wrote: 08.09

Re: [PATCH v2] Ensure that MIPS target code is compiled for the O32 ABI.

2015-10-14 Thread Vladimir 'phcoder' Serbinenko
Le 14 oct. 2015 6:50 AM, "Andrei Borzenkov" a écrit : > > 10.10.2015 03:28, Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> On 09.10.2015 23:14, Vladimir 'φ-coder/phcoder' Serbinenko wrote: >>> >>> On 13.09.2015 08:32, Andrei Borzenkov wrote: 08.09.2015 20:11, Vladimir 'φ-coder/phcoder

Re: [PATCH v2] Ensure that MIPS target code is compiled for the O32 ABI.

2015-10-13 Thread Andrei Borzenkov
10.10.2015 03:28, Vladimir 'φ-coder/phcoder' Serbinenko пишет: On 09.10.2015 23:14, Vladimir 'φ-coder/phcoder' Serbinenko wrote: On 13.09.2015 08:32, Andrei Borzenkov wrote: 08.09.2015 20:11, Vladimir 'φ-coder/phcoder' Serbinenko пишет: On 23.08.2015 23:50, Mark H Weaver wrote: Include -mabi=

Re: [PATCH v2] Ensure that MIPS target code is compiled for the O32 ABI.

2015-10-09 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 09.10.2015 23:14, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 13.09.2015 08:32, Andrei Borzenkov wrote: >> 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

Re: [PATCH v2] Ensure that MIPS target code is compiled for the O32 ABI.

2015-10-09 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 13.09.2015 08:32, Andrei Borzenkov wrote: > 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

Re: [PATCH v2] Ensure that MIPS target code is compiled for the O32 ABI.

2015-09-12 Thread Andrei Borzenkov
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

Re: [PATCH v2] Ensure that MIPS target code is compiled for the O32 ABI.

2015-09-08 Thread Mark H Weaver
"Vladimir 'φ-coder/phcoder' Serbinenko" writes: > 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 wher

Re: [PATCH v2] Ensure that MIPS target code is compiled for the O32 ABI.

2015-09-08 Thread 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? > Th

[PATCH v2] Ensure that MIPS target code is compiled for the O32 ABI.

2015-08-24 Thread Mark H Weaver
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. This flag is also needed when compiling asm-tests/mips.S from configure, because GNU as rejects MIPS register names such as $t2 unless