projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22b096a
)
sparc: fix tftpboot.img build
author
Sam Ravnborg
<
[email protected]
>
Sun, 21 Jun 2009 16:46:10 +0000
(16:46 +0000)
committer
David S. Miller
<
[email protected]
>
Fri, 26 Jun 2009 02:55:59 +0000
(19:55 -0700)
Kjetil Oftedal mentioned that piggyback_32 was failing
when building a sparc image.
I tracked this down to the fact that the kernel no longer
provided an absolute symbol named "end".
Commit
86ed40bd6fe511d26bb8f3fa65a84cb65c235366
("sparc: unify sections.h")
renamed end to _end but failed to update piggyback_32.
Signed-off-by: Sam Ravnborg <
[email protected]
>
Cc: Kjetil Oftedal <
[email protected]
>
Cc: Robert Reif <
[email protected]
>
Signed-off-by: Julian Calaby <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
arch/sparc/boot/piggyback_32.c
patch
|
blob
|
history
diff --git
a/arch/sparc/boot/piggyback_32.c
b/arch/sparc/boot/piggyback_32.c
index 3f0f93354543288802363e41f980e9d2439a3047..e8dc9adfcd61db8a05ae092407b53a01f2efac2b 100644
(file)
--- a/
arch/sparc/boot/piggyback_32.c
+++ b/
arch/sparc/boot/piggyback_32.c
@@
-84,7
+84,7
@@
int main(int argc,char **argv)
while (fgets (buffer, 1024, map)) {
if (!strcmp (buffer + 8, " T start\n") || !strcmp (buffer + 16, " T start\n"))
start = strtoul (buffer, NULL, 16);
- else if (!strcmp (buffer + 8, " A
end\n") || !strcmp (buffer + 16, " A
end\n"))
+ else if (!strcmp (buffer + 8, " A
_end\n") || !strcmp (buffer + 16, " A _
end\n"))
end = strtoul (buffer, NULL, 16);
}
fclose (map);