* 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.
This commit is contained in:
Alan Modra
2002-08-30 08:11:44 +00:00
parent c860120cad
commit 37f45cf898
6 changed files with 74 additions and 57 deletions

View File

@@ -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