[PATCH] objtool: Do not retrieve data from empty sections

2017-09-15 Thread Josh Poimboeuf
From: Petr Vandrovec Binutils 2.29-9 in Debian return an error when elf_getdata is invoked on empty section (.note.GNU-stack in all kernel files), causing immediate failure of kernel build with: elf_getdata: can't manipulate null section As nothing is done with sections

[PATCH] objtool: Do not retrieve data from empty sections

2017-09-15 Thread Josh Poimboeuf
From: Petr Vandrovec Binutils 2.29-9 in Debian return an error when elf_getdata is invoked on empty section (.note.GNU-stack in all kernel files), causing immediate failure of kernel build with: elf_getdata: can't manipulate null section As nothing is done with sections that have zero size,

[PATCH] objtool: Do not retrieve data from empty sections

2017-09-14 Thread Petr Vandrovec
From: Petr Vandrovec Binutils 2.29-9 in Debian return an error when elf_getdata is invoked on empty section (.note.GNU-stack in all kernel files), causing immediate failure of kernel build with: elf_getdata: can't manipulate null section As nothing is done with sections

[PATCH] objtool: Do not retrieve data from empty sections

2017-09-14 Thread Petr Vandrovec
From: Petr Vandrovec Binutils 2.29-9 in Debian return an error when elf_getdata is invoked on empty section (.note.GNU-stack in all kernel files), causing immediate failure of kernel build with: elf_getdata: can't manipulate null section As nothing is done with sections that have zero size,