Re: [PATCH] ARM: aarch64: Re-implement most of barebox_arm_entry() in assembly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Sep 07, 2019 at 04:56:45PM -0700, Andrey Smirnov wrote:
> GCC9 now produces the following warning:
> 
> common.h:51:2: warning: listing the stack pointer register ‘sp’ in a clobber list is deprecated [-Wdeprecated]
>    51 |  __asm__ __volatile__("mov sp, %0"
>       |  ^~~~~~~
> common.h:51:2: note: the value of the stack pointer after  an ‘asm’ statement must be the same as it was before the statement

Hm, this makes an arm_setup_stack() function illegal by definition. I
think we have work to do :(

Can you change both arm32 and aarch64 to assembly in this patch? We have
to do something anyway, changing both architectures might make this
patch simpler.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux