diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-um/elf.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/asm-um/elf.h')
-rw-r--r-- | include/asm-um/elf.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/include/asm-um/elf.h b/include/asm-um/elf.h new file mode 100644 index 000000000000..b3a7258f9971 --- /dev/null +++ b/include/asm-um/elf.h | |||
@@ -0,0 +1,37 @@ | |||
1 | #ifndef __UM_ELF_H | ||
2 | #define __UM_ELF_H | ||
3 | |||
4 | #include "linux/config.h" | ||
5 | #include "asm/archparam.h" | ||
6 | |||
7 | extern long elf_aux_hwcap; | ||
8 | #define ELF_HWCAP (elf_aux_hwcap) | ||
9 | |||
10 | #define SET_PERSONALITY(ex, ibcs2) do ; while(0) | ||
11 | |||
12 | #define ELF_EXEC_PAGESIZE 4096 | ||
13 | |||
14 | #define elf_check_arch(x) (1) | ||
15 | |||
16 | #ifdef CONFIG_64_BIT | ||
17 | #define ELF_CLASS ELFCLASS64 | ||
18 | #else | ||
19 | #define ELF_CLASS ELFCLASS32 | ||
20 | #endif | ||
21 | |||
22 | #define USE_ELF_CORE_DUMP | ||
23 | |||
24 | #define R_386_NONE 0 | ||
25 | #define R_386_32 1 | ||
26 | #define R_386_PC32 2 | ||
27 | #define R_386_GOT32 3 | ||
28 | #define R_386_PLT32 4 | ||
29 | #define R_386_COPY 5 | ||
30 | #define R_386_GLOB_DAT 6 | ||
31 | #define R_386_JMP_SLOT 7 | ||
32 | #define R_386_RELATIVE 8 | ||
33 | #define R_386_GOTOFF 9 | ||
34 | #define R_386_GOTPC 10 | ||
35 | #define R_386_NUM 11 | ||
36 | |||
37 | #endif | ||