Linux 4.15.6
[linux/fpc-iii.git] / kernel / elfcore.c
blobfc482c8e0bd880711ef61d654dbd0bfaa6dc784c
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>
7 Elf_Half __weak elf_core_extra_phdrs(void)
9 return 0;
12 int __weak elf_core_write_extra_phdrs(struct coredump_params *cprm, loff_t offset)
14 return 1;
17 int __weak elf_core_write_extra_data(struct coredump_params *cprm)
19 return 1;
22 size_t __weak elf_core_extra_data_size(void)
24 return 0;