commit | 2ce30a44349065b70d0f00e71e286dc0cbe745e6 | [log] [tgz] |
---|---|---|
author | Petr Vandrovec <petr@vandrovec.name> | Thu Sep 14 12:11:11 2017 -0700 |
committer | Josh Poimboeuf <jpoimboe@redhat.com> | Thu Sep 14 16:07:34 2017 -0500 |
tree | adf7687fb7ed1cd49ef3de7d8114dc76cd2c5b7e | |
parent | e3b4bfd351fabce5164329aab94ec0745d3060d4 [diff] |
objtool: Do not retrieve data from empty sections 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, just do not retrieve their data at all. Signed-off-by: Petr Vandrovec <petr@vandrovec.name> Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>