summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/module.lds
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/module.lds')
-rw-r--r--arch/powerpc/kernel/module.lds8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/module.lds b/arch/powerpc/kernel/module.lds
new file mode 100644
index 000000000..cea5dc124
--- /dev/null
+++ b/arch/powerpc/kernel/module.lds
@@ -0,0 +1,8 @@
+/* Force alignment of .toc section. */
+SECTIONS
+{
+ .toc 0 : ALIGN(256)
+ {
+ *(.got .toc)
+ }
+}