diff options
Diffstat (limited to 'arch/sparc/boot')
-rw-r--r-- | arch/sparc/boot/piggyback_32.c | 6 |
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) | |||
73 | 73 | ||
74 | static int start_line(const char *line) | 74 | static int start_line(const char *line) |
75 | { | 75 | { |
76 | if (strcmp(line + 8, " T start\n") == 0) | 76 | if (strcmp(line + 8, " T _start\n") == 0) |
77 | return 1; | 77 | return 1; |
78 | else if (strcmp(line + 16, " T start\n") == 0) | 78 | else if (strcmp(line + 16, " T _start\n") == 0) |
79 | return 1; | 79 | return 1; |
80 | return 0; | 80 | return 0; |
81 | } | 81 | } |
@@ -92,7 +92,7 @@ static int end_line(const char *line) | |||
92 | /* | 92 | /* |
93 | * Find address for start and end in System.map. | 93 | * Find address for start and end in System.map. |
94 | * The file looks like this: | 94 | * The file looks like this: |
95 | * f0004000 T start | 95 | * f0004000 T _start |
96 | * f0379f79 A _end | 96 | * f0379f79 A _end |
97 | * 1234567890123456 | 97 | * 1234567890123456 |
98 | * ^coloumn 1 | 98 | * ^coloumn 1 |