diff options
author | Alan Modra <amodra@bigpond.net.au> | 2002-08-30 08:11:44 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2002-08-30 08:11:44 +0000 |
commit | 4c05417cb0f4183f34868b20c9ec4356a038fa13 (patch) | |
tree | 4d178e23b011757656057f07095e40e5dea3c337 /bfd/cpu-avr.c | |
parent | 2d58548044f8a512cf8f784204b7f307816b390b (diff) | |
download | binutils-redhat-4c05417cb0f4183f34868b20c9ec4356a038fa13.tar.gz |
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* cpu-avr.c (compatible): Don't use hard-coded mach constants.
* cpu-powerpc.c (powerpc_compatible): Likewise.
* cpu-rs6000.c (rs6000_compatible): Likewise.
Diffstat (limited to 'bfd/cpu-avr.c')
-rw-r--r-- | bfd/cpu-avr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/cpu-avr.c b/bfd/cpu-avr.c index 1ca48e744e..b623790cac 100644 --- a/bfd/cpu-avr.c +++ b/bfd/cpu-avr.c @@ -76,8 +76,8 @@ compatible (a,b) return NULL; /* Special case for ATmega[16]03 (avr:3) and ATmega83 (avr:4). */ - if ((a->mach == 3 && b->mach == 4) - || (a->mach == 4 && b->mach == 3)) + if ((a->mach == bfd_mach_avr3 && b->mach == bfd_mach_avr4) + || (a->mach == bfd_mach_avr4 && b->mach == bfd_mach_avr3)) return NULL; /* So far all newer AVR architecture cores are supersets of previous |