diff options
| author | Roland McGrath <[email protected]> | 2007-12-15 23:39:34 +0000 |
|---|---|---|
| committer | Roland McGrath <[email protected]> | 2007-12-15 23:39:34 +0000 |
| commit | 1a2e8f4f5bd2ca2aaed78d1cea3842eff2fa5295 (patch) | |
| tree | e40bba1bc6f5279da0642656b88a0eb029863cb5 /libelf/libelf.h | |
| parent | e7717c4101dc82f0f1a30b0abf997f0068fb4b64 (diff) | |
backends/
2007-12-15 Roland McGrath <[email protected]>
* ppc_regs.c (ppc_register_info): Return "spefscr", not "spr512".
tests/
2007-12-15 Roland McGrath <[email protected]>
* run-allregs.sh: Change expected output for powerpc spefscr.
Diffstat (limited to 'libelf/libelf.h')
| -rw-r--r-- | libelf/libelf.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libelf/libelf.h b/libelf/libelf.h index 8f2f53b3..90a588ee 100644 --- a/libelf/libelf.h +++ b/libelf/libelf.h @@ -95,7 +95,7 @@ typedef struct Elf_Type d_type; /* Type of this piece of data. */ unsigned int d_version; /* ELF version. */ size_t d_size; /* Size in bytes. */ - off64_t d_off; /* Offset into section. */ + loff_t d_off; /* Offset into section. */ size_t d_align; /* Alignment in section. */ } Elf_Data; @@ -157,7 +157,7 @@ typedef struct uid_t ar_uid; /* User ID. */ gid_t ar_gid; /* Group ID. */ mode_t ar_mode; /* File mode. */ - off64_t ar_size; /* File size. */ + loff_t ar_size; /* File size. */ char *ar_rawname; /* Original name of archive member. */ } Elf_Arhdr; @@ -198,13 +198,13 @@ extern Elf_Cmd elf_next (Elf *__elf); extern int elf_end (Elf *__elf); /* Update ELF descriptor and write file to disk. */ -extern off64_t elf_update (Elf *__elf, Elf_Cmd __cmd); +extern loff_t elf_update (Elf *__elf, Elf_Cmd __cmd); /* Determine what kind of file is associated with ELF. */ extern Elf_Kind elf_kind (Elf *__elf) __attribute__ ((__pure__)); /* Get the base offset for an object file. */ -extern off64_t elf_getbase (Elf *__elf); +extern loff_t elf_getbase (Elf *__elf); /* Retrieve file identification data. */ @@ -302,7 +302,7 @@ extern Elf_Data *elf_newdata (Elf_Scn *__scn); would be for TYPE. The resulting Elf_Data pointer is valid until elf_end (ELF) is called. */ extern Elf_Data *elf_getdata_rawchunk (Elf *__elf, - off64_t __offset, size_t __size, + loff_t __offset, size_t __size, Elf_Type __type); @@ -314,7 +314,7 @@ extern char *elf_strptr (Elf *__elf, size_t __index, size_t __offset); extern Elf_Arhdr *elf_getarhdr (Elf *__elf); /* Return offset in archive for current file ELF. */ -extern off64_t elf_getaroff (Elf *__elf); +extern loff_t elf_getaroff (Elf *__elf); /* Select archive element at OFFSET. */ extern size_t elf_rand (Elf *__elf, size_t __offset); |
