diff options
author | Maciej W. Rozycki <macro@codesourcery.com> | 2014-10-21 23:06:23 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@codesourcery.com> | 2014-10-21 23:06:23 +0100 |
commit | 7bb01e2d7401f2eb8995d445917708209d3ad4bf (patch) | |
tree | 664e115ce41ea5f5f80d970bf608c360a0d79bd1 /gold/merge.cc | |
parent | 80272b8cb9f78cd97c4655019e7826b6d4c5dd41 (diff) | |
download | gdb-7bb01e2d7401f2eb8995d445917708209d3ad4bf.zip gdb-7bb01e2d7401f2eb8995d445917708209d3ad4bf.tar.gz gdb-7bb01e2d7401f2eb8995d445917708209d3ad4bf.tar.bz2 |
MIPS/GAS: Correct file option settings with `.insn'
This makes sure `HAVE_CODE_COMPRESSION' evaluates correctly when the
`.insn' directive is used at the beginning of a source file before any
instructions have been produced and that ELF file header's MIPS16 and
microMIPS ASE flags are set correctly in the case where no instructions
have been produced other than with the said directive.
gas/
* config/tc-mips.c (s_insn): Set file options.
gas/testsuite/
* gas/mips/insn-opts.d: New test.
* gas/mips/insn-opts.s: New test source.
* gas/mips/mips.exp: Run the new test.
Diffstat (limited to 'gold/merge.cc')
0 files changed, 0 insertions, 0 deletions