diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/i386/dl-irel.h | 3 | ||||
-rw-r--r-- | sysdeps/x86_64/dl-irel.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/i386/dl-irel.h b/sysdeps/i386/dl-irel.h index 4acb862..810a350 100644 --- a/sysdeps/i386/dl-irel.h +++ b/sysdeps/i386/dl-irel.h @@ -21,6 +21,7 @@ #ifndef _DL_IREL_H #define _DL_IREL_H +#include <stdio.h> #include <unistd.h> #define ELF_MACHINE_IREL 1 @@ -38,7 +39,7 @@ elf_irel (const Elf32_Rel *reloc) *reloc_addr = value; } else - _exit (-1); + __libc_fatal ("unexpected reloc type in static binary"); } #endif /* 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 <stdio.h> #include <unistd.h> #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 */ |