]> git.ipfire.org Git - thirdparty/kmod.git/commit
depmod: Don't add .TOC. when it's in the kernel.
authorMichal Suchanek <msuchanek@suse.de>
Thu, 7 Dec 2017 14:31:19 +0000 (15:31 +0100)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 7 Dec 2017 19:04:37 +0000 (11:04 -0800)
commite22e1c1f6efb4b8643d159b4c66a5f392ad4ff5a
treefc63e68de968cddfdd690a9b93f00ef4a1cd179b
parent8803e486a930303f2cc85819eb331104ef4add69
depmod: Don't add .TOC. when it's in the kernel.

d46136bb59c4 ("depmod: Ignore PowerPC64 ABIv2 .TOC. symbol") adds fake
.TOC. unconditionally but when there is .TOC. in the kernel adding the
fake one breaks resolving .TOC.

Fixes: d46136bb59c4 ("depmod: Ignore PowerPC64 ABIv2 .TOC. symbol")
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
tools/depmod.c