llext: refactor section copying
Instead of first allocating all sections and then copying then,
create a helper function to allocate and copy a single section and
call it for all appropriate sections. We need to call this function
from another location when copying string sections.
Signed-off-by:
Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Loading
Please sign in to comment