* config/tc-ppc.c (ppc_cleanup): Use bytes to count APUinfo slots.
authorMark Mitchell <mark@codesourcery.com>
Tue, 24 Jun 2003 06:41:56 +0000 (06:41 +0000)
committerMark Mitchell <mark@codesourcery.com>
Tue, 24 Jun 2003 06:41:56 +0000 (06:41 +0000)
gas/ChangeLog
gas/config/tc-ppc.c

index 04997b0..ce9a6ab 100644 (file)
@@ -1,3 +1,7 @@
+2003-06-23  Mark Mitchell  <mark@codesourcery.com>
+
+       * config/tc-ppc.c (ppc_cleanup): Use bytes to count APUinfo slots.
+
 2003-06-23  H.J. Lu <hongjiu.lu@intel.com>
 
        * gas/config/tc-i386.c (md_assemble): Support Intel Precott New
index 80146b7..1cc201a 100644 (file)
@@ -1342,7 +1342,7 @@ ppc_cleanup ()
     md_number_to_chars (p, (valueT) 8, 4);
 
     p = frag_more (4);
-    md_number_to_chars (p, (valueT) ppc_apuinfo_num, 4);
+    md_number_to_chars (p, (valueT) ppc_apuinfo_num * 4, 4);
 
     p = frag_more (4);
     md_number_to_chars (p, (valueT) 2, 4);