summaryrefslogtreecommitdiffstats
path: root/arch/nios2
diff options
context:
space:
mode:
authorFranck Jullien <franck.jullien@gmail.com>2011-12-10 14:22:20 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-12-12 11:07:20 +0100
commitb2c6ef5d7e7b092544591b9770ab0d7b37a74d8d (patch)
tree2475ab124612667e2c1bb478520f1969b4993e02 /arch/nios2
parentf159b75e8fcc8d196c6bd777c8051ed92bc47980 (diff)
downloadbarebox-b2c6ef5d7e7b092544591b9770ab0d7b37a74d8d.tar.gz
barebox-b2c6ef5d7e7b092544591b9770ab0d7b37a74d8d.tar.xz
nios2: remove one "_" from etext an stext
common/memory.c now uses _etext and _stext. The nios2 linker script defines __stext and __etext... Signed-off-by: Franck Jullien <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/nios2')
-rw-r--r--arch/nios2/cpu/barebox.lds.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/nios2/cpu/barebox.lds.S b/arch/nios2/cpu/barebox.lds.S
index 934eaf7cac..04bfdf8ad1 100644
--- a/arch/nios2/cpu/barebox.lds.S
+++ b/arch/nios2/cpu/barebox.lds.S
@@ -41,7 +41,7 @@ SECTIONS
. = ALIGN(4);
.text :
{
- __stext = .;
+ _stext = .;
__text = .;
_text = .;
*(.text_entry)
@@ -68,7 +68,7 @@ SECTIONS
__usymtab : { BAREBOX_SYMS }
___usymtab_end = .;
- __etext = .; /* End of text and rodata section */
+ _etext = .; /* End of text and rodata section */
/* INIT DATA sections - "Small" data (see the gcc -G option)
* is always gp-relative. Here we make all init data sections