arch/x86/entry/vdso/vdso32/vdso32.lds.S

Source file repositories/reference/linux-study-clean/arch/x86/entry/vdso/vdso32/vdso32.lds.S

File Facts

System
Linux kernel
Corpus path
arch/x86/entry/vdso/vdso32/vdso32.lds.S
Extension
.S
Size
858 bytes
Lines
46
Domain
Architecture Layer
Bucket
arch/x86
Inferred role
Architecture Layer: arch/x86
Status
atlas-only

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

#include <asm/page.h>

#define BUILD_VDSO32

#include "common/vdso-layout.lds.S"

/* The ELF entry point can be used to set the AT_SYSINFO value.  */
ENTRY(__kernel_vsyscall);

/*
 * This controls what userland symbols we export from the vDSO.
 */
VERSION
{
	LINUX_2.6 {
	global:
		__vdso_clock_gettime;
		__vdso_gettimeofday;
		__vdso_time;
		__vdso_clock_getres;
		__vdso_clock_gettime64;
		__vdso_clock_getres_time64;
		__vdso_getcpu;
#ifdef CONFIG_FUTEX_ROBUST_UNLOCK
		__vdso_futex_robust_list32_try_unlock;
#endif
	};

	LINUX_2.5 {
	global:
		__kernel_vsyscall;
		__kernel_sigreturn;
		__kernel_rt_sigreturn;
	local: *;
	};
}

Annotation

Implementation Notes