completely finish New and NewMore.cp, for some reason NewMore fails checksum

This commit is contained in:
CreateSource 2025-03-15 00:42:42 -04:00
parent 66b5150733
commit 1853ee6391
4 changed files with 25 additions and 7 deletions

View file

@ -0,0 +1,8 @@
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/alloc.h"
#include "PowerPC_EABI_Support/Runtime/New.h"
void operator delete(void* arg0) throw() {
if (arg0 != 0) {
free(arg0);
}
}

View file

@ -0,0 +1,13 @@
#include "PowerPC_EABI_Support/Runtime/New.h"
namespace std {
class exception {
public:
virtual ~exception();
virtual const char *what() const {
return "exception";
}
};
}
std::exception::~exception() {}