arch/m68k/include/asm/elf.h:54:18: error: 'ELFDATA2MSB' undeclared (first use in this function)
#define ELF_DATA ELFDATA2MSB
^
quoted
fs/binfmt_elf.c:1350:26: note: in expansion of macro 'ELF_DATA'
elf->e_ident[EI_DATA] = ELF_DATA;
^
arch/m68k/include/asm/elf.h:54:18: note: each undeclared identifier is reported only once for each function it appears in
#define ELF_DATA ELFDATA2MSB
^
quoted
fs/binfmt_elf.c:1350:26: note: in expansion of macro 'ELF_DATA'
elf->e_ident[EI_DATA] = ELF_DATA;
^
--
In file included from include/linux/elf.h:4:0,
from fs/proc/kcore.c:17:
fs/proc/kcore.c: In function 'elf_kcore_store_hdr':
quoted
arch/m68k/include/asm/elf.h:54:18: error: 'ELFDATA2MSB' undeclared (first use in this function)
#define ELF_DATA ELFDATA2MSB
^
quoted
fs/proc/kcore.c:335:26: note: in expansion of macro 'ELF_DATA'
elf->e_ident[EI_DATA] = ELF_DATA;
^
arch/m68k/include/asm/elf.h:54:18: note: each undeclared identifier is reported only once for each function it appears in
#define ELF_DATA ELFDATA2MSB
^
quoted
fs/proc/kcore.c:335:26: note: in expansion of macro 'ELF_DATA'
elf->e_ident[EI_DATA] = ELF_DATA;
^
--
In file included from include/linux/elf.h:4:0,
from fs//proc/kcore.c:17:
fs//proc/kcore.c: In function 'elf_kcore_store_hdr':
quoted
arch/m68k/include/asm/elf.h:54:18: error: 'ELFDATA2MSB' undeclared (first use in this function)
#define ELF_DATA ELFDATA2MSB
^
fs//proc/kcore.c:335:26: note: in expansion of macro 'ELF_DATA'
elf->e_ident[EI_DATA] = ELF_DATA;
^
arch/m68k/include/asm/elf.h:54:18: note: each undeclared identifier is reported only once for each function it appears in
#define ELF_DATA ELFDATA2MSB
^
fs//proc/kcore.c:335:26: note: in expansion of macro 'ELF_DATA'
elf->e_ident[EI_DATA] = ELF_DATA;
^
vim +/ELFDATA2MSB +54 arch/m68k/include/asm/elf.h
f358cbcd Greg Ungerer 2009-01-29 48 #define elf_check_arch(x) ((x)->e_machine == EM_68K)
f358cbcd Greg Ungerer 2009-01-29 49
f358cbcd Greg Ungerer 2009-01-29 50 /*
f358cbcd Greg Ungerer 2009-01-29 51 * These are used to set parameters in the core dumps.
f358cbcd Greg Ungerer 2009-01-29 52 */
f358cbcd Greg Ungerer 2009-01-29 53 #define ELF_CLASS ELFCLASS32
f358cbcd Greg Ungerer 2009-01-29 @54 #define ELF_DATA ELFDATA2MSB
f358cbcd Greg Ungerer 2009-01-29 55 #define ELF_ARCH EM_68K
f358cbcd Greg Ungerer 2009-01-29 56
f358cbcd Greg Ungerer 2009-01-29 57 /* For SVR4/m68k the function pointer to be registered with `atexit' is
:::::: The code at line 54 was first introduced by commit
:::::: f358cbcd49027d3a58c1f29dbf02a8369bfedcf7 m68k: use mmu version of elf.h for non-mmu builds as well
:::::: TO: Greg Ungerer [off-list ref]
:::::: CC: Greg Ungerer [off-list ref]
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
arch/sparc/include/asm/elf_64.h:106:19: error: 'ELFDATA2MSB' undeclared (first use in this function)
#define ELF_DATA ELFDATA2MSB
^
fs/proc/kcore.c:335:26: note: in expansion of macro 'ELF_DATA'
elf->e_ident[EI_DATA] = ELF_DATA;
^
arch/sparc/include/asm/elf_64.h:106:19: note: each undeclared identifier is reported only once for each function it appears in
#define ELF_DATA ELFDATA2MSB
^
fs/proc/kcore.c:335:26: note: in expansion of macro 'ELF_DATA'
elf->e_ident[EI_DATA] = ELF_DATA;
^
vim +/ELFDATA2MSB +106 arch/sparc/include/asm/elf_64.h
6f859c0e arch/sparc/include/asm/elf_64.h David S. Miller 2012-08-16 90 #define AV_SPARC_CBCOND 0x02000000 /* CBCOND insns available */
6f859c0e arch/sparc/include/asm/elf_64.h David S. Miller 2012-08-16 91
6f859c0e arch/sparc/include/asm/elf_64.h David S. Miller 2012-08-16 92 /* Solaris decided to enumerate every single crypto instruction type
6f859c0e arch/sparc/include/asm/elf_64.h David S. Miller 2012-08-16 93 * in the AT_HWCAP bits. This is wasteful, since if crypto is present,
6f859c0e arch/sparc/include/asm/elf_64.h David S. Miller 2012-08-16 94 * you still need to look in the CFR register to see if the opcode is
6f859c0e arch/sparc/include/asm/elf_64.h David S. Miller 2012-08-16 95 * really available. So we simply advertise only "crypto" support.
6f859c0e arch/sparc/include/asm/elf_64.h David S. Miller 2012-08-16 96 */
6f859c0e arch/sparc/include/asm/elf_64.h David S. Miller 2012-08-16 97 #define HWCAP_SPARC_CRYPTO 0x04000000 /* CRYPTO insns available */
f5e706ad include/asm-sparc/elf_64.h Sam Ravnborg 2008-07-17 98
f5e706ad include/asm-sparc/elf_64.h Sam Ravnborg 2008-07-17 99 #define CORE_DUMP_USE_REGSET
f5e706ad include/asm-sparc/elf_64.h Sam Ravnborg 2008-07-17 100
f5e706ad include/asm-sparc/elf_64.h Sam Ravnborg 2008-07-17 101 /*
f5e706ad include/asm-sparc/elf_64.h Sam Ravnborg 2008-07-17 102 * These are used to set parameters in the core dumps.
f5e706ad include/asm-sparc/elf_64.h Sam Ravnborg 2008-07-17 103 */
f5e706ad include/asm-sparc/elf_64.h Sam Ravnborg 2008-07-17 104 #define ELF_ARCH EM_SPARCV9
f5e706ad include/asm-sparc/elf_64.h Sam Ravnborg 2008-07-17 105 #define ELF_CLASS ELFCLASS64
f5e706ad include/asm-sparc/elf_64.h Sam Ravnborg 2008-07-17 @106 #define ELF_DATA ELFDATA2MSB
f5e706ad include/asm-sparc/elf_64.h Sam Ravnborg 2008-07-17 107
f5e706ad include/asm-sparc/elf_64.h Sam Ravnborg 2008-07-17 108 /* Format of 64-bit elf_gregset_t is:
f5e706ad include/asm-sparc/elf_64.h Sam Ravnborg 2008-07-17 109 * G0 --> G7
f5e706ad include/asm-sparc/elf_64.h Sam Ravnborg 2008-07-17 110 * O0 --> O7
f5e706ad include/asm-sparc/elf_64.h Sam Ravnborg 2008-07-17 111 * L0 --> L7
f5e706ad include/asm-sparc/elf_64.h Sam Ravnborg 2008-07-17 112 * I0 --> I7
f5e706ad include/asm-sparc/elf_64.h Sam Ravnborg 2008-07-17 113 * TSTATE
f5e706ad include/asm-sparc/elf_64.h Sam Ravnborg 2008-07-17 114 * TPC
:::::: The code at line 106 was first introduced by commit
:::::: f5e706ad886b6a5eb59637830110b09ccebf01c5 sparc: join the remaining header files
:::::: TO: Sam Ravnborg [off-list ref]
:::::: CC: David S. Miller [off-list ref]
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation