summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2013-01-15 14:48:48 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-01-18 11:56:50 +0100
commit43afe67390697041d1d16d4e5c934d2bfa831399 (patch)
tree6e3721bc26af5f1ce8ec53299a538221146589d3 /arch/x86
parentf8fd03225d05ce96cdeaf8d96fb73780eb77805c (diff)
downloadbarebox-43afe67390697041d1d16d4e5c934d2bfa831399.tar.gz
barebox-data: add barebox-data sections
Add barebox-data section in arm branch to get complete barebox regions in sdram regions tree. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/lib/barebox.lds.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/lib/barebox.lds.S b/arch/x86/lib/barebox.lds.S
index 8bd2a7b..05d0f77 100644
--- a/arch/x86/lib/barebox.lds.S
+++ b/arch/x86/lib/barebox.lds.S
@@ -153,6 +153,7 @@ SECTIONS
} > barebox
BAREBOX_BARE_INIT_SIZE
+ _sdata = .;
.data : AT ( LOADADDR(.text) + SIZEOF(.text) ) {
*(.data*)
. = ALIGN(4);
@@ -191,6 +192,7 @@ SECTIONS
. = ALIGN(4);
} > barebox
+ _edata = .;
.bss : {
__bss_start = .;
*(.bss*);