[PATCH][v4] Add AARCH64 relocation constants to elf/elf.h

Marcus Shawcroft marcus.shawcroft@gmail.com
Thu Sep 26 11:14:00 GMT 2013


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



More information about the Libc-alpha mailing list