OSDN Git Service

dump: Split elf header functions into prepare and write
authorJanosch Frank <frankja@linux.ibm.com>
Thu, 11 Aug 2022 12:11:00 +0000 (12:11 +0000)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 6 Oct 2022 15:30:43 +0000 (19:30 +0400)
commit670e76998a61ca171200fcded3865b294a2d1243
tree33b211fe8ca5ac8abc4b41ad8c729ce9bcfc224b
parentc370d5300f9ac1f90f8158082d22262b904fe30e
dump: Split elf header functions into prepare and write

Let's split the write from the modification of the elf header so we
can consolidate the write of the data in one function.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220811121111.9878-8-frankja@linux.ibm.com>
dump/dump.c