aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/scripttempl/tic54xcoff.sc6
2 files changed, 8 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index fd58bd97..97360fd 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-30 Timothy Wall <twall@ppc>
+
+ * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
+ the page in the upper octet of the address.
+
2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
* emulparams/avrmega161.sh (ARCH): Change to avr:5.
diff --git a/ld/scripttempl/tic54xcoff.sc b/ld/scripttempl/tic54xcoff.sc
index d84f928..8d8a811 100644
--- a/ld/scripttempl/tic54xcoff.sc
+++ b/ld/scripttempl/tic54xcoff.sc
@@ -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,8 +8,8 @@ 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})