shithub: scc

Download patch

ref: 15d3cccf394c8c68e3d6e8311c3b50910ad23f91
parent: c4f7f014ec27b9c5495b088642c6a6dfb8161340
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sat Sep 21 07:26:37 EDT 2019

[as-powerpc] Change pack_emit() to emit_packed()

Emit_packed() has the correct English meaning for the purpouse of
the function.

--- a/src/cmd/as/target/powerpc/ins.c
+++ b/src/cmd/as/target/powerpc/ins.c
@@ -112,7 +112,7 @@
 }
 
 static void
-pack_emit(unsigned long ins)
+emit_packed(unsigned long ins)
 {
 	char buff[4];
 
@@ -149,7 +149,7 @@
 	li = dst >> 2;
 
 	ins = opcd<<26 | li<<2 | aa<<1 | lk;
-	pack_emit(ins);
+	emit_packed(ins);
 }
 
 void