Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285000
b: refs/heads/master
c: 267aed9
h: refs/heads/master
v: v3
  • Loading branch information
David Howells committed Dec 12, 2011
1 parent 4ef801a commit fd01427
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 070712c6cd8a02e57506ebf52d7c6056d7535b42
refs/heads/master: 267aed9dfeb2225960043f89db1f58d8ab522797
18 changes: 9 additions & 9 deletions trunk/include/linux/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,6 @@
#include <asm/elf.h>
#endif

struct file;

#ifndef elf_read_implies_exec
/* Executables for which elf_read_implies_exec() returns TRUE will
have the READ_IMPLIES_EXEC personality flag set automatically.
Override in asm/elf.h as needed. */
# define elf_read_implies_exec(ex, have_pt_gnu_stack) 0
#endif

/* 32-bit ELF base types. */
typedef __u32 Elf32_Addr;
typedef __u16 Elf32_Half;
Expand Down Expand Up @@ -414,6 +405,13 @@ typedef struct elf64_note {
} Elf64_Nhdr;

#ifdef __KERNEL__
#ifndef elf_read_implies_exec
/* Executables for which elf_read_implies_exec() returns TRUE will
have the READ_IMPLIES_EXEC personality flag set automatically.
Override in asm/elf.h as needed. */
# define elf_read_implies_exec(ex, have_pt_gnu_stack) 0
#endif

#if ELF_CLASS == ELFCLASS32

extern Elf32_Dyn _DYNAMIC [];
Expand All @@ -437,6 +435,8 @@ extern Elf64_Dyn _DYNAMIC [];
#endif

/* Optional callbacks to write extra ELF notes. */
struct file;

#ifndef ARCH_HAVE_EXTRA_ELF_NOTES
static inline int elf_coredump_extra_notes_size(void) { return 0; }
static inline int elf_coredump_extra_notes_write(struct file *file,
Expand Down

0 comments on commit fd01427

Please sign in to comment.