ref: 9b6ce51c29d3c80f104612e00fdb5e8ffca7a632
parent: d5ad891811200cc68b5f712f05f30573cfe3fe53
author: Ori Bernstein <[email protected]>
date: Fri Dec 26 09:49:25 EST 2014
Fix a few typos.
--- a/6/isel.c
+++ b/6/isel.c
@@ -494,12 +494,11 @@
Loc *selexpr(Isel *s, Node *n)
{
Loc *a, *b, *c, *d, *r;
- Loc *eax, *edx, *cl; /* x86 wants some hard-coded regs */
+ Loc *edx, *cl; /* x86 wants some hard-coded regs */
Node **args;
size_t al;
args = n->expr.args;
- eax = locphysreg(Reax);
edx = locphysreg(Redx);
cl = locphysreg(Rcl);
r = NULL;
--- a/configure
+++ b/configure
@@ -39,7 +39,7 @@
echo '#define Arcmd {"ar", "-rcs", NULL}' >> config.h
echo '#define Ldcmd {"ld", "-o", NULL}' >> config.h
echo '#define Defaultasm Gnugas' >> config.h
-echo '#define Objsuffix "o"' >> config.h
+echo '#define Objsuffix ".o"' >> config.h
echo 'export SYSCLASS=posixy' >> config.mk
case $OS in
*Linux*)
--- a/doc/mkfile
+++ b/doc/mkfile
@@ -5,6 +5,9 @@
all:V: $MANS
-install:V:
- echo -n ''
+install:V: $MANS
+
+nuke:V: $MANS
+
+clean:V: $MANS
--- a/myrbuild/myrbuild.c
+++ b/myrbuild/myrbuild.c
@@ -507,7 +507,6 @@
int main(int argc, char **argv)
{
struct utsname name;
- char buf[512];
char **stack;
size_t nstack;
Optctx ctx;
--- a/rt/mkfile
+++ b/rt/mkfile
@@ -10,4 +10,6 @@
cp _myrrt.$O /$objtype/lib/myr
clean:V:
- rm -f _myrrt.$O
\ No newline at end of file
+ rm -f _myrrt.$O
+
+nuke:V: clean
\ No newline at end of file