aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/arm/sys/elf.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-04-22 14:12:27 +0000
committerUlrich Drepper <drepper@redhat.com>2001-04-22 14:12:27 +0000
commite661fdf2677bc45fa845da1c4c708d1ce56110e5 (patch)
tree801684576b6f33fe6af126c33ce39fc34c94e4ab /sysdeps/unix/sysv/linux/arm/sys/elf.h
parentd20f21a2154de2960b13a67a6acfb78cc7cde13e (diff)
downloadglibc-e661fdf2677bc45fa845da1c4c708d1ce56110e5.tar
glibc-e661fdf2677bc45fa845da1c4c708d1ce56110e5.tar.gz
glibc-e661fdf2677bc45fa845da1c4c708d1ce56110e5.tar.bz2
glibc-e661fdf2677bc45fa845da1c4c708d1ce56110e5.zip
Update.
2001-04-22 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs): Renamed from struct user_fp. (struct user_regs): New. (struct user): Use struct user_regs rather than struct pt_regs to avoid dependency on asm/ptrace.h. Use struct user_fpregs in place of struct user_fp and struct user_fp_struct. * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h not sys/elf.h. 2001-04-22 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to sys/procfs.h, and tell the user to include that file instead. * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft surrounded with #if 0. (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here from sys/elf.h. (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and elf_fpregset_t respectively. 2001-04-22 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the address that faulted.
Diffstat (limited to 'sysdeps/unix/sysv/linux/arm/sys/elf.h')
-rw-r--r--sysdeps/unix/sysv/linux/arm/sys/elf.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/sysdeps/unix/sysv/linux/arm/sys/elf.h b/sysdeps/unix/sysv/linux/arm/sys/elf.h
index 83658c3c27..ffd3b46ee6 100644
--- a/sysdeps/unix/sysv/linux/arm/sys/elf.h
+++ b/sysdeps/unix/sysv/linux/arm/sys/elf.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1999, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -19,12 +19,8 @@
#ifndef _SYS_ELF_H
#define _SYS_ELF_H 1
-#include <sys/user.h>
+#warning "This header is obsolete; use <sys/procfs.h> instead."
-typedef unsigned long int elf_greg_t;
-#define ELF_NGREG (sizeof (struct pt_regs) / sizeof(elf_greg_t))
-
-typedef elf_greg_t elf_gregset_t[ELF_NGREG];
-typedef struct user_fp elf_fpregset_t;
+#include <sys/procfs.h>
#endif /* sys/elf.h */