Silence some compilation warnings.
This commit is contained in:
parent
9670d3341c
commit
e8ba14a2c1
@ -108,6 +108,7 @@ static int F(Filter *f)
|
|||||||
f->calls = calls;
|
f->calls = calls;
|
||||||
f->noncalls = noncalls;
|
f->noncalls = noncalls;
|
||||||
f->lastcall = lastcall;
|
f->lastcall = lastcall;
|
||||||
|
ACC_UNUSED(lastnoncall);
|
||||||
|
|
||||||
#if 0 || defined(TESTING)
|
#if 0 || defined(TESTING)
|
||||||
printf("\ncalls=%d noncalls=%d text_size=%x calltrickoffset=%x\n",
|
printf("\ncalls=%d noncalls=%d text_size=%x calltrickoffset=%x\n",
|
||||||
|
|||||||
@ -828,11 +828,13 @@ PackLinuxElf64amd::defineSymbols(Filter const *)
|
|||||||
adrc = page_mask & (~page_mask + adrc); // round up to page boundary
|
adrc = page_mask & (~page_mask + adrc); // round up to page boundary
|
||||||
|
|
||||||
//linker->defineSymbol("ADRX", adrx); // compressed input for eXpansion
|
//linker->defineSymbol("ADRX", adrx); // compressed input for eXpansion
|
||||||
|
ACC_UNUSED(adrx);
|
||||||
|
|
||||||
// For actual moving, we need the true count, which depends on sz_pack2
|
// For actual moving, we need the true count, which depends on sz_pack2
|
||||||
// and is not yet known. So the runtime stub detects "no move"
|
// and is not yet known. So the runtime stub detects "no move"
|
||||||
// if adrm==adrc, and otherwise uses actual sz_pack2 to compute cntc.
|
// if adrm==adrc, and otherwise uses actual sz_pack2 to compute cntc.
|
||||||
//linker->defineSymbol("CNTC", cntc); // count for copy
|
//linker->defineSymbol("CNTC", cntc); // count for copy
|
||||||
|
ACC_UNUSED(cntc);
|
||||||
|
|
||||||
linker->defineSymbol("LENU", lenu); // len for unmap
|
linker->defineSymbol("LENU", lenu); // len for unmap
|
||||||
linker->defineSymbol("ADRC", adrc); // addr for copy
|
linker->defineSymbol("ADRC", adrc); // addr for copy
|
||||||
@ -2109,6 +2111,7 @@ void PackLinuxElf32::ARM_defineSymbols(Filter const * /*ft*/)
|
|||||||
linker->defineSymbol("LENF", 4+ linker->getSymbolOffset("end_decompress"));
|
linker->defineSymbol("LENF", 4+ linker->getSymbolOffset("end_decompress"));
|
||||||
|
|
||||||
linker->defineSymbol("ADRM", adrm); // addr for map
|
linker->defineSymbol("ADRM", adrm); // addr for map
|
||||||
|
ACC_UNUSED(adrx);
|
||||||
}
|
}
|
||||||
|
|
||||||
void PackLinuxElf32armLe::defineSymbols(Filter const *ft)
|
void PackLinuxElf32armLe::defineSymbols(Filter const *ft)
|
||||||
@ -2183,6 +2186,7 @@ void PackLinuxElf32mipseb::defineSymbols(Filter const * /*ft*/)
|
|||||||
// and is not yet known. So the runtime stub detects "no move"
|
// and is not yet known. So the runtime stub detects "no move"
|
||||||
// if adrm==adrc, and otherwise uses actual sz_pack2 to compute cntc.
|
// if adrm==adrc, and otherwise uses actual sz_pack2 to compute cntc.
|
||||||
//linker->defineSymbol("CNTC", cntc); // count for copy
|
//linker->defineSymbol("CNTC", cntc); // count for copy
|
||||||
|
ACC_UNUSED(cntc);
|
||||||
|
|
||||||
linker->defineSymbol("ADRC", adrc); // addr for copy
|
linker->defineSymbol("ADRC", adrc); // addr for copy
|
||||||
linker->defineSymbol("LENU", lenu); // len for unmap
|
linker->defineSymbol("LENU", lenu); // len for unmap
|
||||||
@ -2255,6 +2259,7 @@ void PackLinuxElf32mipsel::defineSymbols(Filter const * /*ft*/)
|
|||||||
// and is not yet known. So the runtime stub detects "no move"
|
// and is not yet known. So the runtime stub detects "no move"
|
||||||
// if adrm==adrc, and otherwise uses actual sz_pack2 to compute cntc.
|
// if adrm==adrc, and otherwise uses actual sz_pack2 to compute cntc.
|
||||||
//linker->defineSymbol("CNTC", cntc); // count for copy
|
//linker->defineSymbol("CNTC", cntc); // count for copy
|
||||||
|
ACC_UNUSED(cntc);
|
||||||
|
|
||||||
linker->defineSymbol("ADRC", adrc); // addr for copy
|
linker->defineSymbol("ADRC", adrc); // addr for copy
|
||||||
linker->defineSymbol("LENU", lenu); // len for unmap
|
linker->defineSymbol("LENU", lenu); // len for unmap
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user