* emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New.
authorBernd Schmidt <bernds@codesourcery.com>
Tue, 8 Jun 2010 20:15:18 +0000 (20:15 +0000)
committerBernd Schmidt <bernds@codesourcery.com>
Tue, 8 Jun 2010 20:15:18 +0000 (20:15 +0000)
ld/ChangeLog
ld/emulparams/elf32_tic6x_le.sh

index e950814ad7f70dceeffd51c8822ea8ab8d68913c..25452fbbf1fbad24afc4625ea3441a15c96917fc 100644 (file)
@@ -1,3 +1,7 @@
+2010-06-08  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New.
+
 2010-06-08  Nick Clifton  <nickc@redhat.com>
 
        * fdl.texi: Replace with v1.3 text.
index b9a5a9631393c9bba5359d7627b719df4d089645..ee41f4f986cad997e90fdf51a8db5eea417784fc 100644 (file)
@@ -24,3 +24,16 @@ OTHER_READWRITE_SECTIONS=".fardata ${RELOCATING-0} : { *(.fardata${RELOCATING+ .
 OTHER_READWRITE_RELOC_SECTIONS="
   .rel.fardata     ${RELOCATING-0} : { *(.rel.fardata${RELOCATING+ .rel.fardata.*}) }
   .rela.fardata    ${RELOCATING-0} : { *(.rela.fardata${RELOCATING+ .rela.fardata.*}) }"
+OTHER_BSS_SECTIONS="
+  .heap : 
+  { 
+    . = ALIGN(4); 
+    _HEAP_START = .; 
+    . += 0x2000000; 
+    _HEAP_MAX = .; 
+  }
+  .stack :
+  {
+    . +=  0x100000;
+    _STACK_START = .;
+  }"