From: Carlos Eduardo Seo Date: Wed, 18 Nov 2020 20:22:25 +0000 (-0300) Subject: elf: add Arm Morello relocations to elf.h X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb5bc7694711a280b9bca50f322f1e12f934b92e;p=thirdparty%2Fglibc.git elf: add Arm Morello relocations to elf.h --- diff --git a/elf/elf.h b/elf/elf.h index 02a1b3f52fd..f61eced554a 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -2915,6 +2915,27 @@ enum /* AArch64 specific values for the st_other field. */ #define STO_AARCH64_VARIANT_PCS 0x80 +/* Morello relocs. */ +#define R_MORELLO_TSTBR14 57344 +#define R_MORELLO_CONDBR19 57345 +#define R_MORELLO_JUMP26 57346 +#define R_MORELLO_CALL26 57347 +#define R_MORELLO_LD_PREL_LO17 57348 +#define R_MORELLO_ADR_PREL_PG_HI20 57349 +#define R_MORELLO_ADR_PREL_PG_HI20_NC 57350 +#define R_MORELLO_ADR_GOT_PAGE 57351 +#define R_MORELLO_LD128_GOT_LO12_NC 57352 +#define R_MORELLO_TLSDESC_ADR_PAGE20 57600 +#define R_MORELLO_TLSDESC_LD128_LO12 57601 +#define R_MORELLO_TLSDESC_CALL 57602 +#define R_MORELLO_CAPINIT 59392 +#define R_MORELLO_GLOB_DAT 59393 +#define R_MORELLO_JUMP_SLOT 59394 +#define R_MORELLO_RELATIVE 59395 +#define R_MORELLO_IRELATIVE 59396 +#define R_MORELLO_TLSDESC 59397 +#define R_MORELLO_TPREL128 59398 + /* ARM relocs. */ #define R_ARM_NONE 0 /* No reloc */