commit | 7e7ec6a934349ef6983f06f7ac0da09cc8a42983 | [log] [tgz] |
---|---|---|
author | Nicolas Pitre <nicolas.pitre@linaro.org> | Sun Jul 24 11:30:18 2016 -0400 |
committer | Greg Ungerer <gerg@linux-m68k.org> | Mon Jul 25 16:51:49 2016 +1000 |
tree | d6058da1f3716a7173362a28fd816d4c60fef790 | |
parent | c995ee28d29d6f256c3a8a6c4e66469554374f25 [diff] |
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: Nicolas Pitre <nico@linaro.org> Reviewed-by: Greg Ungerer <gerg@linux-m68k.org> Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>