diff options
| author | Wolfgang Denk <[email protected]> | 2011-03-27 21:20:29 +0200 |
|---|---|---|
| committer | Wolfgang Denk <[email protected]> | 2011-03-27 21:20:29 +0200 |
| commit | c04bf5e9a45d7335681352faa125193258f8e976 (patch) | |
| tree | ab512a5a8356b6f492100925acb63638a7c10ce9 /examples | |
| parent | b0c5ceb305054aadf2f810b0b7bfcc94926b78ad (diff) | |
| parent | 05858736f5f1050d776571451995db81e3f5a5d7 (diff) | |
Merge branch 'master' of git://git.denx.de/u-boot-arm
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/standalone/mips.lds | 2 | ||||
| -rw-r--r-- | examples/standalone/sparc.lds | 2 | ||||
| -rw-r--r-- | examples/standalone/stubs.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/examples/standalone/mips.lds b/examples/standalone/mips.lds index 63a1c92ab62..68ae217b5c5 100644 --- a/examples/standalone/mips.lds +++ b/examples/standalone/mips.lds @@ -55,5 +55,5 @@ SECTIONS .sbss (NOLOAD) : { *(.sbss) } .bss (NOLOAD) : { *(.bss) . = ALIGN(4); } - _end = .; + __bss_end__ = .; } diff --git a/examples/standalone/sparc.lds b/examples/standalone/sparc.lds index 9733daa86b9..7f060b6d179 100644 --- a/examples/standalone/sparc.lds +++ b/examples/standalone/sparc.lds @@ -57,5 +57,5 @@ SECTIONS } . = ALIGN(4); __bss_end = .; - _end = .; + __bss_end__ = .; } diff --git a/examples/standalone/stubs.c b/examples/standalone/stubs.c index 2d2e7098b7b..1379df731e4 100644 --- a/examples/standalone/stubs.c +++ b/examples/standalone/stubs.c @@ -187,14 +187,14 @@ void __attribute__((unused)) dummy(void) #include <_exports.h> } -extern unsigned long __bss_start, _end; +extern unsigned long __bss_start, __bss_end__; void app_startup(char * const *argv) { unsigned char * cp = (unsigned char *) &__bss_start; /* Zero out BSS */ - while (cp < (unsigned char *)&_end) { + while (cp < (unsigned char *)&__bss_end__) { *cp++ = 0; } |
