summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2005-12-18 04:52:37 +0000
committermarcel <marcel@FreeBSD.org>2005-12-18 04:52:37 +0000
commit0a081d09f4f7db02d1baa4889eb218e2eff4097a (patch)
treec8421e79058b3959c09903a706bc77c9de3e7087 /sys/ia64
parent3394701ae17fa6037d9dc3f0da623707988cb02a (diff)
downloadFreeBSD-src-0a081d09f4f7db02d1baa4889eb218e2eff4097a.zip
FreeBSD-src-0a081d09f4f7db02d1baa4889eb218e2eff4097a.tar.gz
Make our ELF64 type definitions match standards. In particular this
means: o Remove Elf64_Quarter, o Redefine Elf64_Half to be 16-bit, o Redefine Elf64_Word to be 32-bit, o Add Elf64_Xword and Elf64_Sxword for 64-bit entities, o Use Elf_Size in MI code to abstract the difference between Elf32_Word and Elf64_Word. o Add Elf_Ssize as the signed counterpart of Elf_Size. MFC after: 2 weeks
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/elf_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ia64/ia64/elf_machdep.c b/sys/ia64/ia64/elf_machdep.c
index 51902ec..ccd5083 100644
--- a/sys/ia64/ia64/elf_machdep.c
+++ b/sys/ia64/ia64/elf_machdep.c
@@ -118,7 +118,7 @@ elf64_dump_thread(struct thread *td, void *dst, size_t *off __unused)
static Elf_Addr
-lookup_fdesc(linker_file_t lf, Elf_Word symidx, elf_lookup_fn lookup)
+lookup_fdesc(linker_file_t lf, Elf_Size symidx, elf_lookup_fn lookup)
{
linker_file_t top;
Elf_Addr addr;
@@ -171,7 +171,7 @@ elf_reloc_internal(linker_file_t lf, Elf_Addr relocbase, const void *data,
{
Elf_Addr *where;
Elf_Addr addend, addr;
- Elf_Word rtype, symidx;
+ Elf_Size rtype, symidx;
const Elf_Rel *rel;
const Elf_Rela *rela;
OpenPOWER on IntegriCloud