Update source for previous rename.
This commit is contained in:
+5
-5
@@ -1303,16 +1303,16 @@ PackLinuxElf32ppc::buildLoader(const Filter *ft)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const
|
static const
|
||||||
#include "stub/ppc64le-linux.elf-entry.h"
|
#include "stub/powerpc64le-linux.elf-entry.h"
|
||||||
static const
|
static const
|
||||||
#include "stub/ppc64le-linux.elf-fold.h"
|
#include "stub/powerpc64le-linux.elf-fold.h"
|
||||||
|
|
||||||
void
|
void
|
||||||
PackLinuxElf64ppcle::buildLoader(const Filter *ft)
|
PackLinuxElf64ppcle::buildLoader(const Filter *ft)
|
||||||
{
|
{
|
||||||
buildLinuxLoader(
|
buildLinuxLoader(
|
||||||
stub_ppc64le_linux_elf_entry, sizeof(stub_ppc64le_linux_elf_entry),
|
stub_powerpc64le_linux_elf_entry, sizeof(stub_powerpc64le_linux_elf_entry),
|
||||||
stub_ppc64le_linux_elf_fold, sizeof(stub_ppc64le_linux_elf_fold), ft);
|
stub_powerpc64le_linux_elf_fold, sizeof(stub_powerpc64le_linux_elf_fold), ft);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const
|
static const
|
||||||
@@ -2486,7 +2486,7 @@ void PackLinuxElf64ppcle::pack1(OutputFile *fo, Filter &ft)
|
|||||||
super::pack1(fo, ft);
|
super::pack1(fo, ft);
|
||||||
if (0!=xct_off) // shared library
|
if (0!=xct_off) // shared library
|
||||||
return;
|
return;
|
||||||
generateElfHdr(fo, stub_ppc64le_linux_elf_fold, getbrk(phdri, e_phnum) );
|
generateElfHdr(fo, stub_powerpc64le_linux_elf_fold, getbrk(phdri, e_phnum) );
|
||||||
}
|
}
|
||||||
|
|
||||||
void PackLinuxElf64::pack1(OutputFile *fo, Filter & /*ft*/)
|
void PackLinuxElf64::pack1(OutputFile *fo, Filter & /*ft*/)
|
||||||
|
|||||||
+6
-6
@@ -443,16 +443,16 @@ PackMachPPC32::buildLoader(const Filter *ft)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const
|
static const
|
||||||
#include "stub/ppc64le-darwin.macho-entry.h"
|
#include "stub/powerpc64le-darwin.macho-entry.h"
|
||||||
static const
|
static const
|
||||||
#include "stub/ppc64le-darwin.macho-fold.h"
|
#include "stub/powerpc64le-darwin.macho-fold.h"
|
||||||
|
|
||||||
void
|
void
|
||||||
PackMachPPC64LE::buildLoader(const Filter *ft)
|
PackMachPPC64LE::buildLoader(const Filter *ft)
|
||||||
{
|
{
|
||||||
buildMachLoader(
|
buildMachLoader(
|
||||||
stub_ppc64le_darwin_macho_entry, sizeof(stub_ppc64le_darwin_macho_entry),
|
stub_powerpc64le_darwin_macho_entry, sizeof(stub_powerpc64le_darwin_macho_entry),
|
||||||
stub_ppc64le_darwin_macho_fold, sizeof(stub_ppc64le_darwin_macho_fold), ft );
|
stub_powerpc64le_darwin_macho_fold, sizeof(stub_powerpc64le_darwin_macho_fold), ft );
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -538,12 +538,12 @@ PackDylibPPC32::buildLoader(const Filter *ft)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const
|
static const
|
||||||
#include "stub/ppc64le-darwin.dylib-entry.h"
|
#include "stub/powerpc64le-darwin.dylib-entry.h"
|
||||||
void
|
void
|
||||||
PackDylibPPC64LE::buildLoader(const Filter *ft)
|
PackDylibPPC64LE::buildLoader(const Filter *ft)
|
||||||
{
|
{
|
||||||
buildMachLoader(
|
buildMachLoader(
|
||||||
stub_ppc64le_darwin_dylib_entry, sizeof(stub_ppc64le_darwin_dylib_entry),
|
stub_powerpc64le_darwin_dylib_entry, sizeof(stub_powerpc64le_darwin_dylib_entry),
|
||||||
0, 0, ft );
|
0, 0, ft );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -918,11 +918,11 @@ void PackVmlinuxPPC32::buildLoader(const Filter *ft)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const
|
static const
|
||||||
#include "stub/ppc64le-linux.kernel.vmlinux.h"
|
#include "stub/powerpc64le-linux.kernel.vmlinux.h"
|
||||||
void PackVmlinuxPPC64LE::buildLoader(const Filter *ft)
|
void PackVmlinuxPPC64LE::buildLoader(const Filter *ft)
|
||||||
{
|
{
|
||||||
// prepare loader
|
// prepare loader
|
||||||
initLoader(stub_ppc64le_linux_kernel_vmlinux, sizeof(stub_ppc64le_linux_kernel_vmlinux));
|
initLoader(stub_powerpc64le_linux_kernel_vmlinux, sizeof(stub_powerpc64le_linux_kernel_vmlinux));
|
||||||
addLoader("LINUX000", NULL);
|
addLoader("LINUX000", NULL);
|
||||||
if (ft->id) {
|
if (ft->id) {
|
||||||
assert(ft->calls > 0);
|
assert(ft->calls > 0);
|
||||||
@@ -1140,11 +1140,11 @@ bool PackVmlinuxPPC32::has_valid_vmlinux_head()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "stub/ppc64le-linux.kernel.vmlinux-head.h"
|
#include "stub/powerpc64le-linux.kernel.vmlinux-head.h"
|
||||||
bool PackVmlinuxPPC64LE::has_valid_vmlinux_head()
|
bool PackVmlinuxPPC64LE::has_valid_vmlinux_head()
|
||||||
{
|
{
|
||||||
TE64 buf[2];
|
TE64 buf[2];
|
||||||
fi->seek(p_text->sh_offset + sizeof(stub_ppc64le_linux_kernel_vmlinux_head) -8, SEEK_SET);
|
fi->seek(p_text->sh_offset + sizeof(stub_powerpc64le_linux_kernel_vmlinux_head) -8, SEEK_SET);
|
||||||
fi->readx(buf, sizeof(buf));
|
fi->readx(buf, sizeof(buf));
|
||||||
//unsigned const word0 = buf[0];
|
//unsigned const word0 = buf[0];
|
||||||
unsigned const word1 = buf[1];
|
unsigned const word1 = buf[1];
|
||||||
|
|||||||
Reference in New Issue
Block a user