[PATCH 4/4 F][SRU][L-R-M] UBUNTU: update-version -- copy arch/powerpc/kernel/module.lds

Alberto Milone alberto.milone at canonical.com
Fri May 29 14:34:31 UTC 2020


This only seems to be needed on ppc64el.

BugLink: https://bugs.launchpad.net/bugs/1881137

Signed-off-by: Alberto Milone <alberto.milone at canonical.com>
---
 arch/powerpc/kernel/module.lds | 8 ++++++++
 update-version                 | 1 +
 2 files changed, 9 insertions(+)
 create mode 100644 arch/powerpc/kernel/module.lds

diff --git a/arch/powerpc/kernel/module.lds b/arch/powerpc/kernel/module.lds
new file mode 100644
index 0000000..cea5dc1
--- /dev/null
+++ b/arch/powerpc/kernel/module.lds
@@ -0,0 +1,8 @@
+/* Force alignment of .toc section.  */
+SECTIONS
+{
+	.toc 0 : ALIGN(256)
+	{
+		*(.got .toc)
+	}
+}
diff --git a/update-version b/update-version
index 94a6908..0df01c5 100755
--- a/update-version
+++ b/update-version
@@ -47,6 +47,7 @@ for thing in \
 	debian/scripts/dkms-build \
 	debian/scripts/dkms-build--nvidia-N \
 	debian/scripts/fix-filenames.c \
+	arch/powerpc/kernel/module.lds \
 	scripts/module-common.lds
 do
 	cp -p "$master_dir/$thing" "$thing" || exit 1
-- 
2.25.1




More information about the kernel-team mailing list