diff options
author | Andrew Bennett <andrew.bennett@imgtec.com> | 2016-01-18 21:25:19 +0000 |
---|---|---|
committer | Andrew Bennett <andrew.bennett@imgtec.com> | 2016-01-18 21:50:00 +0000 |
commit | 3d304f48cafbff4b7a1c0a9d338fb20aa4e4934b (patch) | |
tree | 5170a4c7640f9a532d57ca85339c9efef1eb9b61 /binutils | |
parent | 3f7f365076a112313870e2a321452bfda6d40914 (diff) | |
download | gdb-3d304f48cafbff4b7a1c0a9d338fb20aa4e4934b.zip gdb-3d304f48cafbff4b7a1c0a9d338fb20aa4e4934b.tar.gz gdb-3d304f48cafbff4b7a1c0a9d338fb20aa4e4934b.tar.bz2 |
MIPS: Only build microMIPS specific simulator functions if microMIPS support is required.
This fixes PR sim/19441. In the MIPS simulator the microMIPS
functions in micromips.igen were not predicated on the microMIPS
models. This was causing build issues for some target triples.
This patch sets all the microMIPS specific functions to only be built if
the micromips32, micromips64 or micromipsdsp models are used.
PR sim/19441
* micromips.igen (delayslot_micromips): Enable for `micromips32',
`micromips64' and `micromipsdsp' only.
(process_isa_mode): Enable for `micromips32' and `micromips64' only.
(do_micromips_jalr, do_micromips_jal): Likewise.
(compute_movep_src_reg): Likewise.
(compute_andi16_imm): Likewise.
(convert_fmt_micromips): Likewise.
(convert_fmt_micromips_cvt_d): Likewise.
(convert_fmt_micromips_cvt_s): Likewise.
(FMT_MICROMIPS): Likewise.
(FMT_MICROMIPS_CVT_D): Likewise.
(FMT_MICROMIPS_CVT_S): Likewise.
Diffstat (limited to 'binutils')
0 files changed, 0 insertions, 0 deletions