[PATCH 4.6 080/100] objtool: Allow building with older libelf

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Jan Beulich commit 2e51f26245701cb28f154552836b7807159088a8 upstream. The switch to elf_getshdr{num,strndx} post-dates the oldest tool chain the kernel is supposed to be

[PATCH 4.6 080/100] objtool: Allow building with older libelf

2016-05-30 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Jan Beulich commit 2e51f26245701cb28f154552836b7807159088a8 upstream. The switch to elf_getshdr{num,strndx} post-dates the oldest tool chain the kernel is supposed to be able to build with, so