summaryrefslogtreecommitdiff
path: root/ld/scripttempl/psos.sc
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2009-10-10 04:34:38 +0000
committerAlan Modra <amodra@bigpond.net.au>2009-10-10 04:34:38 +0000
commit70ebc85bb4deff49c0c4c0497e5c3aa7b1e4d230 (patch)
treee8de7b41cd2b7dbc4ba566f4e7d83c7d4c578b7a /ld/scripttempl/psos.sc
parentea2cdcdf6ebc8633ebfecec69dd4b1a26255333c (diff)
downloadbinutils-redhat-70ebc85bb4deff49c0c4c0497e5c3aa7b1e4d230.tar.gz
Revert 2009-09-28 changes.
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 bc99fdda4d..ab8c6c7e3c 100644
--- a/ld/scripttempl/psos.sc
+++ b/ld/scripttempl/psos.sc
@@ -5,7 +5,7 @@ ${RELOCATING+${LIB_SEARCH_DIRS}}
SECTIONS
{
- .text ${RELOCATING+${TEXT_START_ADDR}} : {
+ .text ${RELOCATING:-0} ${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+ AT(ADDR(.text) + SIZEOF(.text))} {
+ .data ${RELOCATING:-0} : ${RELOCATING+ AT(ADDR(.text) + SIZEOF(.text))} {
${RELOCATING+ PROVIDE(__data = .);}
*(.data);
*(vars);
${RELOCATING+ PROVIDE(__edata = .);}
${RELOCATING+ PROVIDE(_edata = .);}
}
- .bss :
+ .bss ${RELOCATING:-0} :
{
${RELOCATING+ PROVIDE(__bss = .);}
*(.bss);