mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	The vDSO needs to have a unique build id in a similar manner to the kernel and modules. Use the build salt macro. Acked-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Laura Abbott <labbott@redhat.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			333 B
		
	
	
	
		
			ArmAsm
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			333 B
		
	
	
	
		
			ArmAsm
		
	
	
	
	
	
/*
 | 
						|
 * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text.
 | 
						|
 * Here we can supply some information useful to userland.
 | 
						|
 */
 | 
						|
 | 
						|
#include <linux/build-salt.h>
 | 
						|
#include <linux/uts.h>
 | 
						|
#include <linux/version.h>
 | 
						|
#include <linux/elfnote.h>
 | 
						|
 | 
						|
ELFNOTE_START(Linux, 0, "a")
 | 
						|
	.long LINUX_VERSION_CODE
 | 
						|
ELFNOTE_END
 | 
						|
 | 
						|
BUILD_SALT
 |