remove patchFilter32()
This commit is contained in:
+8
-1
@@ -416,8 +416,15 @@ void PackLinuxElf32x86::addStubEntrySections(Filter const *ft)
|
||||
addLoader("FOLDEXEC", NULL);
|
||||
}
|
||||
|
||||
void PackLinuxElf32x86::addLinkerSymbols(Filter const */*ft*/)
|
||||
void PackLinuxElf32x86::addLinkerSymbols(Filter const *const ft)
|
||||
{
|
||||
if (0x80==(ft->id & 0xF0)) {
|
||||
int const mru = ft->n_mru ? 1+ ft->n_mru : 0;
|
||||
if (mru && mru!=256) {
|
||||
unsigned const is_pwr2 = (0==((mru -1) & mru));
|
||||
linker->defineSymbol("NMRU", mru - is_pwr2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user