CVS: packaging/patches insight-6.7.1-msp430-20080313.patch, NONE, 1.1

Chris Liechti <[email protected]> Tue, 20 May 2008 19:11:32 -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-serv21872

Added Files:
	insight-6.7.1-msp430-20080313.patch 
Log Message:
required patch to add msp430 target to this version of insight

--- NEW FILE: insight-6.7.1-msp430-20080313.patch ---
diff -Naur insight-6.7.1.orig/bfd/archures.c insight-6.7.1/bfd/archures.c
--- insight-6.7.1.orig/bfd/archures.c	2007-07-03 16:26:39.000000000 +0200
+++ insight-6.7.1/bfd/archures.c	2008-03-13 10:33:11.000000000 +0100
@@ -374,7 +374,12 @@
 .#define bfd_mach_msp14          14
 .#define bfd_mach_msp15          15
 .#define bfd_mach_msp16          16
+.#define bfd_mach_msp20          20
 .#define bfd_mach_msp21          21
+.#define bfd_mach_msp22          22
+.#define bfd_mach_msp24          24
+.#define bfd_mach_msp241         241
+.#define bfd_mach_msp26          26
 .#define bfd_mach_msp31          31
 .#define bfd_mach_msp32          32
 .#define bfd_mach_msp33          33
diff -Naur insight-6.7.1.orig/bfd/bfd-in2.h insight-6.7.1/bfd/bfd-in2.h
--- insight-6.7.1.orig/bfd/bfd-in2.h	2007-10-25 23:38:23.000000000 +0200
+++ insight-6.7.1/bfd/bfd-in2.h	2008-03-13 10:32:49.000000000 +0100
[...11076 lines suppressed...]
+#define TARGET_EUNATCH 42
+#define TARGET_EUSERS 131
+#define TARGET_EWOULDBLOCK 11
+#define TARGET_EXDEV 18
+#define TARGET_EXFULL 52
+
+/* open flag values */
+#define TARGET_O_ACCMODE 0x3
+#define TARGET_O_APPEND 0x8
+#define TARGET_O_CREAT 0x200
+#define TARGET_O_EXCL 0x800
+#define TARGET_O_NOCTTY 0x8000
+#define TARGET_O_NONBLOCK 0x4000
+#define TARGET_O_RDONLY 0x0
+#define TARGET_O_RDWR 0x2
+#define TARGET_O_SYNC 0x2000
+#define TARGET_O_TRUNC 0x400
+#define TARGET_O_WRONLY 0x1
+
+#endif /* TARG_VALS_H */


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/