Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17049
b: refs/heads/master
c: 708e9a7
h: refs/heads/master
i:
  17047: 10a4f66
v: v3
  • Loading branch information
Matt Mackall authored and Linus Torvalds committed Jan 9, 2006
1 parent 3d55e93 commit adaad80
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e585e47031751f4e393e10ffd922885508b958dd
refs/heads/master: 708e9a794cf8822b760edaccd9053edb07c34d19
4 changes: 2 additions & 2 deletions trunk/fs/binfmt_elf.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ extern int dump_fpu (struct pt_regs *, elf_fpregset_t *);
* If we don't support core dumping, then supply a NULL so we
* don't even try.
*/
#ifdef USE_ELF_CORE_DUMP
#if defined(USE_ELF_CORE_DUMP) && defined(CONFIG_ELF_CORE)
static int elf_core_dump(long signr, struct pt_regs * regs, struct file * file);
#else
#define elf_core_dump NULL
Expand Down Expand Up @@ -1113,7 +1113,7 @@ static int load_elf_library(struct file *file)
* Note that some platforms still use traditional core dumps and not
* the ELF core dump. Each platform can select it as appropriate.
*/
#ifdef USE_ELF_CORE_DUMP
#if defined(USE_ELF_CORE_DUMP) && defined(CONFIG_ELF_CORE)

/*
* ELF core dumper
Expand Down
6 changes: 6 additions & 0 deletions trunk/init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,12 @@ config DOUBLEFAULT
would otherwise cause a system to silently reboot. Disabling this
option saves about 4k.

config ELF_CORE
default y
bool "Enable ELF core dumps" if EMBEDDED
help
Enable support for generating core dumps. Disabling saves about 4k.

config BASE_FULL
default y
bool "Enable full-sized data structures for core" if EMBEDDED
Expand Down

0 comments on commit adaad80

Please sign in to comment.