# Re: \[PATCH v6 05/11\] powerpc/vdso: Enable the vdsocheck tool

- From: Shivang Upadhyay \<hidden\>
- Date: 2026-11-25 19:21:10 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2026/11/18026454
- Thread: https://ratatoskr.run/linux-riscv/2026/11/18005503/t.md

```text
On Mon, Nov 23, 2026 at 02:50:56PM +0100, Thomas Weißschuh wrote:
> +        bindings::EM_PPC64 => AllowedRelocations {
> +            in_object_file: &[
> +                10,  /* R_PPC64_REL24 */
> +                11,  /* R_PPC64_REL14 */
> +                26,  /* R_PPC64_REL32 */
> +                44,  /* R_PPC64_REL64 */
> +                249, /* R_PPC64_REL16 */
> +                250, /* R_PPC64_REL16_LO */
> +                251, /* R_PPC64_REL16_HI */
> +                252, /* R_PPC64_REL16_HA */
> +            ],
Seems to excluise list of all reletive relocations.
I only could find the following being actually used, for defconfig ppc64le.
But good to have all there.

[root@system vdso]# for i in `ls *.o`; do objdump -r -SD $i  | grep -oP 'R_PPC\w*' ; done | sort |  uniq
R_PPC64_REL16_HA
R_PPC64_REL16_LO
R_PPC64_REL24
R_PPC64_REL32
R_PPC64_REL64
[root@system vdso]#

Looks good. Feel free to add,
Reviewed-by: Shivang Upadhyay <redacted>

~Shivang.

```
