From 933c2235e5c9628aa3d80145dc6ddfa4967a9d70 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Sun, 27 Dec 2015 12:09:45 +0800 Subject: i386: Add support for new psABI relocation R_386_GOT32X can occur in object files assembled by new binutils, and in particular do appear in glibc startup code (crt*.o). This patch is modeled after the x86_64 one, handling the new relocation in the same trivial way. --- elf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'elf.h') diff --git a/elf.h b/elf.h index cce2f9d..52ccf3f 100644 --- a/elf.h +++ b/elf.h @@ -1246,8 +1246,9 @@ typedef struct argument, returning the TLS offset for the symbol. */ #define R_386_IRELATIVE 42 /* Adjust indirectly by program base */ +#define R_386_GOT32X 43 /* 32 bit GOT entry, relaxable */ /* Keep this the last entry. */ -#define R_386_NUM 43 +#define R_386_NUM 44 /* SUN SPARC specific definitions. */ -- cgit v1.3.1