diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-11-10 02:50:52 +0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-12-19 20:32:34 -0500 |
commit | 043f950abeb8dd915729d367561e9ed706b56a94 (patch) | |
tree | a218166742784f073c00671d4cba812954a1b273 /sim/ppc/configure | |
parent | 09d236daec8ff0b02516d3fa088fda3da8ba9cdc (diff) | |
download | gdb-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-x | sim/ppc/configure | 2 |
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 |