diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-17 10:30:57 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-17 11:04:24 +0100 |
commit | 92c1c6cfb1dc6cc310c32f4c82becd0518b4d823 (patch) | |
tree | 8d50c93ead3d774f6bc875096c75f0e28efbda48 | |
parent | 5a707d6ad87399d0af56e250b4c8e0466009d5d3 (diff) | |
download | barebox-92c1c6cfb1dc6cc310c32f4c82becd0518b4d823.tar.gz barebox-92c1c6cfb1dc6cc310c32f4c82becd0518b4d823.tar.xz |
add sections.h header file
The file location and variable names from the Linux Kernel have been
used here.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/include/asm/sections.h | 1 | ||||
-rw-r--r-- | arch/blackfin/include/asm/sections.h | 1 | ||||
-rw-r--r-- | arch/ppc/include/asm/sections.h | 1 | ||||
-rw-r--r-- | arch/sandbox/include/asm/sections.h | 1 | ||||
-rw-r--r-- | arch/x86/include/asm/sections.h | 1 | ||||
-rw-r--r-- | include/asm-generic/sections.h | 8 |
6 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/include/asm/sections.h b/arch/arm/include/asm/sections.h new file mode 100644 index 0000000000..2b8c516038 --- /dev/null +++ b/arch/arm/include/asm/sections.h @@ -0,0 +1 @@ +#include <asm-generic/sections.h> diff --git a/arch/blackfin/include/asm/sections.h b/arch/blackfin/include/asm/sections.h new file mode 100644 index 0000000000..2b8c516038 --- /dev/null +++ b/arch/blackfin/include/asm/sections.h @@ -0,0 +1 @@ +#include <asm-generic/sections.h> diff --git a/arch/ppc/include/asm/sections.h b/arch/ppc/include/asm/sections.h new file mode 100644 index 0000000000..2b8c516038 --- /dev/null +++ b/arch/ppc/include/asm/sections.h @@ -0,0 +1 @@ +#include <asm-generic/sections.h> diff --git a/arch/sandbox/include/asm/sections.h b/arch/sandbox/include/asm/sections.h new file mode 100644 index 0000000000..2b8c516038 --- /dev/null +++ b/arch/sandbox/include/asm/sections.h @@ -0,0 +1 @@ +#include <asm-generic/sections.h> diff --git a/arch/x86/include/asm/sections.h b/arch/x86/include/asm/sections.h new file mode 100644 index 0000000000..2b8c516038 --- /dev/null +++ b/arch/x86/include/asm/sections.h @@ -0,0 +1 @@ +#include <asm-generic/sections.h> diff --git a/include/asm-generic/sections.h b/include/asm-generic/sections.h new file mode 100644 index 0000000000..c5d60a9d75 --- /dev/null +++ b/include/asm-generic/sections.h @@ -0,0 +1,8 @@ +#ifndef _ASM_GENERIC_SECTIONS_H_ +#define _ASM_GENERIC_SECTIONS_H_ + +extern char _text[], _stext[], _etext[]; +extern char __bss_start[], __bss_stop[]; +extern char _end[]; + +#endif /* _ASM_GENERIC_SECTIONS_H_ */ |