From 11dd4e37b44350ce7d8e3957256bfd24fdc64328 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Tue, 8 Jun 2010 20:15:18 +0000 Subject: [PATCH] * emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New. --- ld/ChangeLog | 4 ++++ ld/emulparams/elf32_tic6x_le.sh | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index e950814ad7f..25452fbbf1f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2010-06-08 Bernd Schmidt + + * emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New. + 2010-06-08 Nick Clifton * fdl.texi: Replace with v1.3 text. diff --git a/ld/emulparams/elf32_tic6x_le.sh b/ld/emulparams/elf32_tic6x_le.sh index b9a5a963139..ee41f4f986c 100644 --- a/ld/emulparams/elf32_tic6x_le.sh +++ b/ld/emulparams/elf32_tic6x_le.sh @@ -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 = .; + }" -- 2.30.2