[PW_SID:956315] riscv: vdso.lds.S: Do not export __vdso_getrandom in compat vDSO#334
[PW_SID:956315] riscv: vdso.lds.S: Do not export __vdso_getrandom in compat vDSO#334linux-riscv-bot wants to merge 2 commits into
Conversation
ld.lld defaults to '--no-undefined-version', which causes the compat vDSO to break after wiring up the vDSO getrandom() call because the linker script between the two vDSO implementations. ld.lld: error: version script assignment of 'LINUX_4.15' to symbol '__vdso_getrandom' failed: symbol not defined Move the export of __vdso_getrandom() under the existing ifndef for the compat vDSO so that it is only included for the 64-bit vDSO where it is wired up. Fixes: 8907952 ("RISC-V: vDSO: Wire up getrandom() vDSO implementation") Signed-off-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "riscv: vdso.lds.S: Do not export __vdso_getrandom in compat vDSO" |
|
Patch 1: "riscv: vdso.lds.S: Do not export __vdso_getrandom in compat vDSO" |
|
Patch 1: "riscv: vdso.lds.S: Do not export __vdso_getrandom in compat vDSO" |
|
Patch 1: "riscv: vdso.lds.S: Do not export __vdso_getrandom in compat vDSO" |
|
Patch 1: "riscv: vdso.lds.S: Do not export __vdso_getrandom in compat vDSO" |
|
Patch 1: "riscv: vdso.lds.S: Do not export __vdso_getrandom in compat vDSO" |
|
Patch 1: "riscv: vdso.lds.S: Do not export __vdso_getrandom in compat vDSO" |
|
Patch 1: "riscv: vdso.lds.S: Do not export __vdso_getrandom in compat vDSO" |
|
Patch 1: "riscv: vdso.lds.S: Do not export __vdso_getrandom in compat vDSO" |
|
Patch 1: "riscv: vdso.lds.S: Do not export __vdso_getrandom in compat vDSO" |
|
Patch 1: "riscv: vdso.lds.S: Do not export __vdso_getrandom in compat vDSO" |
|
Patch 1: "riscv: vdso.lds.S: Do not export __vdso_getrandom in compat vDSO" |
a9d006d to
2fa8e97
Compare
PR for series 956315 applied to workflow__riscv__for-next
Name: riscv: vdso.lds.S: Do not export __vdso_getrandom in compat vDSO
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=956315
Version: 1