aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/configure
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-11-10 02:50:52 +0700
committerMike Frysinger <vapier@gentoo.org>2022-12-19 20:32:34 -0500
commit043f950abeb8dd915729d367561e9ed706b56a94 (patch)
treea218166742784f073c00671d4cba812954a1b273 /sim/ppc/configure
parent09d236daec8ff0b02516d3fa088fda3da8ba9cdc (diff)
downloadgdb-043f950abeb8dd915729d367561e9ed706b56a94.zip
gdb-043f950abeb8dd915729d367561e9ed706b56a94.tar.gz
gdb-043f950abeb8dd915729d367561e9ed706b56a94.tar.bz2
sim: ppc: change spreg switch table generation to compile-time
Simplify the generator by always outputting the switch tables, and leave the choice of whether to use them to the compiler via a -D flag.
Diffstat (limited to 'sim/ppc/configure')
-rwxr-xr-xsim/ppc/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/configure b/sim/ppc/configure
index 39a7ac9..41dafff 100755
--- a/sim/ppc/configure
+++ b/sim/ppc/configure
@@ -3498,7 +3498,7 @@ fi
# Check whether --enable-sim-switch was given.
if test "${enable_sim_switch+set}" = set; then :
enableval=$enable_sim_switch; case "${enableval}" in
- yes) sim_switch="-s";;
+ yes) sim_switch="-DWITH_SPREG_SWITCH_TABLE";;
no) sim_switch="";;
*) as_fn_error $? "\"--enable-sim-switch does not take a value\"" "$LINENO" 5; sim_switch="";;
esac