linux/arch/loongarch/vdso
Huacai Chen 5643c6b2c8 LoongArch: Specify -m32/-m64 explicitly for 32BIT/64BIT
Clang/LLVM build needs -m32/-m64 to switch triple variants (i.e. the
--target=xxx parameter). Otherwise we get build errors for CONFIG_32BIT.

GCC doesn't support -m32/-m64 now, but maybe support in future, so use
cc-option to specify them.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202604232041.ESJDwVG4-lkp@intel.com/
Suggested-by: Nathan Chancellor <nathan@kernel.org
Tested-by: WANG Rui <wangrui@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
2026-05-04 09:00:01 +08:00
..
.gitignore
elf.S
gen_vdso_offsets.sh
Makefile LoongArch: Specify -m32/-m64 explicitly for 32BIT/64BIT 2026-05-04 09:00:01 +08:00
sigreturn.S LoongArch: vDSO: Emit GNU_EH_FRAME correctly 2026-03-26 14:29:09 +08:00
vdso.lds.S LoongArch: Adjust VDSO/VSYSCALL for 32BIT/64BIT 2025-12-08 18:09:17 +08:00
vdso.S
vgetcpu.c vdso: Remove struct getcpu_cache 2026-01-14 08:56:40 +01:00
vgetrandom-chacha.S LoongArch: vDSO: Make use of the t8 register for vgetrandom-chacha 2025-03-30 16:31:12 +08:00
vgetrandom.c LoongArch: vDSO: Wire up getrandom() vDSO implementation 2024-09-13 17:28:35 +02:00
vgettimeofday.c arch: vdso: consolidate gettime prototypes 2023-11-23 11:32:32 +01:00