From e98d298cda0b56de2678425854788bb88e7091c8 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Tue, 24 Jun 2003 06:41:56 +0000 Subject: [PATCH] * config/tc-ppc.c (ppc_cleanup): Use bytes to count APUinfo slots. --- gas/ChangeLog | 4 ++++ gas/config/tc-ppc.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 04997b0f9bf..ce9a6ab9303 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2003-06-23 Mark Mitchell + + * config/tc-ppc.c (ppc_cleanup): Use bytes to count APUinfo slots. + 2003-06-23 H.J. Lu * 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 80146b7308a..1cc201a3585 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); -- 2.30.2