aboutsummaryrefslogtreecommitdiff
path: root/bfd/pef.c
diff options
context:
space:
mode:
authorKlee Dienes <kdienes@apple.com>2002-11-15 08:38:38 +0000
committerKlee Dienes <kdienes@apple.com>2002-11-15 08:38:38 +0000
commiteddc4f813f72608685e5e301d0980bbc60d7f653 (patch)
tree29c3bd261f9a9b6b340a09b322a7b1e6b01ca195 /bfd/pef.c
parent2fa1f77a2881ef6015a9acb8ab174af2dd7a553b (diff)
downloadgdb-eddc4f813f72608685e5e301d0980bbc60d7f653.zip
gdb-eddc4f813f72608685e5e301d0980bbc60d7f653.tar.gz
gdb-eddc4f813f72608685e5e301d0980bbc60d7f653.tar.bz2
2002-11-15 Klee Dienes <kdienes@apple.com>
* pef.c (bfd_pef_convert_architecture): Move declaration ARCH_POWERPC and ARCH_M68K to the start of the function.
Diffstat (limited to 'bfd/pef.c')
-rw-r--r--bfd/pef.c6
1 files changed, 3 insertions, 3 deletions
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)