]> git.baikalelectronics.ru Git - kernel.git/commit
objtool: Use Elf_Scn typedef instead of assuming struct name
authorMichael Forney <mforney@mforney.org>
Wed, 10 Jul 2019 21:17:35 +0000 (16:17 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 17 Jul 2019 22:50:14 +0000 (00:50 +0200)
commitdcbab3bd923178ef72528ea6fab8e34381b1ff89
treee80851283f0ef31907aad00b3e270d2e49db632a
parent35f854ec73acc082c115c873e968f68046240803
objtool: Use Elf_Scn typedef instead of assuming struct name

The libelf implementation might use a different struct name, and the
Elf_Scn typedef is already used throughout the rest of objtool.

Signed-off-by: Michael Forney <mforney@mforney.org>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/d270e1be2835fc2a10acf67535ff2ebd2145bf43.1562793448.git.jpoimboe@redhat.com
tools/objtool/elf.c