summaryrefslogtreecommitdiffstats
path: root/arch/sparc/boot
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2011-01-04 11:39:12 +0000
committerDavid S. Miller <davem@davemloft.net>2011-01-04 19:25:04 -0800
commitb2a39b0d8ec2ce2bdcff4e01572b4e885220254d (patch)
tree94ff9af8e41ecd030237043fef8acdf2d690d0c6 /arch/sparc/boot
parente405ae76af19cd2c85335b842f880a2bc98ba785 (diff)
downloadblackbird-op-linux-b2a39b0d8ec2ce2bdcff4e01572b4e885220254d.tar.gz
blackbird-op-linux-b2a39b0d8ec2ce2bdcff4e01572b4e885220254d.zip
sparc: use _start for the start entry (like 64 bit does)
We use "_start" in 64 bit - do the same in 32 bit. It is always good to be consistent. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/boot')
-rw-r--r--arch/sparc/boot/piggyback_32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc/boot/piggyback_32.c b/arch/sparc/boot/piggyback_32.c
index cfd95ec01f18..5c86a7d03b6f 100644
--- a/arch/sparc/boot/piggyback_32.c
+++ b/arch/sparc/boot/piggyback_32.c
@@ -73,9 +73,9 @@ static void usage(void)
static int start_line(const char *line)
{
- if (strcmp(line + 8, " T start\n") == 0)
+ if (strcmp(line + 8, " T _start\n") == 0)
return 1;
- else if (strcmp(line + 16, " T start\n") == 0)
+ else if (strcmp(line + 16, " T _start\n") == 0)
return 1;
return 0;
}
@@ -92,7 +92,7 @@ static int end_line(const char *line)
/*
* Find address for start and end in System.map.
* The file looks like this:
- * f0004000 T start
+ * f0004000 T _start
* f0379f79 A _end
* 1234567890123456
* ^coloumn 1
OpenPOWER on IntegriCloud