diff options
author | Alan Modra <amodra@gmail.com> | 2009-09-28 07:08:50 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2009-09-28 07:08:50 +0000 |
commit | df381c72f46873ac16530442ac11b160009bcba8 (patch) | |
tree | 99ca35656e35b676ba2e8710b54d26f4046e448f /ld/scripttempl/tic54xcoff.sc | |
parent | 9188c27260a4cbed80cbdf14118630f716e967d2 (diff) | |
download | gdb-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/tic54xcoff.sc')
-rw-r--r-- | ld/scripttempl/tic54xcoff.sc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/scripttempl/tic54xcoff.sc b/ld/scripttempl/tic54xcoff.sc index f17b480..6cfcd4c 100644 --- a/ld/scripttempl/tic54xcoff.sc +++ b/ld/scripttempl/tic54xcoff.sc @@ -1,5 +1,6 @@ # default linker script for c54x, TI COFF(1). # patterned after description in TI Assembler Tools PDF, SPRU102C, 7-53 +test -z "$RELOCATING" && exit 0 test -z "$ENTRY" && ENTRY=_c_int00 cat <<EOF @@ -12,7 +13,7 @@ MEMORY /*PAGE 1 : */ data (W) : ORIGIN = 0x01000080, LENGTH = 0xFF80 } -${RELOCATING+ENTRY (${ENTRY})} +ENTRY (${ENTRY}) SECTIONS { |