sh: Initial ELF FDPIC support.
[deliverable/linux.git] / include / asm-sh / ptrace.h
index 8d6c92b3e770992630b93232bd61135f3c01ae05..643ab5a7cf3b87d466b43e15f4d59cb9b9b077b9 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (C) 1999, 2000  Niibe Yutaka
  *
  */
-#if defined(__SH5__) || defined(CONFIG_SUPERH64)
+#if defined(__SH5__)
 struct pt_regs {
        unsigned long long pc;
        unsigned long long sr;
@@ -87,6 +87,11 @@ struct pt_dspregs {
        unsigned long   mod;
 };
 
+#define PTRACE_GETFDPIC                31      /* get the ELF fdpic loadmap address */
+
+#define PTRACE_GETFDPIC_EXEC   0       /* [addr] request the executable loadmap */
+#define PTRACE_GETFDPIC_INTERP 1       /* [addr] request the interpreter loadmap */
+
 #define        PTRACE_GETDSPREGS       55
 #define        PTRACE_SETDSPREGS       56
 #endif
This page took 0.026647 seconds and 5 git commands to generate.