gdb/
[binutils-gdb.git] / ld / scripttempl / tic54xcoff.sc
index d84f928bb1dacf5f0c66ff71c82e26a5cf74b5e4..f17b480d1fdac982ede23dde6bc8303b80a7fb80 100644 (file)
@@ -1,5 +1,5 @@
 # default linker script for c54x, TI COFF(1).
-# patterned after description in TI Aseembler Tools PDF, SPRU102C, 7-53
+# patterned after description in TI Assembler Tools PDF, SPRU102C, 7-53
 test -z "$ENTRY" && ENTRY=_c_int00
 
 cat <<EOF
@@ -8,11 +8,11 @@ OUTPUT_ARCH("${OUTPUT_ARCH}")
 
 MEMORY
 {
-       PAGE 0 : prog (RXI) : ORIGIN = 0x000080, LENGTH = 0xFF00
-       PAGE 1 : data (W) : ORIGIN = 0x000080, LENGTH = 0xFF80
+       /*PAGE 0 : */ prog (RXI) : ORIGIN = 0x00000080, LENGTH = 0xFF00
+       /*PAGE 1 : */ data (W) : ORIGIN = 0x01000080, LENGTH = 0xFF80
 }
 
-ENTRY(${ENTRY})
+${RELOCATING+ENTRY (${ENTRY})}
 
 SECTIONS                               
 {