summaryrefslogtreecommitdiffstats
path: root/libelf/elf.h
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2009-06-01 07:38:32 -0700
committerUlrich Drepper <[email protected]>2009-06-01 07:38:32 -0700
commitb47d290a36509e26e145f6d3eb2e6590ec6c554d (patch)
tree42076e6b9c556729618b25b4dedf29606b4e4aee /libelf/elf.h
parente94b1b2bec403afb5fd4696a05e1ade09fdb3e59 (diff)
Add support for IRELATIVE relocations.
That's the second part of the IFUNC support. So far x86 and x86-64 only.
Diffstat (limited to 'libelf/elf.h')
-rw-r--r--libelf/elf.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libelf/elf.h b/libelf/elf.h
index 062ef00f..8fdf74b0 100644
--- a/libelf/elf.h
+++ b/libelf/elf.h
@@ -1177,8 +1177,9 @@ typedef struct
pointer to code and to
argument, returning the TLS
offset for the symbol. */
+#define R_386_IRELATIVE 42 /* Adjust indirectly by program base */
/* Keep this the last entry. */
-#define R_386_NUM 42
+#define R_386_NUM 43
/* SUN SPARC specific definitions. */
@@ -2625,8 +2626,9 @@ typedef Elf32_Addr Elf32_Conflict;
#define R_X86_64_TLSDESC_CALL 35 /* Marker for call through TLS
descriptor. */
#define R_X86_64_TLSDESC 36 /* TLS descriptor. */
+#define R_X86_64_IRELATIVE 37 /* Adjust indirectly by program base */
-#define R_X86_64_NUM 37
+#define R_X86_64_NUM 38
/* AM33 relocations. */