diff options
author | Klee Dienes <kdienes@apple.com> | 2002-11-15 08:38:38 +0000 |
---|---|---|
committer | Klee Dienes <kdienes@apple.com> | 2002-11-15 08:38:38 +0000 |
commit | 43ff3a8356b68c123b8f2b2717ea9b9890982acf (patch) | |
tree | a72cd952e1356ee16b0c1d746ac036490eaebf5a /bfd/pef.c | |
parent | 84cc5544b74abcbb293c94b6a20b68a4b5700f6c (diff) | |
download | gdb-43ff3a8356b68c123b8f2b2717ea9b9890982acf.tar.gz |
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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/pef.c b/bfd/pef.c index 8273045ae6f..2f120285ace 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) |