aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorMatthew Fortune <matthew.fortune@mips.com>2019-04-09 10:34:48 -0700
committerFaraz Shahbazker <fshahbazker@wavecomp.com>2019-04-13 10:07:31 -0700
commit3315614d19a7fb409227298ead9b356bdbcca3bc (patch)
tree7a59bc98fb55415abb9c059e24f3766a1bfa6aeb /gdb/python
parentc40e31a1217f6ec9dd47e2e6806c2562096e31fe (diff)
downloadbinutils-3315614d19a7fb409227298ead9b356bdbcca3bc.zip
binutils-3315614d19a7fb409227298ead9b356bdbcca3bc.tar.gz
binutils-3315614d19a7fb409227298ead9b356bdbcca3bc.tar.bz2
[MIPS] Apply ASE information for the selected processor
GAS does not enable implicit ASEs for most MIPS processors. The rework of option handling done as part of .module implementation left the implicit ASE logic broken and default enabled ASEs for most processors did not get applied. This patch ensures the ASE information is carried forward to the point where it is required. gas/ * config/tc-mips.c (mips_set_options) <init_ase>: New field. (file_mips_opts, mips_opts) <init_ase>: Initialize new field. (file_mips_check_options): Propagate initial ASE settings. (mips_after_parse_args, parse_code_option): Track the initial ASE settings for a CPU. (s_mipsset): Restore the initial ASE settings when reverting to the default arch. * testsuite/gas/mips/elf_mach_p6600.d: New test. * testsuite/gas/mips/mips.exp: Run the new test.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions