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 Mon, Sep 9, 2019 at 1:42 AM Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> wrote:
>
> 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.
>

Sure, will do in v2.

Thanks,
Andrey Smirnov

_______________________________________________
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