This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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
 {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]