From 17cdbc4e427fd4f9cfdecb455294245732cbb36f Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 12 Sep 2015 02:49:02 +0000 Subject: add sh relocation types needed for fdpic to elf.h --- include/elf.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/elf.h b/include/elf.h index 1d43670c..8b3cd3ed 100644 --- a/include/elf.h +++ b/include/elf.h @@ -2498,6 +2498,14 @@ typedef Elf32_Addr Elf32_Conflict; #define R_SH_RELATIVE 165 #define R_SH_GOTOFF 166 #define R_SH_GOTPC 167 +#define R_SH_GOT20 201 +#define R_SH_GOTOFF20 202 +#define R_SH_GOTFUNCDESC 203 +#define R_SH_GOTFUNCDEST20 204 +#define R_SH_GOTOFFFUNCDESC 205 +#define R_SH_GOTOFFFUNCDEST20 206 +#define R_SH_FUNCDESC 207 +#define R_SH_FUNCDESC_VALUE 208 #define R_SH_NUM 256 -- cgit v1.2.1