diff options
author | Alan Modra <amodra@gmail.com> | 2009-10-10 04:34:39 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2009-10-10 04:34:39 +0000 |
commit | ec2d9b29273a260dad374eca5bbe2f7922d0bfde (patch) | |
tree | 2156cd6930f0b4701cbf590d22149f1d463670d7 /ld/scripttempl/psos.sc | |
parent | d4780e57f540e6c89da1cfef35666ae3f20d26a8 (diff) | |
download | gdb-ec2d9b29273a260dad374eca5bbe2f7922d0bfde.zip gdb-ec2d9b29273a260dad374eca5bbe2f7922d0bfde.tar.gz gdb-ec2d9b29273a260dad374eca5bbe2f7922d0bfde.tar.bz2 |
Revert 2009-09-28 changes.
Diffstat (limited to 'ld/scripttempl/psos.sc')
-rw-r--r-- | ld/scripttempl/psos.sc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/scripttempl/psos.sc b/ld/scripttempl/psos.sc index bc99fdd..ab8c6c7 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); |