Linux 5.6.13
[linux/fpc-iii.git] / kernel / elfcore.c
blob57fb4dcff4349546109fbff0953e2b6f3f90a3aa
1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/elf.h>
3 #include <linux/fs.h>
4 #include <linux/mm.h>
5 #include <linux/binfmts.h>
6 #include <linux/elfcore.h>
8 Elf_Half __weak elf_core_extra_phdrs(void)
10 return 0;
13 int __weak elf_core_write_extra_phdrs(struct coredump_params *cprm, loff_t offset)
15 return 1;
18 int __weak elf_core_write_extra_data(struct coredump_params *cprm)
20 return 1;
23 size_t __weak elf_core_extra_data_size(void)
25 return 0;