aboutsummaryrefslogtreecommitdiff
path: root/sim/riscv
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-15 22:45:07 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-20 00:12:11 -0400
commitd73f39ee4309d340b97974e49f34e24b8b93fc61 (patch)
tree18d6d1500fd767acdffdcef39a9ef97fde27c337 /sim/riscv
parent406b4ada55b2957c10fedaeaada801e77912d976 (diff)
downloadgdb-d73f39ee4309d340b97974e49f34e24b8b93fc61.zip
gdb-d73f39ee4309d340b97974e49f34e24b8b93fc61.tar.gz
gdb-d73f39ee4309d340b97974e49f34e24b8b93fc61.tar.bz2
sim: move sim-inline to the common code
This will allow us to build the common code with the same inline settings as the arch subdirs, and only do the test once.
Diffstat (limited to 'sim/riscv')
-rw-r--r--sim/riscv/ChangeLog5
-rw-r--r--sim/riscv/aclocal.m41
-rwxr-xr-xsim/riscv/configure35
3 files changed, 5 insertions, 36 deletions
diff --git a/sim/riscv/ChangeLog b/sim/riscv/ChangeLog
index 813a2a8..9ef700f 100644
--- a/sim/riscv/ChangeLog
+++ b/sim/riscv/ChangeLog
@@ -1,3 +1,8 @@
+2021-06-20 Mike Frysinger <vapier@gentoo.org>
+
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+
2021-06-19 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4: Regenerate.
diff --git a/sim/riscv/aclocal.m4 b/sim/riscv/aclocal.m4
index 3ef6ace..9d2e2cb 100644
--- a/sim/riscv/aclocal.m4
+++ b/sim/riscv/aclocal.m4
@@ -103,5 +103,4 @@ m4_include([../m4/sim_ac_common.m4])
m4_include([../m4/sim_ac_option_bitsize.m4])
m4_include([../m4/sim_ac_option_default_model.m4])
m4_include([../m4/sim_ac_option_hardware.m4])
-m4_include([../m4/sim_ac_option_inline.m4])
m4_include([../m4/sim_ac_output.m4])
diff --git a/sim/riscv/configure b/sim/riscv/configure
index 7330cb1..05a700d 100755
--- a/sim/riscv/configure
+++ b/sim/riscv/configure
@@ -629,7 +629,6 @@ PACKAGE_TARNAME
PACKAGE_NAME
PATH_SEPARATOR
SHELL
-sim_inline
sim_hw
sim_hw_objs
sim_hw_cflags
@@ -639,7 +638,6 @@ ac_subst_files=''
ac_user_opts='
enable_option_checking
enable_maintainer_mode
-enable_sim_inline
enable_sim_default_model
enable_sim_bitsize
enable_sim_hardware
@@ -1257,8 +1255,6 @@ Optional Features:
--enable-maintainer-mode
enable make rules and dependencies not useful (and
sometimes confusing) to the casual installer
- --enable-sim-inline=inlines
- Specify which functions should be inlined
--enable-sim-default-model=model
Specify default model to simulate
--enable-sim-bitsize=N Specify target bitsize (32 or 64)
@@ -1723,37 +1719,6 @@ fi
-sim_inline="-DDEFAULT_INLINE=0"
-# Check whether --enable-sim-inline was given.
-if test "${enable_sim_inline+set}" = set; then :
- enableval=$enable_sim_inline; sim_inline=""
-case "$enableval" in
- no) sim_inline="-DDEFAULT_INLINE=0";;
- 0) sim_inline="-DDEFAULT_INLINE=0";;
- yes | 2) sim_inline="-DDEFAULT_INLINE=ALL_C_INLINE";;
- 1) sim_inline="-DDEFAULT_INLINE=INLINE_LOCALS";;
- *) for x in `echo "$enableval" | sed -e "s/,/ /g"`; do
- new_flag=""
- case "$x" in
- *_INLINE=*) new_flag="-D$x";;
- *=*) new_flag=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
- *_INLINE) new_flag="-D$x=ALL_C_INLINE";;
- *) new_flag="-D$x""_INLINE=ALL_C_INLINE";;
- esac
- if test x"$sim_inline" = x""; then
- sim_inline="$new_flag"
- else
- sim_inline="$sim_inline $new_flag"
- fi
- done;;
-esac
-if test x"$silent" != x"yes" && test x"$sim_inline" != x""; then
- echo "Setting inline flags = $sim_inline" 6>&1
-fi
-fi
-
-
-
# Select the default model for the target.
riscv_model=
case "${target}" in