aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2003-06-24 06:41:56 +0000
committerMark Mitchell <mark@codesourcery.com>2003-06-24 06:41:56 +0000
commite98d298cda0b56de2678425854788bb88e7091c8 (patch)
tree7076d3405594c7bdefec20542f75727c217cd1b4
parent88810f8cd12415fc0cbd6cbc2fc42598d7548401 (diff)
downloadgdb-e98d298cda0b56de2678425854788bb88e7091c8.zip
gdb-e98d298cda0b56de2678425854788bb88e7091c8.tar.gz
gdb-e98d298cda0b56de2678425854788bb88e7091c8.tar.bz2
* config/tc-ppc.c (ppc_cleanup): Use bytes to count APUinfo slots.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-ppc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 04997b0..ce9a6ab 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 80146b7..1cc201a 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -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);