Re: [PATCH V3 10/17] riscv: compat: Add elf.h implementation

2022-01-20 Thread Guo Ren
On Thu, Jan 20, 2022 at 9:33 PM Arnd Bergmann wrote: > > On Thu, Jan 20, 2022 at 8:39 AM wrote: > > From: Guo Ren > > > > Implement necessary type and macro for compat elf. See the code > > comment for detail. > > > > Signed-off-by: Guo Ren > > Reviewed-by: Arnd Bergmann > > > + > > +/* > > +

Re: [PATCH V3 10/17] riscv: compat: Add elf.h implementation

2022-01-20 Thread Arnd Bergmann
On Thu, Jan 20, 2022 at 8:39 AM wrote: > From: Guo Ren > > Implement necessary type and macro for compat elf. See the code > comment for detail. > > Signed-off-by: Guo Ren Reviewed-by: Arnd Bergmann > + > +/* > + * FIXME: not sure SET_PERSONALITY for compat process is right! > + */ > +#define

[PATCH V3 10/17] riscv: compat: Add elf.h implementation

2022-01-19 Thread guoren
From: Guo Ren Implement necessary type and macro for compat elf. See the code comment for detail. Signed-off-by: Guo Ren Signed-off-by: Guo Ren Cc: Arnd Bergmann --- arch/riscv/include/asm/elf.h | 51 +++- 1 file changed, 50 insertions(+), 1 deletion(-) diff