]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
sim: cr16/d10v: move storage out of header
authorMike Frysinger <vapier@gentoo.org>
Sat, 9 Jan 2021 08:10:52 +0000 (03:10 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 9 Jan 2021 14:39:17 +0000 (09:39 -0500)
commit7eb99e5e27eebaf4a4acd469ad0856c0b35d80b3
tree4ae7fa2d590cec9e63da42f6fe9070f79092b4bf
parentf074c07d8d4d36d2712117eace2e4db48d544291
sim: cr16/d10v: move storage out of header

These ports declare their State variable in a header and then include
multiple times.  This causes linker errors with newer gcc due to the
change in -fno-common behavior.  Move the storage to a C file so we
only have one instance of it in the final program.
sim/cr16/ChangeLog
sim/cr16/cr16_sim.h
sim/cr16/interp.c
sim/d10v/ChangeLog
sim/d10v/d10v_sim.h
sim/d10v/interp.c