aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-frv/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-frv/elf.h')
-rw-r--r--include/asm-frv/elf.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/asm-frv/elf.h b/include/asm-frv/elf.h
index 7d2098f0476..7df58a3e6e4 100644
--- a/include/asm-frv/elf.h
+++ b/include/asm-frv/elf.h
@@ -12,7 +12,6 @@
12#ifndef __ASM_ELF_H 12#ifndef __ASM_ELF_H
13#define __ASM_ELF_H 13#define __ASM_ELF_H
14 14
15#include <linux/config.h>
16#include <asm/ptrace.h> 15#include <asm/ptrace.h>
17#include <asm/user.h> 16#include <asm/user.h>
18 17
@@ -65,7 +64,7 @@ typedef unsigned long elf_greg_t;
65#define ELF_NGREG (sizeof(struct pt_regs) / sizeof(elf_greg_t)) 64#define ELF_NGREG (sizeof(struct pt_regs) / sizeof(elf_greg_t))
66typedef elf_greg_t elf_gregset_t[ELF_NGREG]; 65typedef elf_greg_t elf_gregset_t[ELF_NGREG];
67 66
68typedef struct fpmedia_struct elf_fpregset_t; 67typedef struct user_fpmedia_regs elf_fpregset_t;
69 68
70/* 69/*
71 * This is used to ensure we don't load something for the wrong architecture. 70 * This is used to ensure we don't load something for the wrong architecture.
@@ -117,6 +116,7 @@ do { \
117} while(0) 116} while(0)
118 117
119#define USE_ELF_CORE_DUMP 118#define USE_ELF_CORE_DUMP
119#define ELF_FDPIC_CORE_EFLAGS EF_FRV_FDPIC
120#define ELF_EXEC_PAGESIZE 16384 120#define ELF_EXEC_PAGESIZE 16384
121 121
122/* This is the location that an ET_DYN program is loaded if exec'ed. Typical 122/* This is the location that an ET_DYN program is loaded if exec'ed. Typical
@@ -126,9 +126,6 @@ do { \
126 126
127#define ELF_ET_DYN_BASE 0x08000000UL 127#define ELF_ET_DYN_BASE 0x08000000UL
128 128
129#define ELF_CORE_COPY_REGS(pr_reg, regs) \
130 memcpy(&pr_reg[0], &regs->sp, 31 * sizeof(uint32_t));
131
132/* This yields a mask that user programs can use to figure out what 129/* This yields a mask that user programs can use to figure out what
133 instruction set this cpu supports. */ 130 instruction set this cpu supports. */
134 131