Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53789
b: refs/heads/master
c: 9f7290e
h: refs/heads/master
i:
  53787: ad64765
v: v3
  • Loading branch information
Ralf Baechle authored and Andi Kleen committed May 2, 2007
1 parent 21e865c commit f043550
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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: 5a90cf205c922707ffed2d8f87cefd942e96b0ba
refs/heads/master: 9f7290ed23b1cedf7198ef7b67f2ed256bc8553e
10 changes: 6 additions & 4 deletions trunk/arch/x86_64/ia32/ia32_binfmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
* This tricks binfmt_elf.c into loading 32bit binaries using lots
* of ugly preprocessor tricks. Talk about very very poor man's inheritance.
*/
#define __ASM_X86_64_ELF_H 1

#undef ELF_CLASS
#define ELF_CLASS ELFCLASS32

#include <linux/types.h>
#include <linux/stddef.h>
#include <linux/rwsem.h>
Expand Down Expand Up @@ -50,9 +55,6 @@ struct elf_phdr;
#undef ELF_ARCH
#define ELF_ARCH EM_386

#undef ELF_CLASS
#define ELF_CLASS ELFCLASS32

#define ELF_DATA ELFDATA2LSB

#define USE_ELF_CORE_DUMP 1
Expand Down Expand Up @@ -136,7 +138,7 @@ struct elf_prpsinfo

#define user user32

#define __ASM_X86_64_ELF_H 1
#undef elf_read_implies_exec
#define elf_read_implies_exec(ex, executable_stack) (executable_stack != EXSTACK_DISABLE_X)
//#include <asm/ia32.h>
#include <linux/elf.h>
Expand Down

0 comments on commit f043550

Please sign in to comment.