]> git.proxmox.com Git - mirror_qemu.git/commit
dump: Write ELF section headers right after ELF header
authorJanosch Frank <frankja@linux.ibm.com>
Mon, 17 Oct 2022 08:38:14 +0000 (08:38 +0000)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 24 Oct 2022 18:30:10 +0000 (22:30 +0400)
commitcb415fd61e48d52f81dcf38956e3f913651cff1c
tree9a6bd6d8826f869ac0eeb34fb99828c153fb0228
parente41ed29bcee5cb16715317bcf290f6b5c196eb0a
dump: Write ELF section headers right after ELF header

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 <frankja@linux.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20221017083822.43118-3-frankja@linux.ibm.com>
dump/dump.c