diff options
| author | Thomas Preud'homme <robotux@celest.fr> | 2015-12-27 12:09:45 +0800 |
|---|---|---|
| committer | Thomas Preud'homme <robotux@celest.fr> | 2015-12-27 12:09:45 +0800 |
| commit | 933c2235e5c9628aa3d80145dc6ddfa4967a9d70 (patch) | |
| tree | 7517a9df1eb562fc9034fe74432629144e964c94 /elf.h | |
| parent | f15c0a93336ef42cec51d00667b5fd60fb309cd5 (diff) | |
| download | tinycc-933c2235e5c9628aa3d80145dc6ddfa4967a9d70.tar.gz tinycc-933c2235e5c9628aa3d80145dc6ddfa4967a9d70.tar.bz2 | |
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.
Diffstat (limited to 'elf.h')
| -rw-r--r-- | elf.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. */ |
