+2021-05-01 Mike Frysinger <vapier@gentoo.org>
+
+ * Makefile.in (SIM_OBJS): Change armemu26.o to armemu.o.
+ (armemu26.o, armemu32.o): Delete targets.
+ * armemu32.c: New file.
+
2021-04-26 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.
SIM_OBJS = \
wrapper.o \
$(SIM_NEW_COMMON_OBJS) \
- armemu26.o armemu32.o arminit.o armos.o armsupp.o \
+ armemu.o armemu32.o arminit.o armos.o armsupp.o \
armvirt.o thumbemu.o \
armcopro.o maverick.o iwmmxt.o
## COMMON_POST_CONFIG_FRAG
-
-armemu26.o: armemu.c
- $(COMPILE) $(srcdir)/armemu.c
- $(POSTCOMPILE)
-
-armemu32.o: armemu.c
- $(COMPILE) -DMODE32 $(srcdir)/armemu.c
- $(POSTCOMPILE)
--- /dev/null
+/* Build armemu.c with ARM32 support.
+ Copyright (C) 1995-2021 Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses/>. */
+
+#define MODE32
+#include "armemu.c"