CVS: binutils binutils-14x1-20x1-20x2-20x3-22x4-42x-42x0-461x.patch, 1.6, 1.7

Steve Underwood <[email protected]> Fri, 17 Nov 2006 05:28:44 -0800
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/binutils
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv6978/binutils

Modified Files:
	binutils-14x1-20x1-20x2-20x3-22x4-42x-42x0-461x.patch 
Log Message:
Fixed objdump so it dumps the interrupt table in the FG461x devices properly


Index: binutils-14x1-20x1-20x2-20x3-22x4-42x-42x0-461x.patch
===================================================================
RCS file: /cvsroot/mspgcc/binutils/binutils-14x1-20x1-20x2-20x3-22x4-42x-42x0-461x.patch,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- binutils-14x1-20x1-20x2-20x3-22x4-42x-42x0-461x.patch	15 Nov 2006 16:27:54 -0000	1.6
+++ binutils-14x1-20x1-20x2-20x3-22x4-42x-42x0-461x.patch	17 Nov 2006 13:28:41 -0000	1.7
@@ -2201,3 +2201,20 @@
  
  SECTIONS
  {
+--- binutils-060402/opcodes/msp430-dis.c	2006-11-17 21:10:59.000000000 +0800
++++ binutils-060402.orig/opcodes/msp430-dis.c	2005-07-01 19:16:32.000000000 +0800
+@@ -675,11 +675,13 @@
+   char dinfo[32];		/* Debug purposes.  */
+ 
+   insn = msp430dis_opcode (addr, info);
+   sprintf (dinfo, "0x%04x", insn);
+ 
+-  if (((int) addr & 0xffff) > 0xffdf)
++  if (((int) addr & 0xffff) >= 0xffe0
++      ||
++      (info->mach == 46  &&  ((int) addr & 0xffff) >= 0xffc0))
+     {
+       (*prin) (stream, "interrupt service routine at 0x%04x", 0xffff & insn);
+       return 2;
+     }
+ 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV