https://github.com/torvalds/linux
Raw File
Tip revision: 1bae4ce27c9c90344f23c65ea6966c50ffeae2f5 authored by Linus Torvalds on 22 January 2011, 03:01:34 UTC
Linux 2.6.38-rc2
Tip revision: 1bae4ce
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