Revisión | e11cce22905759c840fe8f1a6376acf416720891 (tree) |
---|---|
Tiempo | 2012-10-04 11:32:38 |
Autor | Greg Ungerer <gerg@snap...> |
Commiter | Greg Ungerer |
From: Larry Baker <baker@usgs.gov>
The _stack_start symbol needs to be in the same flatmem memory region
as text/data/bss, otherwise it will not end up with the correct address.
Direct the section into the flatmem region.
Signed-of-by: Greg Ungerer <gerg@uclinux.org>
@@ -170,7 +170,7 @@ TOR: @SYMBOL_PREFIX@__DTOR_END__ = .; | ||
170 | 170 | .stack : { |
171 | 171 | . = ALIGN(0x4); |
172 | 172 | @SYMBOL_PREFIX@_stack_start = .; |
173 | - } | |
173 | + } > flatmem | |
174 | 174 | |
175 | 175 | .junk 0 : { *(.rel*) *(.rela*) } |
176 | 176 | /DISCARD/ : { *(.note.GNU-stack) } |