blob: e556751d15d944d3ee51706bacb6d431979fe541 [file] [log] [blame]
Daisuke HATAYAMA1fcccba2010-03-05 13:44:07 -08001#include <linux/elf.h>
2#include <linux/fs.h>
3#include <linux/mm.h>
Al Viro506f21c2013-10-05 17:22:57 -04004#include <linux/binfmts.h>
Daisuke HATAYAMA1fcccba2010-03-05 13:44:07 -08005
6Elf_Half __weak elf_core_extra_phdrs(void)
7{
8 return 0;
9}
10
Al Viro506f21c2013-10-05 17:22:57 -040011int __weak elf_core_write_extra_phdrs(struct coredump_params *cprm, loff_t offset)
Daisuke HATAYAMA1fcccba2010-03-05 13:44:07 -080012{
13 return 1;
14}
15
Al Viro506f21c2013-10-05 17:22:57 -040016int __weak elf_core_write_extra_data(struct coredump_params *cprm)
Daisuke HATAYAMA1fcccba2010-03-05 13:44:07 -080017{
18 return 1;
19}
Daisuke HATAYAMA8d9032b2010-03-05 13:44:10 -080020
21size_t __weak elf_core_extra_data_size(void)
22{
23 return 0;
24}