public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae063bd
)
Several fixes
author
ceriel
<none@none>
Fri, 25 Oct 1991 11:13:43 +0000
(11:13 +0000)
committer
ceriel
<none@none>
Fri, 25 Oct 1991 11:13:43 +0000
(11:13 +0000)
mach/m68020/as/mach1.c
patch
|
blob
|
history
mach/m68020/as/mach5.c
patch
|
blob
|
history
diff --git
a/mach/m68020/as/mach1.c
b/mach/m68020/as/mach1.c
index
48a019b
..
05c6b14
100644
(file)
--- a/
mach/m68020/as/mach1.c
+++ b/
mach/m68020/as/mach1.c
@@
-69,9
+69,9
@@
struct instr_t {
#endif
};
typedef struct instr_t instr_t;
-
instr_t instr[30];
/* temporary area for instructions */
-
instr_t *instrp;
/* index into instr[] */
-int dot_offset;
+
extern instr_t instr[30];
/* temporary area for instructions */
+
extern instr_t *instrp;
/* index into instr[] */
+
extern
int dot_offset;
/* flags used when reading effective addresses */
#define INDEX 0300
diff --git
a/mach/m68020/as/mach5.c
b/mach/m68020/as/mach5.c
index
93826e7
..
687988a
100644
(file)
--- a/
mach/m68020/as/mach5.c
+++ b/
mach/m68020/as/mach5.c
@@
-51,7
+51,8
@@
short word;
instrp->i_relotype = relotype;
}
#endif
- instrp++->i_word = word;
+ instrp->i_word = word;
+ instrp++;
dot_offset += 2;
}