diff options
author | anonymous <local@localhost> | 2010-06-27 17:13:07 +0000 |
---|---|---|
committer | anonymous <local@localhost> | 2010-06-27 17:13:07 +0000 |
commit | 7ca18cb7c08bf92db5946a66e312678c480eb819 (patch) | |
tree | 22dfcc5cf05ecad955cd15d9feb952f204a4b32b /src/terminate.cc | |
download | libcxxrt-7ca18cb7c08bf92db5946a66e312678c480eb819.tar.gz libcxxrt-7ca18cb7c08bf92db5946a66e312678c480eb819.tar.bz2 libcxxrt-7ca18cb7c08bf92db5946a66e312678c480eb819.tar.xz |
Initial import.
Diffstat (limited to 'src/terminate.cc')
-rw-r--r-- | src/terminate.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/terminate.cc b/src/terminate.cc new file mode 100644 index 0000000..663fe52 --- /dev/null +++ b/src/terminate.cc @@ -0,0 +1,14 @@ +#include <stdlib.h> + +namespace std +{ + /** + * Stub implementation of std::terminate. Used when the STL implementation + * doesn't provide one. + */ + __attribute__((weak)) + void terminate() + { + abort(); + } +} |