diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2015-12-16 15:24:52 +0000 |
---|---|---|
committer | Bernd Edlinger <edlinger@gcc.gnu.org> | 2015-12-16 15:24:52 +0000 |
commit | 077067a5f30559fd97ffbf2d9f8f636442d8905a (patch) | |
tree | 9a47275e020c2ab35a867b5e38ae6c8fd160ac05 /libgcc/unwind-generic.h | |
parent | 3297949ea9b4b350f0ccc97f289d9d918c9ba8c7 (diff) | |
download | gcc-077067a5f30559fd97ffbf2d9f8f636442d8905a.zip gcc-077067a5f30559fd97ffbf2d9f8f636442d8905a.tar.gz gcc-077067a5f30559fd97ffbf2d9f8f636442d8905a.tar.bz2 |
unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort instead of abort to avoid dependency on stdlib.h.
2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
* unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
instead of abort to avoid dependency on stdlib.h.
From-SVN: r231697
Diffstat (limited to 'libgcc/unwind-generic.h')
-rw-r--r-- | libgcc/unwind-generic.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libgcc/unwind-generic.h b/libgcc/unwind-generic.h index a51ffd6..8276c2d 100644 --- a/libgcc/unwind-generic.h +++ b/libgcc/unwind-generic.h @@ -221,8 +221,6 @@ _Unwind_SjLj_Resume_or_Rethrow (struct _Unwind_Exception *); compatible with the standard ABI for IA-64, we inline these. */ #ifdef __ia64__ -#include <stdlib.h> - static inline _Unwind_Ptr _Unwind_GetDataRelBase (struct _Unwind_Context *_C) { @@ -233,7 +231,7 @@ _Unwind_GetDataRelBase (struct _Unwind_Context *_C) static inline _Unwind_Ptr _Unwind_GetTextRelBase (struct _Unwind_Context *_C __attribute__ ((__unused__))) { - abort (); + __builtin_abort (); return 0; } |