diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2010-06-09 14:12:01 -0500 |
---|---|---|
committer | Patrick Williams <iawillia@us.ibm.com> | 2010-06-09 14:12:01 -0500 |
commit | e7a6ae9cc5b84abe63c7439005656ecc4beda8c1 (patch) | |
tree | e50ad79598edeccd4b2e513f146896d2d60f0c82 /src/libc++/builtins.C | |
parent | cbbd9e5b225e743ee3b4688ac6a3b69a9876926a (diff) | |
download | talos-hostboot-e7a6ae9cc5b84abe63c7439005656ecc4beda8c1.tar.gz talos-hostboot-e7a6ae9cc5b84abe63c7439005656ecc4beda8c1.zip |
Kernel spinlock support.
Diffstat (limited to 'src/libc++/builtins.C')
-rw-r--r-- | src/libc++/builtins.C | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libc++/builtins.C b/src/libc++/builtins.C index 66eae1092..c2fffa816 100644 --- a/src/libc++/builtins.C +++ b/src/libc++/builtins.C @@ -76,4 +76,10 @@ extern "C" int __cxa_atexit(void (*)(void*), void*, void*) return 0; } +extern "C" void __cxa_pure_virtual() +{ + // TODO: Add better code for invalid pure virtual call. + while(1); +} + void* __dso_handle = (void*) &__dso_handle; |