elf_fdpic_transfer_args_to_stack(): make it generic
This copying of arguments and environment is common to both NOMMU binary formats we support. Let's make the elf_fdpic version available to the flat format as well. While at it, improve the code a bit not to copy below the actual data area. Signed-off-by: NNicolas Pitre <nico@linaro.org> Reviewed-by: NGreg Ungerer <gerg@linux-m68k.org> Signed-off-by: NGreg Ungerer <gerg@linux-m68k.org>
Showing
想要评论请 注册 或 登录