lkml.org 
[lkml]   [2019]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 15/15] riscv: add binfmt_flat support
On Tue, Jun 11, 2019 at 09:16:43AM +0100, Vladimir Murzin wrote:
> On 6/10/19 10:20 PM, Christoph Hellwig wrote:
> > Use the generic support with arguments are on the stack. Same as arm
> > and m68k.
>
> Out of curiosity, what is reason for keeping arguments on the stack?
>
> ARM port of uClibc has following comment around manipulating of argv/argc:
>
> /*
> * uClinux/arm stacks look a little different from normal
> * MMU-full Linux/arm stacks (for no good reason)
> */
>
> So I though it is kind of legacy.

I just copied m68k and arm. But dropping this makes the uclinux
crt1 code simpler, so I'll drop the flag for the next version.

\
 
 \ /
  Last update: 2019-06-11 11:21    [W:0.055 / U:1.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site