summaryrefslogtreecommitdiff
path: root/src/cmd/6l
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/6l')
-rw-r--r--src/cmd/6l/asm.c46
-rw-r--r--src/cmd/6l/l.h1
2 files changed, 1 insertions, 46 deletions
diff --git a/src/cmd/6l/asm.c b/src/cmd/6l/asm.c
index d6ffa4ff9..d179e77b1 100644
--- a/src/cmd/6l/asm.c
+++ b/src/cmd/6l/asm.c
@@ -63,52 +63,6 @@ entryvalue(void)
return s->value;
}
-void
-wputl(uint16 w)
-{
- cput(w);
- cput(w>>8);
-}
-
-void
-wputb(uint16 w)
-{
- cput(w>>8);
- cput(w);
-}
-
-void
-lputb(int32 l)
-{
- cput(l>>24);
- cput(l>>16);
- cput(l>>8);
- cput(l);
-}
-
-void
-vputb(uint64 v)
-{
- lputb(v>>32);
- lputb(v);
-}
-
-void
-lputl(int32 l)
-{
- cput(l);
- cput(l>>8);
- cput(l>>16);
- cput(l>>24);
-}
-
-void
-vputl(uint64 v)
-{
- lputl(v);
- lputl(v>>32);
-}
-
vlong
datoff(vlong addr)
{
diff --git a/src/cmd/6l/l.h b/src/cmd/6l/l.h
index 7f22493e0..70473ecd2 100644
--- a/src/cmd/6l/l.h
+++ b/src/cmd/6l/l.h
@@ -429,6 +429,7 @@ vlong rnd(vlong, vlong);
void span(void);
void undef(void);
vlong symaddr(Sym*);
+void vputb(uint64);
void vputl(uint64);
void wputb(uint16);
void wputl(uint16);