[PATCH] elf: _dl_fixup*: make @reloc_arg 64-bit safe

Andreas Schwab schwab at linux-m68k.org
Thu Jul 22 06:39:56 PDT 2021


On Jul 22 2021, Vladimir Isaev via Libc-alpha wrote:

> diff --git a/elf/dl-runtime.c b/elf/dl-runtime.c
> index 9d0d941000..6099a44ffb 100644
> --- a/elf/dl-runtime.c
> +++ b/elf/dl-runtime.c
> @@ -56,7 +56,7 @@ _dl_fixup (
>  # ifdef ELF_MACHINE_RUNTIME_FIXUP_ARGS
>  	   ELF_MACHINE_RUNTIME_FIXUP_ARGS,
>  # endif
> -	   struct link_map *l, ElfW(Word) reloc_arg)
> +	   struct link_map *l, uintptr_t reloc_arg)

ElfW(Addr)?

Andreas.

-- 
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



More information about the linux-snps-arc mailing list