i386: introduce ELF_NOTE_SIZE macro
commit18a1f0d767852a7d6a000bffeb65d8825ae83a79
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 6 Jun 2017 17:25:10 +0000 (6 21:25 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 31 Aug 2017 10:29:07 +0000 (31 12:29 +0200)
treee88f89685ad6cc3eec6a42c1f888fc18eef93454
parent6402cbbbfd18322df8914ffc320b5e122399096b
i386: introduce ELF_NOTE_SIZE macro

Factour out a common pattern to compute the ELF note size.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
target/i386/arch_dump.c