mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Add workaround for hardware bug of some MSP430 units.
Obtained from: Target maintainers.
This commit is contained in:
parent
425fe02c5a
commit
f174ec8b14
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86118
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= binutils
|
||||
PORTVERSION= ${BINUTILVERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
|
||||
MASTER_SITE_SUBDIR= binutils/releases
|
||||
|
37
devel/msp430-binutils/files/patch-gas::config::tc-msp430.c
Normal file
37
devel/msp430-binutils/files/patch-gas::config::tc-msp430.c
Normal file
@ -0,0 +1,37 @@
|
||||
--- gas/config/tc-msp430.c.orig Fri Aug 1 16:52:38 2003
|
||||
+++ gas/config/tc-msp430.c Fri Aug 1 17:00:31 2003
|
||||
@@ -186,6 +186,8 @@
|
||||
" msp430x1101 msp430x1111\n"
|
||||
" msp430x1121 msp430x1122 msp430x1132\n"
|
||||
" msp430x122 msp430x123\n"
|
||||
+ " msp430x1222 msp430x1232\n"
|
||||
+ " msp430x133 msp430x135\n"
|
||||
" msp430x1331 msp430x1351\n"
|
||||
" msp430x147 msp430x148 msp430x149\n"
|
||||
" msp430x155 msp430x156 msp430x157\n"
|
||||
@@ -979,11 +981,7 @@
|
||||
else if (x == 4)
|
||||
{
|
||||
#ifdef PUSH_1X_WORKAROUND
|
||||
- if (bin == 0x1200
|
||||
- && (msp430_mcu->isa == MSP430_ISA_11
|
||||
- || msp430_mcu->isa == MSP430_ISA_12
|
||||
- || msp430_mcu->isa == MSP430_ISA_13
|
||||
- || msp430_mcu->isa == MSP430_ISA_14))
|
||||
+ if (bin == 0x1200)
|
||||
{
|
||||
/* Remove warning as confusing.
|
||||
as_warn(_("Hardware push bug workaround")); */
|
||||
@@ -1000,11 +998,7 @@
|
||||
else if (x == 8)
|
||||
{
|
||||
#ifdef PUSH_1X_WORKAROUND
|
||||
- if (bin == 0x1200
|
||||
- && (msp430_mcu->isa == MSP430_ISA_11
|
||||
- || msp430_mcu->isa == MSP430_ISA_12
|
||||
- || msp430_mcu->isa == MSP430_ISA_13
|
||||
- || msp430_mcu->isa == MSP430_ISA_14))
|
||||
+ if (bin == 0x1200)
|
||||
{
|
||||
/* Remove warning as confusing.
|
||||
as_warn(_("Hardware push bug workaround")); */
|
Loading…
Reference in New Issue
Block a user