summaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-12-30 19:25:13 +0000
committerNick Clifton <nickc@redhat.com>2002-12-30 19:25:13 +0000
commit1c300c075bea886888abefc5b63d2bd9149f2b5e (patch)
tree87075b706d197578c195aa2d5d925c7412301a3e /ld/ld.texinfo
parent81ce95a48623adea9f2079ac751e71665b79b942 (diff)
downloadbinutils-redhat-1c300c075bea886888abefc5b63d2bd9149f2b5e.tar.gz
Add support for msp430.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo37
1 files changed, 37 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 8e3a856672..0af57653c2 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -36,6 +36,7 @@
@set MCORE
@set MIPS
@set MMIX
+@set MSP430
@set PDP11
@set PJ
@set SH
@@ -4393,6 +4394,9 @@ functionality are not listed.
@ifset MMIX
* MMIX:: @code{ld} and MMIX
@end ifset
+@ifset MSP430
+* MSP430:: @code{ld} and MSP430
+@end ifset
@ifset TICOFF
* TI COFF:: @command{ld} and TI COFF
@end ifset
@@ -4892,6 +4896,39 @@ Initial and trailing multiples of zero-valued 32-bit words in a section,
are left out from an mmo file.
@end ifset
+@ifset MSP430
+@node MSP430
+@section @code{ld} and MSP430
+For the MSP430 it is possible to select the MPU architecture. The flag @samp{-m [mpu type]}
+will select an appropriate linker script for selected MPU type. (To get a list of known MPUs
+just pass @samp{-m help} option to the linker).
+
+@cindex MSP430 extra sections
+The linker will recognize some extra sections which are MSP430 specific:
+
+@table @code
+@item @samp{.vectors}
+Defines a portion of ROM where interrupt vectors located.
+
+@item @samp{.bootloader}
+Defines the bootloader portion of the ROM (if applicable). Any code
+in this section will be uploaded to the MPU.
+
+@item @samp{.infomem}
+Defines an information memory section (if applicable). Any code in
+this section will be uploaded to the MPU.
+
+@item @samp{.infomemnobits}
+This is the same as the @samp{.infomem} section except that any code
+in this section will not be uploaded to the MPU.
+
+@item @samp{.noinit}
+Denotes a portion of RAM located above @samp{.bss} section.
+
+The last two sections are used by gcc.
+@end table
+@end ifset
+
@ifset TICOFF
@node TI COFF
@section @command{ld}'s support for various TI COFF versions