about summary refs log tree commit diff
path: root/arch/mips
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-11-25 22:28:18 -0500
committerRich Felker <dalias@aerifal.cx>2012-11-25 22:28:18 -0500
commit4b75f4ed8d08b26d4bf2ac96191b395218ad888e (patch)
treee2fc90140da04f5e0436bcf069097d63b6a402ef /arch/mips
parent132cc703f82b1d5d308c2db9a353d6c92ea29fda (diff)
downloadmusl-4b75f4ed8d08b26d4bf2ac96191b395218ad888e.tar.gz
musl-4b75f4ed8d08b26d4bf2ac96191b395218ad888e.tar.xz
musl-4b75f4ed8d08b26d4bf2ac96191b395218ad888e.zip
make sys/procfs.h mostly work on most archs
these structures are purely for use by trace/debug tools and tools
working with core files. the definition of fpregset_t, which was
previously here, has been removed because it was wrong; fpregset_t
should be the type used in mcontext_t, not the type used in
ptrace/core stuff.
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/bits/user.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/bits/user.h b/arch/mips/bits/user.h
index 739233c1..3e26249d 100644
--- a/arch/mips/bits/user.h
+++ b/arch/mips/bits/user.h
@@ -7,3 +7,7 @@ struct user {
 	unsigned long magic;
 	char u_comm[32];
 };
+#define ELF_NGREG 45
+#define ELF_NFPREG 33
+typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
+typedef double elf_fpreg_t, elf_fpregset_t[ELF_NFPREG];