This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Commit: MSP430: Fix gas to allow very long function names
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Wed, 27 Aug 2014 14:44:50 +0100
- Subject: Commit: MSP430: Fix gas to allow very long function names
- Authentication-results: sourceware.org; auth=none
Hi Guys,
I am checking in the patch below to fix gas for the MSP430 so that it
will not barf ob very long section names. The patch was first
proposed in this email thread:
http://forum.43oh.com/topic/5760-gcc-for-msp430-officially-out-of-beta/?p=50374
Cheers
Nick
gas/ChangeLog
2014-08-27 Nick Clifton <nickc@redhat.com>
* config/tc-msp430.c (MAX_OP_LEN): Increase to 4096 to allow for
long C++ template names.
diff --git a/gas/config/tc-msp430.c b/gas/config/tc-msp430.c
index 1398b8c..2bffc4d 100644
--- a/gas/config/tc-msp430.c
+++ b/gas/config/tc-msp430.c
@@ -255,7 +255,7 @@ relax_typeS md_relax_table[] =
};
-#define MAX_OP_LEN 256
+#define MAX_OP_LEN 4096
typedef enum msp_isa
{