whack-a-mole: USE_ELF_CORE_DUMP
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 23 May 2020 00:12:06 +0000 (20:12 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 26 Oct 2020 00:03:05 +0000 (20:03 -0400)
It's been killed off back in 2009.  Not a damn thing checks it.
Just die, already...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/c6x/include/asm/elf.h
arch/csky/include/asm/elf.h
arch/hexagon/include/asm/elf.h
arch/nds32/include/asm/elf.h

index 89b4437c4844730c4b5e48f31f850d9e8d902572..bd7fe1a9503cee1c8adca9909f62020571765d48 100644 (file)
@@ -56,7 +56,6 @@ do {                                                          \
 /* Nothing for now. Need to setup DP... */
 #define ELF_PLAT_INIT(_r)
 
-#define USE_ELF_CORE_DUMP
 #define ELF_EXEC_PAGESIZE      4096
 
 #define ELF_CORE_COPY_REGS(_dest, _regs)               \
index e1ec558278bc9bba3511d198aa3344415824ffc5..eb2cc5a673b5acc0bbed47d2e0265c9098b55685 100644 (file)
@@ -50,7 +50,6 @@ typedef elf_greg_t elf_gregset_t[ELF_NGREG];
 /*
  * These are used to set parameters in the core dumps.
  */
-#define USE_ELF_CORE_DUMP
 #define ELF_EXEC_PAGESIZE              4096
 #define ELF_CLASS                      ELFCLASS32
 #define ELF_PLAT_INIT(_r, load_addr)   { _r->a0 = 0; }
index 9efa203e116453aa9c63571380a6bfa215e6382b..5bfdd9b147fd4a0fd109b443a7601b17d151ad03 100644 (file)
@@ -181,7 +181,6 @@ do {                                        \
  */
 #define ELF_PLAT_INIT(regs, load_addr) do { } while (0)
 
-#define USE_ELF_CORE_DUMP
 #define CORE_DUMP_USE_REGSET
 
 /* Hrm is this going to cause problems for changing PAGE_SIZE?  */
index 1c8e56d7013d9f9c6c56699fec4ac30cf1cc293b..1853dc89b8ac93ebaa4fa006caac8347764ba7b2 100644 (file)
@@ -126,7 +126,6 @@ struct elf32_hdr;
 #define ELF_DATA       ELFDATA2LSB
 #endif
 #define ELF_ARCH       EM_NDS32
-#define USE_ELF_CORE_DUMP
 #define ELF_EXEC_PAGESIZE      PAGE_SIZE
 
 /* This is the location that an ET_DYN program is loaded if exec'ed.  Typical