summaryrefslogtreecommitdiff
path: root/sim/mips
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-12-24 21:29:55 -0500
committerMike Frysinger <vapier@gentoo.org>2022-12-24 22:13:56 -0500
commit23ddbd2f2bfc6ab17afb805a70f145ee7af524ea (patch)
tree83ac409c70ef32e133d81fa249e5b9aae398523e /sim/mips
parentabc494c65d640626891408d551a0fe1842e728e3 (diff)
downloadbinutils-gdb-23ddbd2f2bfc6ab17afb805a70f145ee7af524ea.tar.gz
sim: mips: clean up a bit after mips/configure removal
Now that there is no subdir configure script, we can clean up some logic that was spread between the files.
Diffstat (limited to 'sim/mips')
-rw-r--r--sim/mips/Makefile.in6
-rw-r--r--sim/mips/acinclude.m4 (renamed from sim/mips/acinclude-top.m4)2
2 files changed, 3 insertions, 5 deletions
diff --git a/sim/mips/Makefile.in b/sim/mips/Makefile.in
index 0e2f1057530..c287a632ae7 100644
--- a/sim/mips/Makefile.in
+++ b/sim/mips/Makefile.in
@@ -77,10 +77,10 @@ SIM_OBJS = \
sim-resume.o \
# List of flags to always pass to $(CC).
-SIM_EXTRA_CFLAGS = $(SIM_MIPS_SUBTARGET)
+SIM_EXTRA_CFLAGS = @SIM_MIPS_SUBTARGET@
-SIM_BITSIZE = $(SIM_MIPS_BITSIZE)
-SIM_FLOAT = -DWITH_FLOATING_POINT=HARD_FLOATING_POINT -DWITH_TARGET_FLOATING_POINT_BITSIZE=$(SIM_MIPS_FPU_BITSIZE)
+SIM_BITSIZE = -DWITH_TARGET_WORD_BITSIZE=@SIM_MIPS_BITSIZE@ -DWITH_TARGET_WORD_MSB=WITH_TARGET_WORD_BITSIZE-1
+SIM_FLOAT = -DWITH_FLOATING_POINT=HARD_FLOATING_POINT -DWITH_TARGET_FLOATING_POINT_BITSIZE=@SIM_MIPS_FPU_BITSIZE@
SIM_EXTRA_CLEAN = clean-extra
SIM_EXTRA_DISTCLEAN = distclean-extra
diff --git a/sim/mips/acinclude-top.m4 b/sim/mips/acinclude.m4
index ca11a2784b3..0a8bf97ba85 100644
--- a/sim/mips/acinclude-top.m4
+++ b/sim/mips/acinclude.m4
@@ -1,5 +1,3 @@
-dnl TODO: Rename this to acinclude.m4 once mips/configure is removed.
-dnl
dnl Copyright (C) 2005-2022 Free Software Foundation, Inc.
dnl
dnl This program is free software; you can redistribute it and/or modify