Commit: MSP430: Fix gas to allow very long function names

Nick Clifton nickc@redhat.com
Wed Aug 27 13:44:00 GMT 2014


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
 {



More information about the Binutils mailing list