completely finish New and NewMore.cp, for some reason NewMore fails checksum
This commit is contained in:
parent
66b5150733
commit
1853ee6391
4 changed files with 25 additions and 7 deletions
8
src/Runtime.PPCEABI.H/New.cp
Normal file
8
src/Runtime.PPCEABI.H/New.cp
Normal 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);
|
||||
}
|
||||
}
|
||||
13
src/Runtime.PPCEABI.H/NewMore.cp
Normal file
13
src/Runtime.PPCEABI.H/NewMore.cp
Normal 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() {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue