aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorCatherine Moore <clm@redhat.com>1998-08-10 01:45:58 +0000
committerCatherine Moore <clm@redhat.com>1998-08-10 01:45:58 +0000
commit45834a73ef623e57d5fac5f56a85528c26d18b58 (patch)
treeaa714be43b4849da4acad6ea858c490d681d2e2a /ld/scripttempl
parent0ff7faafe6a582f16c124e88fb31067cf66cbaef (diff)
downloadgdb-45834a73ef623e57d5fac5f56a85528c26d18b58.zip
gdb-45834a73ef623e57d5fac5f56a85528c26d18b58.tar.gz
gdb-45834a73ef623e57d5fac5f56a85528c26d18b58.tar.bz2
* scripttempl/elfarm.sc: Set text start address to
0x8000. Add __bss_end definition.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/elfarm.sc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/scripttempl/elfarm.sc b/ld/scripttempl/elfarm.sc
index 9e97ad1..98a3198 100644
--- a/ld/scripttempl/elfarm.sc
+++ b/ld/scripttempl/elfarm.sc
@@ -131,7 +131,7 @@ SECTIONS
.rela.plt ${RELOCATING-0} : { *(.rela.plt) }
.init ${RELOCATING-0} : { KEEP (*(.init)) } =${NOP-0}
${DATA_PLT-${PLT}}
- .text ${RELOCATING-0} :
+ .text ${RELOCATING+ 0x8000} :
{
${RELOCATING+${TEXT_START_SYMBOLS}}
*(.text)
@@ -215,6 +215,7 @@ SECTIONS
${RELOCATING+. = ALIGN(${ALIGNMENT});}
${RELOCATING+_end = . ;}
${RELOCATING+_bss_end__ = . ;}
+ ${RELOCATING+__bss_end__ = . ;}
${RELOCATING+PROVIDE (end = .);}
/* Stabs debugging sections. */