diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-12-23 11:39:41 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-12-23 11:39:41 +0000 |
commit | 44f10d45ed826e1eeea640382e798cf1c41f382f (patch) | |
tree | dd1e6c3557b44793c060a56400793514002e994f /sys/arch/sparc64/include | |
parent | b97760a3d3151886153fc857b8341c5e8ba4dfdc (diff) |
Provide sparc64-specific DT_XXX constant.
ok miod@
Diffstat (limited to 'sys/arch/sparc64/include')
-rw-r--r-- | sys/arch/sparc64/include/elf_abi.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/sparc64/include/elf_abi.h b/sys/arch/sparc64/include/elf_abi.h index 1609cabc1f6..8d542eff81e 100644 --- a/sys/arch/sparc64/include/elf_abi.h +++ b/sys/arch/sparc64/include/elf_abi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: elf_abi.h,v 1.2 2003/06/09 16:10:04 deraadt Exp $ */ +/* $OpenBSD: elf_abi.h,v 1.3 2006/12/23 11:39:40 kettenis Exp $ */ /* * Copyright (c) 1996 Per Fogelstrom @@ -29,14 +29,14 @@ #ifndef _SPARC64_ELF_ABI_H #define _SPARC64_ELF_ABI_H -/* From MIPS ABI supplemental */ +/* From SPARC Compliance Definition */ /* Architecture dependent Segment types - p_type */ /* ??NONE?? */ -/* Architecture dependent d_tag field for Elf32_Dyn. */ -/* ??NONE?? */ +/* Architecture dependent d_tag field for Elf64_Dyn. */ +#define DT_SPARC_REGISTER 0x70000001 /* STT_REGISTER_SPARC sym index */ -#define DT_PROCNUM 0 +#define DT_PROCNUM (DT_SPARC_REGISTER - DT_LOPROC + 1) #endif /* _SPARC64_ELF_ABI_H */ |