mirror of
https://github.com/autc04/Retro68.git
synced 2024-09-28 03:55:14 +00:00
commit
b3c840a3c8
@ -38,7 +38,7 @@
|
|||||||
#include "libelfP.h"
|
#include "libelfP.h"
|
||||||
|
|
||||||
|
|
||||||
off_t
|
int64_t
|
||||||
elf_getaroff (Elf *elf)
|
elf_getaroff (Elf *elf)
|
||||||
{
|
{
|
||||||
/* Be gratious, the specs demand it. */
|
/* Be gratious, the specs demand it. */
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
#include "libelfP.h"
|
#include "libelfP.h"
|
||||||
|
|
||||||
|
|
||||||
off_t
|
int64_t
|
||||||
elf_getbase (Elf *elf)
|
elf_getbase (Elf *elf)
|
||||||
{
|
{
|
||||||
return elf == NULL ? (off_t) -1 : elf->start_offset;
|
return elf == NULL ? (off_t) -1 : elf->start_offset;
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
Elf_Data *
|
Elf_Data *
|
||||||
elf_getdata_rawchunk (Elf *elf, off_t offset, size_t size, Elf_Type type)
|
elf_getdata_rawchunk (Elf *elf, int64_t offset, size_t size, Elf_Type type)
|
||||||
{
|
{
|
||||||
if (unlikely (elf == NULL))
|
if (unlikely (elf == NULL))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -149,7 +149,7 @@ write_file (Elf *elf, off_t size, int change_bo, size_t shnum)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
off_t
|
int64_t
|
||||||
elf_update (Elf *elf, Elf_Cmd cmd)
|
elf_update (Elf *elf, Elf_Cmd cmd)
|
||||||
{
|
{
|
||||||
size_t shnum;
|
size_t shnum;
|
||||||
|
Loading…
Reference in New Issue
Block a user