>> 1 # For the pre-R6 code in arch/mips/vdso/vdso.h for locating >> 2 # the base address of VDSO, the linker will emit a R_MIPS_PC32 >> 3 # relocation in binutils > 2.25 but it will fail with older versions >> 4 # because that relocation is not supported for that symbol. As a result >> 5 # of which we are forced to disable the VDSO symbols when building >> 6 # with < 2.25 binutils on pre-R6 kernels. For more references on why we >> 7 # can't use other methods to get the base address of VDSO please refer to >> 8 # the comments on that file. >> 9 # 1 # GCC (at least up to version 9.2) appears to 10 # GCC (at least up to version 9.2) appears to emit function calls that make use 2 # of the GOT when targeting microMIPS, which w 11 # of the GOT when targeting microMIPS, which we can't use in the VDSO due to 3 # the lack of relocations. As such, we disable 12 # the lack of relocations. As such, we disable the VDSO for microMIPS builds. 4 13 >> 14 config MIPS_LD_CAN_LINK_VDSO >> 15 def_bool LD_VERSION >= 22500 || LD_IS_LLD >> 16 5 config MIPS_DISABLE_VDSO 17 config MIPS_DISABLE_VDSO 6 def_bool CPU_MICROMIPS !! 18 def_bool CPU_MICROMIPS || (!CPU_MIPSR6 && !MIPS_LD_CAN_LINK_VDSO)
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.