diff options
Diffstat (limited to 'recipes-devtools/odcctools/files/odcctools-9.2_p287-as.patch')
-rw-r--r-- | recipes-devtools/odcctools/files/odcctools-9.2_p287-as.patch | 200 |
1 files changed, 200 insertions, 0 deletions
diff --git a/recipes-devtools/odcctools/files/odcctools-9.2_p287-as.patch b/recipes-devtools/odcctools/files/odcctools-9.2_p287-as.patch new file mode 100644 index 0000000..0796364 --- /dev/null +++ b/recipes-devtools/odcctools/files/odcctools-9.2_p287-as.patch @@ -0,0 +1,200 @@ +Index: as/md.h +=================================================================== +--- as/md.h (revision 287) ++++ as/md.h (working copy) +@@ -19,13 +19,12 @@ + in a file named COPYING. Among other things, the copyright + notice and this notice must be preserved on all copies. */ + +-#import <mach/machine.h> +-#import "stuff/bytesex.h" +-#import "frags.h" +-#import "relax.h" +-#import "struc-symbol.h" +-#import "fixes.h" +-#import "read.h" ++#include <mach/machine.h> ++#include "stuff/bytesex.h" ++#include "frags.h" ++#include "struc-symbol.h" ++#include "fixes.h" ++#include "read.h" + + /* These are the default cputype and cpusubtype for this target MACHINE */ + extern const cpu_type_t md_cputype; +Index: as/frags.h +=================================================================== +--- as/frags.h (revision 287) ++++ as/frags.h (working copy) +@@ -19,9 +19,9 @@ + along with GAS; see the file COPYING. If not, write to + the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + +-#import "as.h" +-#import "relax.h" +-#import "struc-symbol.h" ++#include "as.h" ++#include "relax.h" ++#include "struc-symbol.h" + + /* + * A code fragment (frag) is some known number of chars, followed by some +Index: as/read.h +=================================================================== +--- as/read.h (revision 287) ++++ as/read.h (working copy) +@@ -19,7 +19,7 @@ + along with GAS; see the file COPYING. If not, write to + the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + +-#import "expr.h" ++#include "expr.h" + + /* Define to make whitespace be allowed in many syntactically + unnecessary places. Normally undefined. For compatibility with +Index: as/app.h +=================================================================== +--- as/app.h (revision 287) ++++ as/app.h (working copy) +@@ -1,4 +1,4 @@ +-#import <stdio.h> ++#include <stdio.h> + + extern FILE *scrub_file; + extern char *scrub_string; +Index: as/flonum.h +=================================================================== +--- as/flonum.h (revision 287) ++++ as/flonum.h (working copy) +@@ -32,7 +32,7 @@ + * * + \***********************************************************************/ + +-#import "bignum.h" ++#include "bignum.h" + + /***********************************************************************\ + * * +Index: as/struc-symbol.h +=================================================================== +--- as/struc-symbol.h (revision 287) ++++ as/struc-symbol.h (working copy) +@@ -21,7 +21,7 @@ + + #ifdef NeXT_MOD + #include "arch64_32.h" +-#import <mach-o/nlist.h> ++#include <mach-o/nlist.h> + #else /* !defined(NeXT_MOD) */ + #ifndef VMS + #include "a.out.h" /* Needed to define struct nlist. Sigh. */ +Index: as/write_object.c +=================================================================== +--- as/write_object.c (revision 287) ++++ as/write_object.c (working copy) +@@ -1,3 +1,4 @@ ++#include <unistd.h> + #include <stdlib.h> + #include <string.h> + #include <ctype.h> +Index: as/expr.h +=================================================================== +--- as/expr.h (revision 287) ++++ as/expr.h (working copy) +@@ -20,9 +20,8 @@ + the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + + #include "as.h" +-#import "struc-symbol.h" +-#import "bignum.h" +-#import "flonum.h" ++#include "struc-symbol.h" ++#include "flonum.h" + + enum { + /* FROM expr.h line 46 */ +Index: as/atof-ieee.h +=================================================================== +--- as/atof-ieee.h (revision 287) ++++ as/atof-ieee.h (working copy) +@@ -1,4 +1,4 @@ +-#import "flonum.h" ++#include "flonum.h" + + extern char *atof_ieee( + char *str, +Index: as/as.h +=================================================================== +--- as/as.h (revision 287) ++++ as/as.h (working copy) +@@ -49,11 +49,11 @@ + */ + #undef SUSPECT + +-/* These #imports are for type definitions etc. */ ++/* These #includes are for type definitions etc. */ + #include <stdint.h> +-#import <stdio.h> +-#import <assert.h> +-#import <mach/machine.h> ++#include <stdio.h> ++#include <assert.h> ++#include <mach/machine.h> + + /* These defines are potentially useful */ + #undef FALSE +Index: as/sections.c +=================================================================== +--- as/sections.c (revision 287) ++++ as/sections.c (working copy) +@@ -24,6 +24,8 @@ + * Mach-O sections are chains of fragments. + */ + #include <stdlib.h> ++#include <stdio.h> ++#include <string.h> + #include <strings.h> + #include "sections.h" + #include "obstack.h" +Index: as/driver.c +=================================================================== +--- as/driver.c (revision 287) ++++ as/driver.c (working copy) +@@ -9,6 +9,7 @@ + #include "stdio.h" + #include "stdlib.h" + #include "string.h" ++#include <unistd.h> + #include <sys/param.h> + #include <sys/file.h> + #include <mach/mach.h> +Index: as/sections.h +=================================================================== +--- as/sections.h (revision 287) ++++ as/sections.h (working copy) +@@ -17,8 +17,8 @@ + along with GAS; see the file COPYING. If not, write to + the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + +-#import <mach-o/loader.h> +-#import "struc-symbol.h" ++#include <mach-o/loader.h> ++#include "struc-symbol.h" + + /* + * For every section the user mentions in the assembley program, we make one +Index: as/symbols.h +=================================================================== +--- as/symbols.h (revision 287) ++++ as/symbols.h (working copy) +@@ -17,8 +17,8 @@ + along with GAS; see the file COPYING. If not, write to + the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + +-#import "struc-symbol.h" +-#import "hash.h" ++#include "struc-symbol.h" ++#include "hash.h" + + extern struct hash_control *sy_hash; + extern struct obstack notes; |