[U-Boot] [PATCH] arm: Fix armv8 compilation error

Steve Rae srae at broadcom.com
Sat Jul 5 00:55:53 CEST 2014


Albert,

I don't think that there is any code currently submitted that triggers 
this error.
(it is "hidden" inside inline functions...)

However, you could add one line of code 'anywhere' to test this:
	test_and_set_bit(1, (volatile void *)0x12345678);

Thanks, Steve

PS.
- using: 
gcc-linaro-aarch64-linux-gnu-4.8-2014.01_linux/bin/aarch64-linux-gnu-
- and:    ./MAKEALL -a aarch64


On 14-07-04 02:41 PM, Albert ARIBAUD wrote:
> Hi Darwin,
>
> On Mon, 9 Jun 2014 13:25:52 -0700, Darwin Rambo <drambo at broadcom.com>
> wrote:
>
>> From: "Shaibal.Dutta" <shaibal.dutta at broadcom.com>
>>
>> Fix following compilation error when CONFIG_ARM64 is defined
>>
>> Error: unknown or missing system register name at operand 2
>> -- `mrs x0,daifmsr daifset,#3'
>>
>> Signed-off-by: Shaibal.Dutta <shaibal.dutta at broadcom.com>
>> Signed-off-by: Darwin Rambo <drambo at broadcom.com>
>> Reviewed-by: Darwin Rambo <drambo at broadcom.com>
>> ---
>
> I don't get any such error. Which board and which compiler does it
> appear for?
>
> Amicalement,
>


More information about the U-Boot mailing list