This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][v4] Add AARCH64 relocation constants to elf/elf.h
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Petr Machata <pmachata at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 26 Sep 2013 12:14:14 +0100
- Subject: Re: [PATCH][v4] Add AARCH64 relocation constants to elf/elf.h
- Authentication-results: sourceware.org; auth=none
- References: <m2eh8q2mbs dot fsf at redhat dot com>
On 3 September 2013 12:34, Petr Machata <pmachata@redhat.com> wrote:
> - constants are sorted by ascending relocation numbers
Looks like a number of these relocs slipped through and remain in the
order they appear in the ABI specification rather than in numerical
order, see below. Otherwise this looks OK to me.
> +#define R_AARCH64_LDST64_ABS_LO12_NC 286 /* Likewise, but bits 11:3. */
> +#define R_AARCH64_LDST128_ABS_LO12_NC 299 /* Likewise, but bits 11:4. */
> +#define R_AARCH64_TSTBR14 279 /* PC-rel. TBZ/TBNZ imm. from 15:2. */
> +#define R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC 571 /* Likewise; no check. */
> +#define R_AARCH64_TLSDESC_LD_PREL19 560 /* PC-rel. load immediate 20:2. */
> #define R_AARCH64_TLS_TPREL64 1030 /* TP-relative offset, 64 bit. */
> +#define R_AARCH64_IRELATIVE 1032 /* STT_GNU_IFUNC relocation. */
> #define R_AARCH64_TLSDESC 1031 /* TLS Descriptor. */
Cheers
/Marcus