From e98d298cda0b56de2678425854788bb88e7091c8 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Tue, 24 Jun 2003 06:41:56 +0000 Subject: * 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(-) (limited to 'gas') 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 + + * 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 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); -- cgit v1.1