This function was already here, I dunno why it wasn't used.
---
backends/sh_init.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/backends/sh_init.c b/backends/sh_init.c
index 248f23a..fd54888 100644
--- a/backends/sh_init.c
+++ b/backends/sh_init.c
@@ -51,6 +51,7 @@ sh_init (elf, machine, eh, ehlen)
eh->name = "Hitachi SH";
sh_init_reloc (eh);
HOOK (eh, reloc_simple_type);
+ HOOK (eh, gotpc_reloc_check);
HOOK (eh, core_note);
return MODVERSION;
--
1.7.0.2