https://github.com/torvalds/linux
Raw File
Tip revision: 76e10d158efb6d4516018846f60c2ab5501900bc authored by Linus Torvalds on 20 May 2012, 22:29:13 UTC
Linux 3.4
Tip revision: 76e10d1
elfcore.c
#include <linux/elf.h>
#include <linux/fs.h>
#include <linux/mm.h>

#include <asm/elf.h>


Elf_Half __weak elf_core_extra_phdrs(void)
{
	return 0;
}

int __weak elf_core_write_extra_phdrs(struct file *file, loff_t offset, size_t *size,
				      unsigned long limit)
{
	return 1;
}

int __weak elf_core_write_extra_data(struct file *file, size_t *size,
				     unsigned long limit)
{
	return 1;
}

size_t __weak elf_core_extra_data_size(void)
{
	return 0;
}
back to top