Skip to content

Commit a9e0237

Browse files
Bastian Blanktsbogend
authored andcommitted
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>
1 parent eacaf5a commit a9e0237

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

arch/mips/vdso/elf.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,16 @@
88

99
#include <asm/isa-rev.h>
1010

11+
#include <linux/build-salt.h>
1112
#include <linux/elfnote.h>
1213
#include <linux/version.h>
1314

1415
ELFNOTE_START(Linux, 0, "a")
1516
.long LINUX_VERSION_CODE
1617
ELFNOTE_END
1718

19+
BUILD_SALT
20+
1821
/*
1922
* The .MIPS.abiflags section must be defined with the FP ABI flags set
2023
* to 'any' to be able to link with both old and new libraries.

0 commit comments

Comments
 (0)