Commit MetaInfo

Revision21c6a41885ad544763ccd19883c1353f3b0b7a47 (tree)
Time2012-10-04 11:32:38
AuthorGreg Ungerer <gerg@snap...>
CommiterGreg Ungerer

Log Message

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>

Change Summary

Incremental Difference

--- a/elf2flt.ld.in
+++ b/elf2flt.ld.in
@@ -170,7 +170,7 @@ TOR: @SYMBOL_PREFIX@__DTOR_END__ = .;
170170 .stack : {
171171 . = ALIGN(0x4);
172172 @SYMBOL_PREFIX@_stack_start = .;
173- }
173+ } > flatmem
174174
175175 .junk 0 : { *(.rel*) *(.rela*) }
176176 /DISCARD/ : { *(.note.GNU-stack) }
Show on old repository browser