summaryrefslogtreecommitdiff
path: root/ld/scripttempl/elf.sc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-12-22 17:43:34 +0000
committerNick Clifton <nickc@redhat.com>2005-12-22 17:43:34 +0000
commit48c0d9b618cd020566220ea7a573204f2c016aad (patch)
tree7f599e3832487c1b2479e3c25349efd45d6ef95c /ld/scripttempl/elf.sc
parent23f337d7cd6d0c4ac1e250dc1590e56e7bcabaa7 (diff)
downloadbinutils-redhat-48c0d9b618cd020566220ea7a573204f2c016aad.tar.gz
Add TINY_READONLY_SECTION, TINY_DATA_SECTION, TINY_BSS_SECTION.
Diffstat (limited to 'ld/scripttempl/elf.sc')
-rw-r--r--ld/scripttempl/elf.sc4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
index 4585a59633..d7b0a79c62 100644
--- a/ld/scripttempl/elf.sc
+++ b/ld/scripttempl/elf.sc
@@ -334,6 +334,7 @@ cat <<EOF
} =${NOP-0}
${TEXT_PLT+${PLT}}
+ ${TINY_READONLY_SECTION}
.text ${RELOCATING-0} :
{
${RELOCATING+${TEXT_START_SYMBOLS}}
@@ -496,6 +497,9 @@ cat <<EOF
.debug_typenames 0 : { *(.debug_typenames) }
.debug_varnames 0 : { *(.debug_varnames) }
+ ${TINY_DATA_SECTION}
+ ${TINY_BSS_SECTION}
+
${STACK_ADDR+${STACK}}
${OTHER_SECTIONS}
${RELOCATING+${OTHER_SYMBOLS}}