summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBastian Blank <waldi@debian.org>2026-06-18 18:12:21 +0200
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2026-06-29 11:29:43 +0200
commita9e0237d2eb5f1e35f500cfa1a82a242b7c8686c (patch)
treebc3bc5d7ddb7c168fffd1096007ec01d7f1326c2 /arch
parenteacaf5ae747f7dead6cc268de17a7382d79031fc (diff)
downloadlinux-a9e0237d2eb5f1e35f500cfa1a82a242b7c8686c.tar.gz
linux-a9e0237d2eb5f1e35f500cfa1a82a242b7c8686c.zip
mips: Add build salt to the vDSO
The vDSO needs to have a unique build id in a similar manner to the kernel and modules. Use the build salt macro. Signed-off-by: Bastian Blank <waldi@debian.org> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/vdso/elf.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/vdso/elf.S b/arch/mips/vdso/elf.S
index a25cb147f1ca..821fcffe7655 100644
--- a/arch/mips/vdso/elf.S
+++ b/arch/mips/vdso/elf.S
@@ -8,6 +8,7 @@
#include <asm/isa-rev.h>
+#include <linux/build-salt.h>
#include <linux/elfnote.h>
#include <linux/version.h>
@@ -15,6 +16,8 @@ ELFNOTE_START(Linux, 0, "a")
.long LINUX_VERSION_CODE
ELFNOTE_END
+BUILD_SALT
+
/*
* The .MIPS.abiflags section must be defined with the FP ABI flags set
* to 'any' to be able to link with both old and new libraries.