mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-04 12:31:38 +08:00
sim: ppc: delete unused host bitsize settings
Nothing checks this define anywhere, so drop all the logic. We don't want this to be a configure option in the first place as all such usage should be automatic & following proper types.
This commit is contained in:
15
sim/ppc/configure
vendored
15
sim/ppc/configure
vendored
@ -717,7 +717,6 @@ enable_sim_duplicate
|
|||||||
enable_sim_filter
|
enable_sim_filter
|
||||||
enable_sim_float
|
enable_sim_float
|
||||||
enable_sim_hardware
|
enable_sim_hardware
|
||||||
enable_sim_hostbitsize
|
|
||||||
enable_sim_icache
|
enable_sim_icache
|
||||||
enable_sim_jump
|
enable_sim_jump
|
||||||
enable_sim_line_nr
|
enable_sim_line_nr
|
||||||
@ -1358,7 +1357,6 @@ Optional Features:
|
|||||||
--enable-sim-filter=rule Specify filter rules.
|
--enable-sim-filter=rule Specify filter rules.
|
||||||
--enable-sim-float Specify whether the target has hard, soft, altivec or e500 floating point.
|
--enable-sim-float Specify whether the target has hard, soft, altivec or e500 floating point.
|
||||||
--enable-sim-hardware=list Specify the hardware to be included in the build.
|
--enable-sim-hardware=list Specify the hardware to be included in the build.
|
||||||
--enable-sim-hostbitsize=32|64 Specify host bitsize (32 or 64).
|
|
||||||
--enable-sim-icache=size Specify instruction-decode cache size and type.
|
--enable-sim-icache=size Specify instruction-decode cache size and type.
|
||||||
--enable-sim-jump Jump between semantic code (instead of call/return).
|
--enable-sim-jump Jump between semantic code (instead of call/return).
|
||||||
--enable-sim-line-nr=opts Generate extra CPP code that references source rather than generated code
|
--enable-sim-line-nr=opts Generate extra CPP code that references source rather than generated code
|
||||||
@ -3346,19 +3344,6 @@ if test x"$silent" != x"yes"; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check whether --enable-sim-hostbitsize was given.
|
|
||||||
if test "${enable_sim_hostbitsize+set}" = set; then :
|
|
||||||
enableval=$enable_sim_hostbitsize; case "${enableval}" in
|
|
||||||
32|64) sim_hostbitsize="-DWITH_HOST_WORD_BITSIZE=$enableval";;
|
|
||||||
*) as_fn_error $? "\"--enable-sim-hostbitsize was given $enableval. Expected 32 or 64\"" "$LINENO" 5; sim_hostbitsize="";;
|
|
||||||
esac
|
|
||||||
if test x"$silent" != x"yes" && test x"$sim_hostbitsize" != x""; then
|
|
||||||
echo "Setting hostbitsize flags = $sim_hostbitsize" 6>&1
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
sim_hostbitsize=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# Check whether --enable-sim-icache was given.
|
# Check whether --enable-sim-icache was given.
|
||||||
if test "${enable_sim_icache+set}" = set; then :
|
if test "${enable_sim_icache+set}" = set; then :
|
||||||
|
@ -214,16 +214,6 @@ if test x"$silent" != x"yes"; then
|
|||||||
echo "Setting hardware to $sim_hw_src, $sim_hw_obj"
|
echo "Setting hardware to $sim_hw_src, $sim_hw_obj"
|
||||||
fi])dnl
|
fi])dnl
|
||||||
|
|
||||||
AC_ARG_ENABLE(sim-hostbitsize,
|
|
||||||
[ --enable-sim-hostbitsize=32|64 Specify host bitsize (32 or 64).],
|
|
||||||
[case "${enableval}" in
|
|
||||||
32|64) sim_hostbitsize="-DWITH_HOST_WORD_BITSIZE=$enableval";;
|
|
||||||
*) AC_MSG_ERROR("--enable-sim-hostbitsize was given $enableval. Expected 32 or 64"); sim_hostbitsize="";;
|
|
||||||
esac
|
|
||||||
if test x"$silent" != x"yes" && test x"$sim_hostbitsize" != x""; then
|
|
||||||
echo "Setting hostbitsize flags = $sim_hostbitsize" 6>&1
|
|
||||||
fi],[sim_hostbitsize=""])dnl
|
|
||||||
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(sim-icache,
|
AC_ARG_ENABLE(sim-icache,
|
||||||
[ --enable-sim-icache=size Specify instruction-decode cache size and type.],
|
[ --enable-sim-icache=size Specify instruction-decode cache size and type.],
|
||||||
|
@ -114,7 +114,6 @@ print_options (void)
|
|||||||
printf_filtered ("WITH_TARGET_BYTE_ORDER = %s\n", options_byte_order (WITH_TARGET_BYTE_ORDER));
|
printf_filtered ("WITH_TARGET_BYTE_ORDER = %s\n", options_byte_order (WITH_TARGET_BYTE_ORDER));
|
||||||
printf_filtered ("WITH_XOR_ENDIAN = %d\n", WITH_XOR_ENDIAN);
|
printf_filtered ("WITH_XOR_ENDIAN = %d\n", WITH_XOR_ENDIAN);
|
||||||
printf_filtered ("WITH_SMP = %d\n", WITH_SMP);
|
printf_filtered ("WITH_SMP = %d\n", WITH_SMP);
|
||||||
printf_filtered ("WITH_HOST_WORD_BITSIZE = %d\n", WITH_HOST_WORD_BITSIZE);
|
|
||||||
printf_filtered ("WITH_TARGET_WORD_BITSIZE = %d\n", WITH_TARGET_WORD_BITSIZE);
|
printf_filtered ("WITH_TARGET_WORD_BITSIZE = %d\n", WITH_TARGET_WORD_BITSIZE);
|
||||||
printf_filtered ("WITH_ENVIRONMENT = %s\n", options_env(WITH_ENVIRONMENT));
|
printf_filtered ("WITH_ENVIRONMENT = %s\n", options_env(WITH_ENVIRONMENT));
|
||||||
printf_filtered ("WITH_EVENTS = %d\n", WITH_EVENTS);
|
printf_filtered ("WITH_EVENTS = %d\n", WITH_EVENTS);
|
||||||
|
@ -79,9 +79,9 @@ extern enum bfd_endian current_target_byte_order;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* Word size of host/target:
|
/* Word size of target:
|
||||||
|
|
||||||
Set these according to your host and target requirements. At this
|
Set these according to your target requirements. At this
|
||||||
point in time, I've only compiled (not run) for a 64bit and never
|
point in time, I've only compiled (not run) for a 64bit and never
|
||||||
built for a 64bit host. This will always remain a compile time
|
built for a 64bit host. This will always remain a compile time
|
||||||
option */
|
option */
|
||||||
@ -90,10 +90,6 @@ extern enum bfd_endian current_target_byte_order;
|
|||||||
#define WITH_TARGET_WORD_BITSIZE 32 /* compiled only */
|
#define WITH_TARGET_WORD_BITSIZE 32 /* compiled only */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef WITH_HOST_WORD_BITSIZE
|
|
||||||
#define WITH_HOST_WORD_BITSIZE 32 /* 64bit ready? */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/* Program environment:
|
/* Program environment:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user