]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
sim: bfin: split out common mach/model defines into arch.h [PR sim/20438]
authorMike Frysinger <vapier@gentoo.org>
Mon, 8 Aug 2016 05:06:49 +0000 (13:06 +0800)
committerMike Frysinger <vapier@gentoo.org>
Sat, 13 Aug 2016 19:50:35 +0000 (12:50 -0700)
commit253daf2f8e1d136d8bfd591d711e63832f507235
treebff95d27d285dd87fbf018d33d6a021a2d00c970
parentee3c3ee2f7d790df570fda0335ba977749515236
sim: bfin: split out common mach/model defines into arch.h [PR sim/20438]

The current machs.h mixes common enums with Blackfin-specific defines.
This causes us troubles with header inclusion order such that we can't
drop the old SIM_CPU typedef (which is duplicated in common code).  By
splitting the two up, we can unwind this dependency chain, and drop the
old typedef.  It also fixes building with older gcc versions.
sim/bfin/ChangeLog
sim/bfin/arch.h [new file with mode: 0644]
sim/bfin/machs.h
sim/bfin/sim-main.h