aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/odcctools/files/odcctools-9.2_p287-as.patch
blob: 0796364e392202480c2ec3dce1b2770a72fa1e1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
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;