dump: Consolidate phdr note writes
commitbc7d558017e6700f9a05c61b0b638a8994945f0d
authorJanosch Frank <frankja@linux.ibm.com>
Wed, 30 Mar 2022 12:36:01 +0000 (30 12:36 +0000)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 22 Apr 2022 09:36:04 +0000 (22 13:36 +0400)
tree3cc48ea182154b35d14d655c0716b71c5e8b7558
parent05bbaa5040ccb3419e8b93af8040485430e2db42
dump: Consolidate phdr note writes

There's no need to have two write functions. Let's rather have two
functions that set the data for elf 32/64 and then write it in a
common function.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220330123603.107120-8-frankja@linux.ibm.com>
dump/dump.c