mirror of
https://github.com/corda/corda.git
synced 2025-01-23 04:48:09 +00:00
fix powerpc bootimage build (second try)
This commit is contained in:
parent
c044781807
commit
e06f0407cb
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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_) {
|
||||
|
Loading…
Reference in New Issue
Block a user