[PATCH] elf: Define missing Meta architecture specific relocations

Andreas Schwab schwab@suse.de
Tue Jul 12 06:46:00 GMT 2016


Khem Raj <raj.khem@gmail.com> writes:

> diff --git a/elf/elf.h b/elf/elf.h
> index b6112d9..053702d 100644
> --- a/elf/elf.h
> +++ b/elf/elf.h
> @@ -3682,6 +3682,11 @@ enum
>  #define R_BPF_NONE		0	/* No reloc */
>  #define R_BPF_MAP_FD		1	/* Map fd to pointer */
>  
> +/* Imagination Meta specific relocations. */
> +
> +#define R_METAG_ADDR32		2	/* 32bit absolute address */
> +#define R_METAG_NONE		3	/* No reloc */

If you add some you need to add all.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list