[PATCH v2 0/2] Enable orphan-handling=warn for VDSO

Vincenzo Frascino vincenzo.frascino at arm.com
Fri Apr 8 00:22:49 PDT 2022


Hi Joey,

On 4/7/22 11:13 AM, Joey Gouly wrote:
> Hi all,
> 
> This small series enables the orphan-handling linker flag for the VDSO.
> This could catch subtle errors if features that use special sections are
> introduced into the VDSO implementation.
> 
> Changes from v1[1]:
>   - Include vmlinux.ld.h directly, to use macros
>   - Include DWARF sections in linker script
> 

The change looks fine to me. I have only one question, is there any specific
reason why we do have the same for compat vDSO?

> Thanks,
> Joey
> 
> [1]: https://lore.kernel.org/linux-arm-kernel/20220405160246.1991-1-joey.gouly@arm.com/
> 
> Joey Gouly (2):
>   arm64: vdso: put ELF related sections in the linker script
>   arm64: vdso: enable orphan handling for VDSO
> 
>  arch/arm64/kernel/vdso/Makefile   | 8 +++++++-
>  arch/arm64/kernel/vdso/vdso.lds.S | 4 ++++
>  2 files changed, 11 insertions(+), 1 deletion(-)
> 

-- 
Regards,
Vincenzo



More information about the linux-arm-kernel mailing list