修订版 | 1b2af6a41e68e6deac7c54183131e01cf34584b5 (tree) |
---|---|
时间 | 2022-11-05 12:04:23 |
作者 | Mike Frysinger <vapier@gent...> |
Commiter | Mike Frysinger |
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.
@@ -717,7 +717,6 @@ enable_sim_duplicate | ||
717 | 717 | enable_sim_filter |
718 | 718 | enable_sim_float |
719 | 719 | enable_sim_hardware |
720 | -enable_sim_hostbitsize | |
721 | 720 | enable_sim_icache |
722 | 721 | enable_sim_jump |
723 | 722 | enable_sim_line_nr |
@@ -1358,7 +1357,6 @@ Optional Features: | ||
1358 | 1357 | --enable-sim-filter=rule Specify filter rules. |
1359 | 1358 | --enable-sim-float Specify whether the target has hard, soft, altivec or e500 floating point. |
1360 | 1359 | --enable-sim-hardware=list Specify the hardware to be included in the build. |
1361 | - --enable-sim-hostbitsize=32|64 Specify host bitsize (32 or 64). | |
1362 | 1360 | --enable-sim-icache=size Specify instruction-decode cache size and type. |
1363 | 1361 | --enable-sim-jump Jump between semantic code (instead of call/return). |
1364 | 1362 | --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 | ||
3346 | 3344 | fi |
3347 | 3345 | fi |
3348 | 3346 | |
3349 | -# Check whether --enable-sim-hostbitsize was given. | |
3350 | -if test "${enable_sim_hostbitsize+set}" = set; then : | |
3351 | - enableval=$enable_sim_hostbitsize; case "${enableval}" in | |
3352 | - 32|64) sim_hostbitsize="-DWITH_HOST_WORD_BITSIZE=$enableval";; | |
3353 | - *) as_fn_error $? "\"--enable-sim-hostbitsize was given $enableval. Expected 32 or 64\"" "$LINENO" 5; sim_hostbitsize="";; | |
3354 | -esac | |
3355 | -if test x"$silent" != x"yes" && test x"$sim_hostbitsize" != x""; then | |
3356 | - echo "Setting hostbitsize flags = $sim_hostbitsize" 6>&1 | |
3357 | -fi | |
3358 | -else | |
3359 | - sim_hostbitsize="" | |
3360 | -fi | |
3361 | - | |
3362 | 3347 | |
3363 | 3348 | # Check whether --enable-sim-icache was given. |
3364 | 3349 | if test "${enable_sim_icache+set}" = set; then : |
@@ -214,16 +214,6 @@ if test x"$silent" != x"yes"; then | ||
214 | 214 | echo "Setting hardware to $sim_hw_src, $sim_hw_obj" |
215 | 215 | fi])dnl |
216 | 216 | |
217 | -AC_ARG_ENABLE(sim-hostbitsize, | |
218 | -[ --enable-sim-hostbitsize=32|64 Specify host bitsize (32 or 64).], | |
219 | -[case "${enableval}" in | |
220 | - 32|64) sim_hostbitsize="-DWITH_HOST_WORD_BITSIZE=$enableval";; | |
221 | - *) AC_MSG_ERROR("--enable-sim-hostbitsize was given $enableval. Expected 32 or 64"); sim_hostbitsize="";; | |
222 | -esac | |
223 | -if test x"$silent" != x"yes" && test x"$sim_hostbitsize" != x""; then | |
224 | - echo "Setting hostbitsize flags = $sim_hostbitsize" 6>&1 | |
225 | -fi],[sim_hostbitsize=""])dnl | |
226 | - | |
227 | 217 | |
228 | 218 | AC_ARG_ENABLE(sim-icache, |
229 | 219 | [ --enable-sim-icache=size Specify instruction-decode cache size and type.], |
@@ -114,7 +114,6 @@ print_options (void) | ||
114 | 114 | printf_filtered ("WITH_TARGET_BYTE_ORDER = %s\n", options_byte_order (WITH_TARGET_BYTE_ORDER)); |
115 | 115 | printf_filtered ("WITH_XOR_ENDIAN = %d\n", WITH_XOR_ENDIAN); |
116 | 116 | printf_filtered ("WITH_SMP = %d\n", WITH_SMP); |
117 | - printf_filtered ("WITH_HOST_WORD_BITSIZE = %d\n", WITH_HOST_WORD_BITSIZE); | |
118 | 117 | printf_filtered ("WITH_TARGET_WORD_BITSIZE = %d\n", WITH_TARGET_WORD_BITSIZE); |
119 | 118 | printf_filtered ("WITH_ENVIRONMENT = %s\n", options_env(WITH_ENVIRONMENT)); |
120 | 119 | printf_filtered ("WITH_EVENTS = %d\n", WITH_EVENTS); |
@@ -79,9 +79,9 @@ extern enum bfd_endian current_target_byte_order; | ||
79 | 79 | #endif |
80 | 80 | |
81 | 81 | |
82 | -/* Word size of host/target: | |
82 | +/* Word size of target: | |
83 | 83 | |
84 | - Set these according to your host and target requirements. At this | |
84 | + Set these according to your target requirements. At this | |
85 | 85 | point in time, I've only compiled (not run) for a 64bit and never |
86 | 86 | built for a 64bit host. This will always remain a compile time |
87 | 87 | option */ |
@@ -90,10 +90,6 @@ extern enum bfd_endian current_target_byte_order; | ||
90 | 90 | #define WITH_TARGET_WORD_BITSIZE 32 /* compiled only */ |
91 | 91 | #endif |
92 | 92 | |
93 | -#ifndef WITH_HOST_WORD_BITSIZE | |
94 | -#define WITH_HOST_WORD_BITSIZE 32 /* 64bit ready? */ | |
95 | -#endif | |
96 | - | |
97 | 93 | |
98 | 94 | /* Program environment: |
99 | 95 |