aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/psos.sc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-09-28 07:08:50 +0000
committerAlan Modra <amodra@gmail.com>2009-09-28 07:08:50 +0000
commitdf381c72f46873ac16530442ac11b160009bcba8 (patch)
tree99ca35656e35b676ba2e8710b54d26f4046e448f /ld/scripttempl/psos.sc
parent9188c27260a4cbed80cbdf14118630f716e967d2 (diff)
downloadgdb-df381c72f46873ac16530442ac11b160009bcba8.zip
gdb-df381c72f46873ac16530442ac11b160009bcba8.tar.gz
gdb-df381c72f46873ac16530442ac11b160009bcba8.tar.bz2
* scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur.
* scripttempl/elf32cr16c.sc: Likewise. * scripttempl/elf32crx.sc: Likewise. * scripttempl/tic54xcoff.sc: Likewise. * scripttempl/aix.sc: Delete ${RELOCATING-0}. * scripttempl/avr.sc: Likewise. * scripttempl/elf32msp430.sc: Likewise. * scripttempl/elf32msp430_3.sc: Likewise. * scripttempl/elf32sh-symbian.sc: Likewise. * scripttempl/elf_chaos.sc: Likewise. * scripttempl/elfi370.sc: Likewise. * scripttempl/nw.sc: Likewise. * scripttempl/psos.sc: Likewise. * scripttempl/armbpabi.sc: Delete ${RELOCATING-0} and ${CONSTRUCTING-0}. * scripttempl/elf.sc: Likewise. * scripttempl/elf64hppa.sc: Likewise. * scripttempl/elfd10v.sc: Likewise. * scripttempl/elfd30v.sc: Likewise. * scripttempl/elfm68hc11.sc: Likewise. * scripttempl/elfm68hc12.sc: Likewise. * scripttempl/elfmicroblaze.sc: Likewise. * scripttempl/elfxtensa.sc: Likewise. * scripttempl/iq2000.sc: Likewise. * scripttempl/mep.sc: Likewise. * scripttempl/xstormy16.sc: Likewise.
Diffstat (limited to 'ld/scripttempl/psos.sc')
-rw-r--r--ld/scripttempl/psos.sc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/scripttempl/psos.sc b/ld/scripttempl/psos.sc
index ab8c6c7..bc99fdd 100644
--- a/ld/scripttempl/psos.sc
+++ b/ld/scripttempl/psos.sc
@@ -5,7 +5,7 @@ ${RELOCATING+${LIB_SEARCH_DIRS}}
SECTIONS
{
- .text ${RELOCATING:-0} ${RELOCATING+${TEXT_START_ADDR}} : {
+ .text ${RELOCATING+${TEXT_START_ADDR}} : {
${RELOCATING+ start = DEFINED(_START) ? _START : DEFINED(_start) ? _start : .;}
${RELOCATING+ PROVIDE(__text = .);}
*(.text);
@@ -31,14 +31,14 @@ SECTIONS
${RELOCATING+ PROVIDE(__etext = .);}
${RELOCATING+ PROVIDE(_etext = .);}
}
- .data ${RELOCATING:-0} : ${RELOCATING+ AT(ADDR(.text) + SIZEOF(.text))} {
+ .data : ${RELOCATING+ AT(ADDR(.text) + SIZEOF(.text))} {
${RELOCATING+ PROVIDE(__data = .);}
*(.data);
*(vars);
${RELOCATING+ PROVIDE(__edata = .);}
${RELOCATING+ PROVIDE(_edata = .);}
}
- .bss ${RELOCATING:-0} :
+ .bss :
{
${RELOCATING+ PROVIDE(__bss = .);}
*(.bss);