aboutsummaryrefslogtreecommitdiff
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
commit2469cfa28442dfd5e08b681dbcfd1ff098c6d420 (patch)
tree4350aa576399c91dfdaab6b961bb78759c300727 /ld/ld.texinfo
parent3f8173588efb34476725b62fc46853fd00268139 (diff)
downloadgdb-2469cfa28442dfd5e08b681dbcfd1ff098c6d420.zip
gdb-2469cfa28442dfd5e08b681dbcfd1ff098c6d420.tar.gz
gdb-2469cfa28442dfd5e08b681dbcfd1ff098c6d420.tar.bz2
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 8e3a856..0af5765 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