mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 04/11] fix underscore count in bss_start/bss_stop
Date: Wed,  7 Dec 2011 13:53:00 +0100	[thread overview]
Message-ID: <1323262387-8012-5-git-send-email-s.hauer@pengutronix.de> (raw)
In-Reply-To: <1323262387-8012-1-git-send-email-s.hauer@pengutronix.de>

As done in the Linux Kernel

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/blackfin/boards/ipe337/barebox.lds.S |    4 ++--
 arch/blackfin/cpu-bf561/start.S           |    8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/blackfin/boards/ipe337/barebox.lds.S b/arch/blackfin/boards/ipe337/barebox.lds.S
index 25ca988..9e2b034 100644
--- a/arch/blackfin/boards/ipe337/barebox.lds.S
+++ b/arch/blackfin/boards/ipe337/barebox.lds.S
@@ -84,9 +84,9 @@ SECTIONS
 	___usymtab_end = .;
 
 	. = ALIGN(4);
-	__bss_start = .;
+	___bss_start = .;
 	.bss : { *(.bss) }
-	__bss_stop = .;
+	___bss_stop = .;
 	_end = .;
 }
 
diff --git a/arch/blackfin/cpu-bf561/start.S b/arch/blackfin/cpu-bf561/start.S
index 4345362..8a6c563 100644
--- a/arch/blackfin/cpu-bf561/start.S
+++ b/arch/blackfin/cpu-bf561/start.S
@@ -163,8 +163,8 @@ offset:
 	p2.h = hi(TEXT_BASE);
 
 	p3 = 0x04;
-	p4.l = __bss_start;
-	p4.h = __bss_start;
+	p4.l = ___bss_start;
+	p4.h = ___bss_start;
 loop1:
 	r1 = [p1 ++ p3];
 	[p2 ++ p3] = r1;
@@ -308,8 +308,8 @@ WAIT_DMA_DONE:
 	W[P1+OFFSET_(MDMA_D0_IRQ_STATUS)] = R0;	/* Write 1 to clear DMA interrupt */
 
 	/* Initialize BSS Section with 0 s */
-	p1.l = __bss_start;
-	p1.h = __bss_start;
+	p1.l = ___bss_start;
+	p1.h = ___bss_start;
 	p2.l = _end;
 	p2.h = _end;
 	r1 = p1;
-- 
1.7.7.3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2011-12-07 12:53 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-07 12:52 [PATCH] compile (and warning) fixes for -next Sascha Hauer
2011-12-07 12:52 ` [PATCH 01/11] mci s3c: remove unused code Sascha Hauer
2011-12-07 12:52 ` [PATCH 02/11] memory: do not try to reserve iomem on sandbox Sascha Hauer
2011-12-07 12:52 ` [PATCH 03/11] remove unused Kconfig variable HAS_CFI Sascha Hauer
2011-12-07 12:53 ` Sascha Hauer [this message]
2011-12-07 12:53 ` [PATCH 05/11] console_simple: fix compiler warning Sascha Hauer
2011-12-07 12:53 ` [PATCH 06/11] net macb: remove unused variable Sascha Hauer
2011-12-07 13:19   ` Jean-Christophe PLAGNIOL-VILLARD
2011-12-07 12:53 ` [PATCH 07/11] pxa: add type to Kconfig choice Sascha Hauer
2011-12-07 12:53 ` [PATCH 08/11] ft_build: temporarily disable bootm oftree support Sascha Hauer
2011-12-07 12:53 ` [PATCH 09/11] arm eukrea boards: fix breakage after mach-types update Sascha Hauer
2011-12-07 12:53 ` [PATCH 10/11] arm at91sam9260: Add missing AT91SAM_ETX2_ETX3_ALTERNATIVE define Sascha Hauer
2011-12-08 14:20   ` Jean-Christophe PLAGNIOL-VILLARD
2011-12-09  5:33     ` Jean-Christophe PLAGNIOL-VILLARD
2011-12-09 10:15       ` Sascha Hauer
2011-12-09 10:45         ` Jean-Christophe PLAGNIOL-VILLARD
2011-12-07 12:53 ` [PATCH 11/11] x86: Fix linker script for magic vars Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1323262387-8012-5-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox