Re: [PATCH v6 02/10] dump: Write ELF section headers right after ELF header

2022-10-17 Thread Marc Hartmayer
Janosch Frank writes: > On 10/17/22 14:49, Marc Hartmayer wrote: >> Janosch Frank writes: >> >>> Let's start bundling the writes of the headers and of the data so we >>> have a clear ordering between them. Since the ELF header uses offsets >>> to the headers we can freely order them. >>> >>> Si

Re: [PATCH v6 02/10] dump: Write ELF section headers right after ELF header

2022-10-17 Thread Janosch Frank
On 10/17/22 14:49, Marc Hartmayer wrote: Janosch Frank writes: Let's start bundling the writes of the headers and of the data so we have a clear ordering between them. Since the ELF header uses offsets to the headers we can freely order them. Signed-off-by: Janosch Frank --- dump/dump.c |

Re: [PATCH v6 02/10] dump: Write ELF section headers right after ELF header

2022-10-17 Thread Marc Hartmayer
Janosch Frank writes: > Let's start bundling the writes of the headers and of the data so we > have a clear ordering between them. Since the ELF header uses offsets > to the headers we can freely order them. > > Signed-off-by: Janosch Frank > --- > dump/dump.c | 31 ++---

Re: [PATCH v6 02/10] dump: Write ELF section headers right after ELF header

2022-10-17 Thread Marc-André Lureau
On Mon, Oct 17, 2022 at 12:39 PM Janosch Frank wrote: > Let's start bundling the writes of the headers and of the data so we > have a clear ordering between them. Since the ELF header uses offsets > to the headers we can freely order them. > > Signed-off-by: Janosch Frank > Reviewed-by: Marc-An

[PATCH v6 02/10] dump: Write ELF section headers right after ELF header

2022-10-17 Thread Janosch Frank
Let's start bundling the writes of the headers and of the data so we have a clear ordering between them. Since the ELF header uses offsets to the headers we can freely order them. Signed-off-by: Janosch Frank --- dump/dump.c | 31 ++- 1 file changed, 14 insertions(+),