]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
elf: add Arm Morello relocations to elf.h
authorCarlos Eduardo Seo <carlos.seo@arm.com>
Wed, 18 Nov 2020 20:22:25 +0000 (17:22 -0300)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 5 Aug 2022 18:45:19 +0000 (19:45 +0100)
elf/elf.h

index 02a1b3f52fdfa3d8d92fd4e3008316ab0a23f26d..f61eced554af6fa12c62d33b353c40c3c3f88d7b 100644 (file)
--- 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 */