Re: [RFC 1/2] MIPS: start.S: add "barebox" label at _start + 8

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

 



On 28 April 2012 17:52, Antony Pavlov <antonynpavlov@xxxxxxxxx> wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx>
> ---
>  arch/mips/boot/start.S |    8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/arch/mips/boot/start.S b/arch/mips/boot/start.S
> index b756d40..d8f4fd5 100644
> --- a/arch/mips/boot/start.S
> +++ b/arch/mips/boot/start.S
> @@ -52,6 +52,14 @@ _pc: addiu   \rd, ra, \label - _pc           # label is assumed to be
>        .align 4
>
>  EXPORT(_start)
> +
> +       b       __start
> +        nop
> +
> +       .ascii  "barebox"

There is the problem with mips64 (thank to Jean-Christophe).
We must set offset for "barebox" string more explicitly.

I will remake the patches.

> +       .byte   0
> +
> +__start:
>        /* disable watchpoints */
>        mtc0    zero, CP0_WATCHLO
>        mtc0    zero, CP0_WATCHHI
> --
> 1.7.10
>


-- 
Best regards,
  Antony Pavlov

_______________________________________________
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