diff options
-rwxr-xr-x | src/libc++/builtins.C | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/libc++/builtins.C b/src/libc++/builtins.C index d66e81ec3..3cd402cce 100755 --- a/src/libc++/builtins.C +++ b/src/libc++/builtins.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2010,2016 */ +/* Contributors Listed Below - COPYRIGHT 2010,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -59,6 +59,16 @@ void operator delete[](void* p) { return free(p); }; + +void operator delete(void* p, size_t) +{ + return free(p); +} + +void operator delete[](void* p, size_t) +{ + return free(p); +} #endif // bl_builtins_C extern "C" int __cxa_guard_acquire(volatile uint64_t* gv) |