From b7629ee33f164b07afd36cccf5f18f693d600251 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 1 Jun 2009 11:39:24 -0700 Subject: Better error message for invalid relocatio in static binary. --- sysdeps/x86_64/dl-irel.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sysdeps/x86_64/dl-irel.h') diff --git a/sysdeps/x86_64/dl-irel.h b/sysdeps/x86_64/dl-irel.h index 442ab71..d2d5c06 100644 --- a/sysdeps/x86_64/dl-irel.h +++ b/sysdeps/x86_64/dl-irel.h @@ -21,6 +21,7 @@ #ifndef _DL_IREL_H #define _DL_IREL_H +#include #include #define ELF_MACHINE_IRELA 1 @@ -38,7 +39,7 @@ elf_irela (const Elf64_Rela *reloc) *reloc_addr = value; } else - _exit (-1); + __libc_fatal ("unexpected reloc type in static binary"); } #endif /* dl-irel.h */ -- cgit v1.1