]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mips: Add build salt to the vDSO
authorBastian Blank <waldi@debian.org>
Thu, 18 Jun 2026 16:12:21 +0000 (18:12 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 29 Jun 2026 09:29:43 +0000 (11:29 +0200)
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>
arch/mips/vdso/elf.S

index a25cb147f1caaf20e3f6a388d5f4498d421b883e..821fcffe76550660c7c4d2fcaeb9688f38e140ce 100644 (file)
@@ -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.