From eddc4f813f72608685e5e301d0980bbc60d7f653 Mon Sep 17 00:00:00 2001 From: Klee Dienes Date: Fri, 15 Nov 2002 08:38:38 +0000 Subject: 2002-11-15 Klee Dienes * pef.c (bfd_pef_convert_architecture): Move declaration ARCH_POWERPC and ARCH_M68K to the start of the function. --- bfd/pef.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bfd/pef.c') diff --git a/bfd/pef.c b/bfd/pef.c index 8273045..2f12028 100644 --- a/bfd/pef.c +++ b/bfd/pef.c @@ -142,12 +142,12 @@ bfd_pef_convert_architecture (architecture, type, subtype) enum bfd_architecture *type; unsigned long *subtype; { - *subtype = bfd_arch_unknown; - *type = bfd_arch_unknown; - const unsigned long ARCH_POWERPC = 0x70777063; /* 'pwpc' */ const unsigned long ARCH_M68K = 0x6d36386b; /* 'm68k' */ + *subtype = bfd_arch_unknown; + *type = bfd_arch_unknown; + if (architecture == ARCH_POWERPC) *type = bfd_arch_powerpc; else if (architecture == ARCH_M68K) -- cgit v1.1