fix powerpc bootimage build (second try)

This commit is contained in:
Joel Dice 2009-10-20 09:06:52 -06:00
parent c044781807
commit e06f0407cb
2 changed files with 4 additions and 2 deletions

View File

@ -575,6 +575,8 @@ class MySystem: public System {
if (p == MAP_FAILED) {
return 0;
} else {
// fprintf(stderr, "executable from %p to %p\n", p,
// static_cast<uint8_t*>(p) + sizeInBytes);
return static_cast<uint8_t*>(p);
}
}

View File

@ -1306,7 +1306,7 @@ xorC(Context* c, unsigned size, Assembler::Constant* a,
}
void
moveAR2(Context* c, unsigned srcSize, Assembler::Address* src,
moveAR2(Context* c, unsigned srcSize UNUSED, Assembler::Address* src,
unsigned dstSize, Assembler::Register* dst, unsigned promiseOffset)
{
assert(c, srcSize == 4 and dstSize == 4);
@ -1908,7 +1908,7 @@ class MyArchitecture: public Assembler::Architecture {
}
virtual uintptr_t maximumImmediateJump() {
return 0x3FFFFFF;
return 0x1FFFFFF;
}
virtual bool reserved(int register_) {