14 lines
568 B
Diff
14 lines
568 B
Diff
diff --git a/tools/depmod.c b/tools/depmod.c
|
|
index 6e9bb4d..a2e07c1 100644
|
|
--- a/tools/depmod.c
|
|
+++ b/tools/depmod.c
|
|
@@ -2153,6 +2153,8 @@ static void depmod_add_fake_syms(struct depmod *depmod)
|
|
depmod_symbol_add(depmod, "__this_module", true, 0, NULL);
|
|
/* On S390, this is faked up too */
|
|
depmod_symbol_add(depmod, "_GLOBAL_OFFSET_TABLE_", true, 0, NULL);
|
|
+ /* On PowerPC64 ABIv2, .TOC. is more or less _GLOBAL_OFFSET_TABLE_ */
|
|
+ depmod_symbol_add(depmod, "TOC.", true, 0, NULL);
|
|
}
|
|
|
|
static int depmod_load_symvers(struct depmod *depmod, const char *filename)
|