aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
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
commitecc49060c66f6bbc36faa744dc49016832119176 (patch)
treeaf0fd768e2f0b9c66acf70007a30994b424290e3 /ld/scripttempl
parent54758c3e398d1e6dccdb60162cd24b0d0abce9a2 (diff)
downloadgdb-ecc49060c66f6bbc36faa744dc49016832119176.zip
gdb-ecc49060c66f6bbc36faa744dc49016832119176.tar.gz
gdb-ecc49060c66f6bbc36faa744dc49016832119176.tar.bz2
Add TINY_READONLY_SECTION, TINY_DATA_SECTION, TINY_BSS_SECTION.
Diffstat (limited to 'ld/scripttempl')
-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 4585a59..d7b0a79 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}}