diff options
Diffstat (limited to 'ld/scripttempl/tic54xcoff.sc')
-rw-r--r-- | ld/scripttempl/tic54xcoff.sc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ld/scripttempl/tic54xcoff.sc b/ld/scripttempl/tic54xcoff.sc index 6cfcd4c..f17b480 100644 --- a/ld/scripttempl/tic54xcoff.sc +++ b/ld/scripttempl/tic54xcoff.sc @@ -1,6 +1,5 @@ # 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 @@ -13,7 +12,7 @@ MEMORY /*PAGE 1 : */ data (W) : ORIGIN = 0x01000080, LENGTH = 0xFF80 } -ENTRY (${ENTRY}) +${RELOCATING+ENTRY (${ENTRY})} SECTIONS { |