dump: Consolidate elf note function
authorJanosch Frank <frankja@linux.ibm.com>
Wed, 30 Mar 2022 12:36:03 +0000 (12:36 +0000)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 22 Apr 2022 09:36:04 +0000 (13:36 +0400)
commitc68124738bc29017e4254c898bc40be7be477af7
tree855c1de319d171985c0110c78e1bb16d6bb4a55f
parent5ff2e5a3e1e67930e523486e39549a33fcf97227
dump: Consolidate elf note function

Just like with the other write functions let's move the 32/64 bit elf
handling to a function to improve readability.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220330123603.107120-10-frankja@linux.ibm.com>
dump/dump.c