-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify x86 a.out_32.h and a.out_64.h [ tglx: Kbuild fixup ] Signed-off-by: Chris Snook <csnook@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
- Loading branch information
Chris Snook
authored and
Thomas Gleixner
committed
Oct 23, 2007
1 parent
62a31a0
commit 01005e7
Showing
4 changed files
with
25 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,30 @@ | ||
#ifndef _ASM_X86_A_OUT_H | ||
#define _ASM_X86_A_OUT_H | ||
|
||
struct exec | ||
{ | ||
unsigned int a_info; /* Use macros N_MAGIC, etc for access */ | ||
unsigned a_text; /* length of text, in bytes */ | ||
unsigned a_data; /* length of data, in bytes */ | ||
unsigned a_bss; /* length of uninitialized data area for file, in bytes */ | ||
unsigned a_syms; /* length of symbol table data in file, in bytes */ | ||
unsigned a_entry; /* start address */ | ||
unsigned a_trsize; /* length of relocation info for text, in bytes */ | ||
unsigned a_drsize; /* length of relocation info for data, in bytes */ | ||
}; | ||
|
||
#define N_TRSIZE(a) ((a).a_trsize) | ||
#define N_DRSIZE(a) ((a).a_drsize) | ||
#define N_SYMSIZE(a) ((a).a_syms) | ||
|
||
#ifdef __KERNEL__ | ||
# include <linux/thread_info.h> | ||
# define STACK_TOP TASK_SIZE | ||
# ifdef CONFIG_X86_32 | ||
# include "a.out_32.h" | ||
# define STACK_TOP_MAX STACK_TOP | ||
# else | ||
# include "a.out_64.h" | ||
# endif | ||
#else | ||
# ifdef __i386__ | ||
# include "a.out_32.h" | ||
# else | ||
# include "a.out_64.h" | ||
# define STACK_TOP_MAX TASK_SIZE64 | ||
# endif | ||
#endif | ||
|
||
#endif /* _ASM_X86_A_OUT_H */ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.