This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] elf: Define missing Meta architecture specific relocations
- From: Andreas Schwab <schwab at suse dot de>
- To: Khem Raj <raj dot khem at gmail dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 12 Jul 2016 08:45:57 +0200
- Subject: Re: [PATCH] elf: Define missing Meta architecture specific relocations
- Authentication-results: sourceware.org; auth=none
- References: <20160712015136.588-1-raj.khem@gmail.com>
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."