CVS: packaging/patches binutils-2.18-430X.patch, NONE, 1.1 gdb-6.8-430X.patch, NONE, 1.1

"Sergey A. Borshch" <[email protected]> Mon, 15 Sep 2008 03:13:17 -0700
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/packaging/patches
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv20273/patches

Added Files:
	binutils-2.18-430X.patch gdb-6.8-430X.patch 
Log Message:
430X support patches for binutils-2.18 & gdb/insight-6.8
* support for 430X extended and address instructions including .rpt pseudo-op
* ld scripts: 430xG4616, 430xG4617 flash start address fixed
* ld scripts: fartext region and .fartext section added for code at addresses above 0xffff to 430X CPU's
* ld scripts: vectors region size and __stack value (= end of ram) calculated automatically
* as: operands count check fixed
* as: CPU4 workaround applies to CPU's with CPU4 bug.
* some (non-430X) missed CPUs added.

--- NEW FILE: binutils-2.18-430X.patch ---
diff -ru binutils-2.18.orig/bfd/archures.c binutils-2.18/bfd/archures.c
--- binutils-2.18.orig/bfd/archures.c	Sun Aug 10 11:37:28 2008
+++ binutils-2.18/bfd/archures.c	Wed Aug 27 03:27:27 2008
@@ -377,6 +377,7 @@
 .#define bfd_mach_msp20          20
 .#define bfd_mach_msp21          21
 .#define bfd_mach_msp22          22
+.#define bfd_mach_msp23          23
 .#define bfd_mach_msp24          24
 .#define bfd_mach_msp241         241
 .#define bfd_mach_msp26          26
@@ -388,6 +389,8 @@
 .#define bfd_mach_msp43          43
 .#define bfd_mach_msp44          44
 .#define bfd_mach_msp46          46
+.#define bfd_mach_msp47          47
+.#define bfd_mach_msp54          54
 .  bfd_arch_xc16x,     {* Infineon's XC16X Series.               *}
 .#define bfd_mach_xc16x         1
[...6039 lines suppressed...]
-      if (*op2)
-	(*prin) (stream, ";");
-      else
-	{
-	  if (strlen (op1) < 7)
-	    (*prin) (stream, ";");
-	  else
-	    (*prin) (stream, "\t;");
-	}
-    }
   if (*comm1)
     (*prin) (stream, "%s", comm1);
   if (*comm1 && *comm2)
-    (*prin) (stream, ",");
+    (*prin) (stream, ", ");
   if (*comm2)
-    (*prin) (stream, " %s", comm2);
+    (*prin) (stream, "%s", comm2);
   return cmd_len;
 }

--- NEW FILE: gdb-6.8-430X.patch ---
diff -ru gdb-6.8.orig/bfd/archures.c gdb-6.8/bfd/archures.c
--- gdb-6.8.orig/bfd/archures.c	Sun Sep 14 01:28:25 2008
+++ gdb-6.8/bfd/archures.c	Sun Sep 14 01:50:52 2008
@@ -383,6 +383,7 @@
 .#define bfd_mach_msp20          20
 .#define bfd_mach_msp21          21
 .#define bfd_mach_msp22          22
+.#define bfd_mach_msp23          23
 .#define bfd_mach_msp24          24
 .#define bfd_mach_msp241         241
 .#define bfd_mach_msp26          26
@@ -393,6 +394,9 @@
 .#define bfd_mach_msp42          42
 .#define bfd_mach_msp43          43
 .#define bfd_mach_msp44          44
+.#define bfd_mach_msp46          46
+.#define bfd_mach_msp47          47
+.#define bfd_mach_msp54          54
 .  bfd_arch_xc16x,     {* Infineon's XC16X Series.               *}
[...2473 lines suppressed...]
-      if (*op2)
-	(*prin) (stream, ";");
-      else
-	{
-	  if (strlen (op1) < 7)
-	    (*prin) (stream, ";");
-	  else
-	    (*prin) (stream, "\t;");
-	}
-    }
   if (*comm1)
     (*prin) (stream, "%s", comm1);
   if (*comm1 && *comm2)
-    (*prin) (stream, ",");
+    (*prin) (stream, ", ");
   if (*comm2)
-    (*prin) (stream, " %s", comm2);
+    (*prin) (stream, "%s", comm2);
   return cmd_len;
 }


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/