mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
* config/tc-msp430.c: Make -mmcu recognise more part numbers.
Add -mcpu command to specify core type. * doc/c-msp430.c: Update documentation. * gas/msp430/opcodes.s: Use correct value for .arch pseudo. * gas/msp430/msp430x.d: Use correct value for -mcpu option.
This commit is contained in:
parent
db0dfaa0e6
commit
638d380363
@ -1,3 +1,9 @@
|
||||
2013-05-16 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* config/tc-msp430.c: Make -mmcu recognise more part numbers.
|
||||
Add -mcpu command to specify core type.
|
||||
* doc/c-msp430.c: Update documentation.
|
||||
|
||||
2013-05-09 Andrew Pinski <apinski@cavium.com>
|
||||
|
||||
* config/tc-mips.c (struct mips_set_options): New ase_virt field.
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -28,8 +28,15 @@
|
||||
@cindex options for MSP430 (none)
|
||||
@table @code
|
||||
|
||||
@item -m
|
||||
select the mpu arch. Currently has no effect.
|
||||
@item -mmcu
|
||||
selects the mpu arch. If the architecture is 430Xv2 then this also
|
||||
enables NOP generation unless the @option{-mN} is also specified.
|
||||
|
||||
@ietm -mcpu
|
||||
selects the cpu architecture. If the architecture is 430Xv2 then this
|
||||
also enables NOP generation unless the @option{-mN} is also
|
||||
specified.
|
||||
|
||||
@item -mP
|
||||
enables polymorph instructions handler.
|
||||
|
||||
@ -42,13 +49,13 @@ indicates that the input uses the large code model.
|
||||
@item -mN
|
||||
disables the generation of a NOP instruction following any instruction
|
||||
that might change the interrupts enabled/disabled state. For the
|
||||
MSP430x5xx series the instructions: @code{EINT}, @code{DINT}, @code{BIC
|
||||
#8, SR}, @code{BIS #8, SR} and @code{MOV.W <>, SR} must be followed by
|
||||
a NOP instruction in order to ensure the correct processing of
|
||||
interrupts. By default generation of the NOP instruction happens
|
||||
automatically, but this command line option disables this behaviour.
|
||||
It is then up to the programmer to ensure that interrupts are enabled
|
||||
and disabled correctly.
|
||||
430Xv2 architecture the instructions: @code{EINT}, @code{DINT},
|
||||
@code{BIC #8, SR}, @code{BIS #8, SR} and @code{MOV.W <>, SR} must be
|
||||
followed by a NOP instruction in order to ensure the correct
|
||||
processing of interrupts. By default generation of the NOP
|
||||
instruction happens automatically, but this command line option
|
||||
disables this behaviour. It is then up to the programmer to ensure
|
||||
that interrupts are enabled and disabled correctly.
|
||||
|
||||
@end table
|
||||
|
||||
@ -229,10 +236,15 @@ used for the directive called @code{.app-file} in the MSP 430 support.
|
||||
This directive is ignored; it is accepted for compatibility with other
|
||||
MSP 430 assemblers.
|
||||
|
||||
@cindex @code{sect} directive, MSP 430
|
||||
@cindex @code{arch} directive, MSP 430
|
||||
@item .arch
|
||||
Currently this directive is ignored; it is accepted for compatibility with other
|
||||
MSP 430 assemblers.
|
||||
Sets the target microcontroller in the same way as the @option{-mmcu}
|
||||
command line option.
|
||||
|
||||
@cindex @code{cpu} directive, MSP 430
|
||||
@item .cpu
|
||||
Sets the target architecture in the same way as the @option{-mcpu}
|
||||
command line option.
|
||||
|
||||
@cindex @code{profiler} directive, MSP 430
|
||||
@item .profiler
|
||||
|
@ -1,3 +1,8 @@
|
||||
2013-05-16 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* gas/msp430/opcodes.s: Use correct value for .arch pseudo.
|
||||
* gas/msp430/msp430x.d: Use correct value for -mcpu option.
|
||||
|
||||
2013-05-13 Yufeng Zhang <yufeng.zhang@arm.com>
|
||||
|
||||
* gas/aarch64/diagnostic.s: Update.
|
||||
|
@ -1,6 +1,6 @@
|
||||
#objdump: -d --prefix-addresses --show-raw-insn
|
||||
#name: MSP430X instructions
|
||||
#as: -mmsp430X
|
||||
#as: -mcpu=430X
|
||||
|
||||
.*: +file format .*msp.*
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
.arch msp430x123
|
||||
.arch msp430f123
|
||||
.text
|
||||
.p2align 1,0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user