summaryrefslogtreecommitdiff
path: root/gas/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* gas/H.J. Lu2003-05-074-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-07 H.J. Lu <hongjiu.lu@intel.com> * config/tc-ia64.c (alias_hash): New. (alias_name_hash): New. (secalias_hash): New. (secalias_name_hash): New. (md_pseudo_table): Add "secalias". (md_begin): Initialize alias_hash, alias_name_hash, secalias_hash and secalias_name_hash. (struct alias): New. (dot_alias): Implement .alias and .secalias directives. (do_alias): New. (ia64_adjust_symtab): New. (do_secalias): New. (ia64_frob_file): New. * config/tc-ia64.h (ia64_adjust_symtab): New. (tc_adjust_symtab): Defined. (ia64_frob_file): New. (tc_frob_file): Defined. gas/testsuite/ 2003-05-07 H.J. Lu <hongjiu.lu@intel.com> * gas/ia64/ia64.exp: Add alias. * gas/ia64/alias.s: New. * gas/ia64/alias.d: Likewise.
* * gas/mips/abs.d, gas/mips/add.d, gas/mips/and.d,Alexandre Oliva2003-05-07109-88/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gas/mips/beq.d, gas/mips/bge.d, gas/mips/bgeu.d, gas/mips/blt.d, gas/mips/bltu.d, gas/mips/branch-misc-1.d, gas/mips/break20.d, gas/mips/cp0sel-names-mips32.d, gas/mips/cp0sel-names-mips32r2.d, gas/mips/cp0sel-names-mips64.d, gas/mips/cp0sel-names-numeric.d, gas/mips/cp0sel-names-sb1.d, gas/mips/elf-jal.d, gas/mips/elf-rel.d, gas/mips/elf-rel2.d, gas/mips/elf-rel3.d, gas/mips/elf-rel4.d, gas/mips/elf-rel5.d, gas/mips/elf-rel6.d, gas/mips/elf-rel7.d, gas/mips/elf_arch_mips1.d, gas/mips/elf_arch_mips2.d, gas/mips/elf_arch_mips3.d, gas/mips/elf_arch_mips32.d, gas/mips/elf_arch_mips32r2.d, gas/mips/elf_arch_mips4.d, gas/mips/elf_arch_mips5.d, gas/mips/elf_arch_mips64.d, gas/mips/elf_ase_mips16.d, gas/mips/empic.d, gas/mips/empic2.d, gas/mips/empic3_e.d, gas/mips/empic3_g1.d, gas/mips/empic3_g2.d, gas/mips/hwr-names-mips32r2.d, gas/mips/hwr-names-numeric.d, gas/mips/jal-empic-elf-2.d, gas/mips/jal-empic-elf-3.d, gas/mips/jal-empic-elf.d, gas/mips/jal-svr4pic.d, gas/mips/jal-xgot.d, gas/mips/jal.d, gas/mips/la-empic.d, gas/mips/la-svr4pic.d, gas/mips/la-xgot.d, gas/mips/la.d, gas/mips/lb-empic.d, gas/mips/lb-svr4pic.d, gas/mips/lb-xgot-ilocks.d, gas/mips/lb-xgot.d, gas/mips/lb.d, gas/mips/ld-empic.d, gas/mips/ld-svr4pic.d, gas/mips/ld-xgot.d, gas/mips/ld.d, gas/mips/li.d, gas/mips/lif-empic.d, gas/mips/lif-svr4pic.d, gas/mips/lif-xgot.d, gas/mips/lifloat.d, gas/mips/mips-gp32-fp32-pic.d, gas/mips/mips-gp32-fp32.d, gas/mips/mips-gp32-fp64-pic.d, gas/mips/mips-gp32-fp64.d, gas/mips/mips-gp64-fp32-pic.d, gas/mips/mips-gp64-fp32.d, gas/mips/mips-gp64-fp64-pic.d, gas/mips/mips-gp64-fp64.d, gas/mips/mips.exp, gas/mips/mips16-e.d, gas/mips/mips16-f.d, gas/mips/mips32.d, gas/mips/mips32r2.d, gas/mips/mips4010.d, gas/mips/mips4650.d, gas/mips/mips64.d, gas/mips/mipsel16-e.d, gas/mips/mipsel16-f.d, gas/mips/rol-hw.d, gas/mips/rol.d, gas/mips/sb.d, gas/mips/sync.d, gas/mips/tempic.d, gas/mips/tmips16-e.d, gas/mips/tmips16-f.d, gas/mips/tmipsel16-e.d, gas/mips/tmipsel16-f.d, gas/mips/trunc.d, gas/mips/uld.d, gas/mips/ulh-empic.d, gas/mips/ulh-svr4pic.d, gas/mips/ulh-xgot.d, gas/mips/ulh.d, gas/mips/ulh2-eb.d, gas/mips/ulh2-el.d, gas/mips/ulw.d, gas/mips/ulw2-eb.d, gas/mips/ulw2-eb-ilocks.d, gas/mips/ulw2-el.d, gas/mips/ulw2-el-ilocks.d, gas/mips/usd.d, gas/mips/ush.d, gas/mips/usw.d, gas/mips/vr4122.d: Added ABI specification. gas/vtable/vtable.exp: mips64*-*-linux* and mips*-*-irix6* are RELA.
* 2003-05-03 H.J. Lu <hjl@gnu.org>H.J. Lu2003-05-043-5/+10
| | | | | * gas/elf/symver.s: Use '%' instead of '@' in .type. * gas/elf/type.s: Likewise.
* 2003-05-03 H.J. Lu <hjl@gnu.org>H.J. Lu2003-05-036-52/+18
| | | | | | | | | | * gas/elf/elf.exp (run_list_test): Support pipe for readelf. * gas/elf/type.e-m32r: Removed. * gas/elf/type.e-mips: Likewise. * gas/elf/type.e-miwmmxt: Likewise. * gas/elf/type.e: Updated.
* gas/H.J. Lu2003-05-034-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-03 H.J. Lu <hjl@gnu.org> * config/obj-elf.c (obj_elf_parse_section_letters): Make it a fatal error for unknown section attribute. * config/tc-alpha.c (alpha_elf_section_letter): Return -1 for unknown section attribute. * config/tc-ia64.c (ia64_elf_section_letter): Likewise. * config/tc-ppc.c (ppc_section_letter): Likewise. * config/tc-ia64.c (ia64_elf_section_letter): Handle 'o'. (ia64_elf_section_type): Accept "unwind". gas/testsuite/ 2003-05-03 H.J. Lu <hjl@gnu.org> * gas/ia64/ia64.exp: Add unwind. * gas/ia64/unwind.s: New. Test the new section attribute 'o' and the new section type "unwind". * gas/ia64/unwind.d: Likewise.
* 2003-05-02 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2003-05-032-1/+8
| | | | | * gas/mips/mips.exp (mips_arch_init): Reimplement in a way that's safe with ancient versions of tcl/expect.
* 2003-05-01 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2003-05-022-0/+15
| | | | | * gas/mips/mips.exp (mips_arch_init): New function. Call it before setting up architecture array entries.
* 2003-05-01 H.J. Lu <hjl@gnu.org>H.J. Lu2003-05-027-1/+80
| | | | | | | | | | | * gas/elf/elf.exp (run_list_test): Accept empty $opts. Add type test. * gas/elf/type.e: New file. * gas/elf/type.s: Likewise. * gas/elf/type.e-m32r: Likewise. * gas/elf/type.e-mips: Likewise. * gas/elf/type.e-miwmmxt: Likewise.
* gas/H.J. Lu2003-05-024-0/+39
| | | | | | | | | | | | | | | | | | | 2003-05-01 H.J. Lu <hjl@gnu.org> * config/tc-ia64.h (tc_canonicalize_section_name): New. * config/obj-elf.c (obj_elf_section_name): Call tc_canonicalize_section_name if it is defined. gas/testsuite/ 2003-05-01 H.J. Lu <hjl@gnu.org> * gas/ia64/ia64.exp: Add secname. * gas/ia64/secname.s: New. Test the trailing '#' in section name. * gas/ia64/secname.d: Likewise.
* 2003-05-01 H.J. Lu <hjl@gnu.org>H.J. Lu2003-05-024-0/+21
| | | | | | | * gas/ia64/ia64.exp: Add "global". * gas/ia64/global.d: New file. * gas/ia64/global.s: Likewise.
* gas/H.J. Lu2003-05-014-0/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-30 H.J. Lu <hjl@gnu.org> * config/tc-ia64.c (ia64_number_to_chars): New function pointer. (ia64_float_to_chars): Likewise. (dot_byteorder): Set target_big_endian, ia64_number_to_chars and ia64_float_to_chars by tc_segment_info_data.endian from the current segment if byteorder == -1. (md_begin): Call dot_byteorder to set target_big_endian. (md_atof): Call ia64_float_to_chars to convert floating point. (ia64_float_to_chars_bigendian): New function. (ia64_float_to_chars_littleendian): Likewise. (ia64_elf_section_change_hook): Likewise. * config/tc-ia64.h (ia64_number_to_chars): New. (md_number_to_chars): Changed to (*ia64_number_to_chars) (ia64_elf_section_change_hook): New. (md_elf_section_change_hook): Defined. (ia64_segment_info_type): New struct. (TC_SEGMENT_INFO_TYPE): Defined. gas/testsuite/ 2003-04-30 H.J. Lu <hjl@gnu.org> * gas/ia64/ia64.exp: Add order. * gas/ia64/order.s: New file. * gas/ia64/order.d: Likewise.
* gas/H.J. Lu2003-05-015-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-30 H.J. Lu <hjl@gnu.org> * config/tc-ia64.c (md_section_align): Deleted. * config/tc-ia64.h (SUB_SEGMENT_ALIGN): New. (md_section_align): New. gas/testsuite/ 2003-04-29 H.J. Lu <hjl@gnu.org> * gas/ia64/ia64.exp: Add align. * gas/ia64/align.d: New file. * gas/ia64/align.s: Likewise. * ia64/dependency-1.d: Remove the padding. ld/testsuite/ 2003-04-29 H.J. Lu <hjl@gnu.org> * ld-ia64/tlsbin.dd: Updated. * ld-ia64/tlsbin.rd: Likewise. * ld-ia64/tlsbin.sd: Likewise. * ld-ia64/tlsbin.td: Likewise. * ld-ia64/tlspic.rd: Likewise. * ld-ia64/tlspic.sd: Likewise. * ld-ia64/tlspic.td: Likewise.
* gas/H.J. Lu2003-04-304-0/+27
| | | | | | | | | | | | | | | | | | | 2003-04-30 H.J. Lu <hjl@gnu.org> * config/tc-ia64.c (stmt_float_cons): Fix alignment for real10 and add real16. (md_pseudo_table): Add "xreal16", "xreal16.ua", "real16" and "real16.ua". (md_atof): Add 6 byte padding of zero for real16. gas/testsuite/ 2003-04-29 H.J. Lu <hjl@gnu.org> * gas/ia64/ia64.exp: Add real. * gas/ia64/real.s: New file. * gas/ia64/real.d: Likewise.
* Fix problem parsing symbol version strings when they are preceeded by ↵Nick Clifton2003-04-294-0/+30
| | | | | | whitespace. Add test to catch this problem in the future.
* Add tests of conditional branch instructions with probability postfixesNick Clifton2003-04-243-0/+29
|
* More checks for valid labelsNick Clifton2003-04-233-3/+28
|
* * gas/mips/elf-rel-got-n32.d, gas/mips/elf-rel-got-n32.s,Alexandre Oliva2003-04-118-0/+2897
| | | | | | gas/mips/elf-rel-got-n64.d, gas/mips/elf-rel-got-n64.s, gas/mips/elf-rel-xgot-n32.d, gas/mips/elf-rel-xgot-n64.d: New. * gas/mips/mips.exp: Test them.
* * as.c (perform_an_assembly_pass): If using cgen, call gas_cgen_begin.Nick Clifton2003-04-084-0/+162
| | | | | | | | | * cgen.c (gas_cgen_begin): New function. If flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok otherwise call cgen_clear_signed_overflow_ok. * cgen.h: Prototype gas_cgen_begin. * testsuite/gas/m32r/m32r.exp: Run signed-relocs test. * testsuite/gas/m32r/signed-relocs.s: New file: Test signed relocs. * testsuite/gas/m32r/signed-relocs.d: New file: Expected results
* * ia64-ic.tbl (fr-readers): Add mem-writers-fp.Nick Clifton2003-04-084-0/+35
| | | | | | | * ia64-asmtab.c: Regenerate. * gas/ia64/dependency-1.s: New file: Test read before write dependency. * gas/ia64/dependency-1.d: New file: Expected assembly results. * gas/ia64/ia64.exp: Run the new test.
* * gas/m68hc11/bug-1825.d (_table): Update.Stephane Carrez2003-04-053-1/+20
| | | | * gas/m68hc11/bug-1825.s (_table): Add tests for 16-bit absolute relocs
* * gas/m68hc11/insns.s: Add %page and %addr checks.Stephane Carrez2003-04-055-6/+23
| | | | | | * gas/m68hc11/insns12.s: Likewise. * gas/m68hc11/insns-dwarf2.d: Update. * gas/m68hc11/insns.d: Update.
* 2003-04-04 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2003-04-045-0/+144
| | | | | | | * gas/mips/mips5.d: New test. * gas/mips/mips5.l: New test stderr listing. * gas/mips/mips5.s: New test source file. * gas/mips/mips.exp: Run the mips5 test.
* 2003-04-03 Philip Blundell <philb@gnu.org>Phil Blundell2003-04-033-0/+12
| | | | | * gas/arm/offset.s: New test. * gas/arm/arm.exp (run_errors_test): Run it.
* [ gas/ChangeLog ]Chris Demetriou2003-04-0217-20/+370
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-02 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (macro2): Adjust implementation of M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly in the case where the source and destination registers are the same. [ gas/testsuite/ChangeLog ] 2003-04-02 Chris Demetriou <cgd@broadcom.com> * gas/mips/ulh.d: Adjust for ulh and ulhu macro assembly changes. * gas/mips/mips.exp: Define new "gpr_ilocks" architecture property, and add it to mips2 (and later) chips and r3900. * gas/mips/uld2.s: New test source file. * gas/mips/ulh2.s: Likewise. * gas/mips/ulw2.s: Likewise. * gas/mips/uld2.l: New test stderr listing. * gas/mips/ulh2.l: Likewise. * gas/mips/ulw2.l: Likewise. * gas/mips/uld2-eb.d: New test. * gas/mips/uld2-el.d: Likewise. * gas/mips/ulh2-eb.d: Likewise. * gas/mips/ulh2-el.d: Likewise. * gas/mips/ulw2-eb-ilocks.d: Likewise. * gas/mips/ulw2-eb.d: Likewise. * gas/mips/ulw2-el-ilocks.d: Likewise. * gas/mips/ulw2-el.d: Likewise. * gas/mips/mips.exp: Run new tests for appropriate architectures.
* Add Xtensa portNick Clifton2003-04-018-0/+140
|
* Add iWMMXt supportNick Clifton2003-03-256-1/+400
|
* Rename the all occurances of C54X to TIC54X.Nick Clifton2003-03-241-459/+459
|
* * gas/mips/branch-misc-2.s: Add branch to symbol in anotherAlexandre Oliva2003-03-123-8/+19
| | | | | section. * gas/mips/branch-misc-2.l: Update error messages and warnings.
* * Reverted previous patch.Alexandre Oliva2003-03-1212-120/+94
|
* Leftover from previous commit.Thiemo Seufer2003-03-021-9/+0
|
* * elf32-mips.c (elf_mips_howto_table_rel): Change definition ofThiemo Seufer2003-03-0211-81/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | R_MIPS_PC16 to rightshift 2. (elf_reloc_map mips_reloc_map): Map to rightshifted BFD reloc. (bfd_elf32_bfd_reloc_type_lookup): Support BFD_RELOC_MIPSEMB_16_PCREL_S2. * elf64-mips.c (mips_elf64_howto_table_rel): Change definition of R_MIPS_PC16 to rightshift 2. (mips_elf64_howto_table_rela): Likewise. (mips_reloc_map): Map to rightshifted BFD reloc. * elfn32-mips.c: The same as in elf64-mips.c. * elfxx-mips.c (mips_elf_got_for_ibfd): Typo in comment. (mips_elf_calculate_relocation): Handle rightshifted addends for R_MIPS_PC16. * reloc.c (BFD_RELOC_MIPSEMB_16_PCREL_S2): New BFD relocation for MIPS Embedded PIC. Remove superfluous empty COMMENT. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * config/tc-mips.c (append_insn): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. Avoid emitting unneeded BFD_RELOC_16_PCREL_S2 relocs and add earlier warnings about misaligned address and reange overflow. (macro_build): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. Add earlier warnings about misaligned address and reange overflow. (mips_ip): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. (md_apply_fix): Likewise. Fix warning output. (tc_gen_reloc): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. Allow BFD_RELOC_16_PCREL_S2 for all ABIs. (md_convert_frag): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. * gas/mips/bge.d: Reactivate external branch tests. * gas/mips/bge.s: Likewise. * gas/mips/bgeu.d: Likewise. * gas/mips/bgeu.s: Likewise. * gas/mips/blt.d: Likewise. * gas/mips/blt.s: Likewise. * gas/mips/bltu.d: Likewise. * gas/mips/bltu.s: Likewise. * gas/mips/branch-misc-2.d: New File. * gas/mips/branch-misc-2.l: Remove. * gas/mips/mips.exp: Adjust branch-misc-2 test.
* Update Maverick tests.Nick Clifton2003-02-216-632/+1521
| | | | Contribute test generator.
* * config/tc-mips.c (prev_reloc_op_frag): New variable.Richard Sandiford2003-02-214-0/+34
| | | | | (macro): Check it to decide whether a new frag is needed. (my_getSmallExpression): Set it.
* gas/Richard Sandiford2003-02-086-0/+71
| | | | | | | | | | | | | | | | | | * config/tc-mips.c (reloc_needs_lo_p): New function. (fixup_has_matching_lo_p): New function. (append_insn): Use reloc_needs_lo_p to check whether a relocation might need a matching %lo(). Reuse the head of mips_hi_fixup_list if that fixup already has a matching %lo(). Don't call frag_wane here. (macro): Call frag_wane here if the last unmatched hi was in the current frag. (pic_need_relax): New function, split out from... (md_estimate_size_before_relax): ...here. (mips_frob_file): Use reloc_needs_lo_p. Use pic_need_relax to test whether BFD_RELOC_MIPS_GOT16 fixups refer to global symbols. gas/testsuite/ * gas/mips/rel12.[sd], gas/mips/rel13.[sd]: New tests. * gas/mips/mips.exp: Run them.
* * config/tc-mips.c (my_getSmallExpression): Rework bracket handling.Richard Sandiford2003-02-074-0/+35
| | | | | | testsuite/ * gas/mips/expr1.[sd]: New test. * gas/mips/mips.exp: Run it.
* * gas/i386/x86-64-opcode.s: More tests for x86-64 MOVD opcodes.Alan Modra2003-02-063-70/+87
| | | | * gas/i386/x86-64-opcode.d: Adjust to suit.
* * gas/cris/rd-dw2-1.d: Adjust for dwarf2 directory table change.Hans-Peter Nilsson2003-02-042-2/+7
|
* gas/Richard Sandiford2003-02-0210-2/+380
| | | | | | | | | | | | | | | | | | | | | | | | | | | * config/tc-mips.c (enum small_ex_type): Remove. (imm_unmatched_hi): Remove. (md_assemble): Remove use of imm_unmatched_hi. Remove the last argument from calls to append_insn. (append_insn): Remove unmatched_hi parameter; check reloc_type[0] instead. (macro_build): Update append_insn calls. (mips16_macro_build, macro_build_lui): Likewise. (mips_ip): Rework handling of small expressions. Move explicit relocation handling into my_getSmallExpression. Assume that the value of 'o' operands is zero if there is only one bracketed expression left. (percent_op): Make constant. Record the BFD relocation code associated with each operator. (my_getSmallParser, my_getPercentOp): Remove. (parse_relocation): New function. (my_getSamllExpression): Rework. Fill in relocations here rather than in mips_ip. gas/testsuite * gas/mips/elf-rel8.[sd], gas/mips/elf-rel9.[sd], gas/mips/elf-rel10.[sd], gas/mips/elf-rel11.[sd]: New tests. * gas/mips/mips.exp: Run elf-rel8 and elf-rel9 for all elf targets. Run elf-rel10 and elf-rel11 for NewABI targets.
* * gas/mips/n32-consec.d: New.Alexandre Oliva2003-01-274-0/+30
| | | | | | * gas/mips/n32-consec.s: New. * gas/mips/mips.exp (run_list_test_arches): Run it on irix6 and mips64*-linux* systems.
* * gas/s390/reloc.s: Add test for PLT reloc against locally definedMartin Schwidefsky2003-01-235-3/+33
| | | | | | | but global function. * gas/s390/reloc.d: Likewise. * gas/s390/reloc64.s: Likewise. * gas/s390/reloc64.d: Likewise.
* All NetBSD ELF targets should pass these tests.Nick Clifton2003-01-212-0/+6
|
* * gas/s390/reloc.d: Add tests for the new gotoff, gotplt and pltoffMartin Schwidefsky2003-01-205-2/+41
| | | | | | | relocations. * gas/s390/reloc.s: Likewise. * gas/s390/reloc64.d: Likewise. * gas/s390/reloc64.s: Likewise.
* * gas/xstormy16/reloc-2.d: Adjust for fixed REL12 relocs.DJ Delorie2003-01-072-4/+8
|
* * gas/iq2000: New testsuite.Stan Cox2003-01-0357-0/+10467
|
* [ gas/ChangeLog ]Chris Demetriou2003-01-022-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | 2003-01-02 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c: Update copyright years to include 2003. (mips_ip): Fix indentation of "+A", "+B", and "+C" handling. Additionally, clean up their code slightly and clean up their comments some more. * doc/c-mips.texi: Add MIPS32r2 to ".set mipsN" documentation. [ gas/testsuite/ChangeLog ] 2003-01-02 Chris Demetriou <cgd@broadcom.com> * gas/mips/elf_arch_mips32r2.d: Fix file description comment. [ include/opcode/ChangeLog ] 2003-01-02 Chris Demetriou <cgd@broadcom.com> * mips.h: Update copyright years to include 2002 (which had been missed previously) and 2003. Make comments about "+A", "+B", and "+C" operand types more descriptive.
* [ gas/ChangeLog ]Chris Demetriou2002-12-318-0/+1427
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-31 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (validate_mips_insn, mips_ip): Recognize the "+D" operand, which will be used only by the disassembler. [ gas/testsuite/ChangeLog ] 2002-12-31 Chris Demetriou <cgd@broadcom.com> * gas/mips/cp0sel-names-mips32.d: New test. * gas/mips/cp0sel-names-mips32r2.d: New test. * gas/mips/cp0sel-names-mips64.d: New test. * gas/mips/cp0sel-names-numeric.d: New test. * gas/mips/cp0sel-names-sb1.d: New test. * gas/mips/cp0sel-names.s: New test source file. * gas/mips/mips.exp: Run new tests. [ include/opcode/ChangeLog ] 2002-12-31 Chris Demetriou <cgd@broadcom.com> * mips.h: Note that the "+D" operand type name is now used. [ opcodes/ChangeLog ] 2002-12-31 Chris Demetriou <cgd@broadcom.com> * mips-dis.c (mips_cp0sel_name): New structure. (mips_cp0sel_names_mips3264, mips_cp0sel_names_mips3264r2) (mips_cp0sel_names_sb1): New arrays. (mips_arch_choice): New structure members "cp0sel_names" and "cp0sel_names_len". (mips_arch_choices): Add references to new cp0sel_names arrays as appropriate, and make all existing entries reference appropriate mips_XXX_names_numeric arrays rather than simply using NULL. (mips_cp0sel_names, mips_cp0sel_names_len): New variables. (lookup_mips_cp0sel_name): New function. (set_default_mips_dis_options): Set mips_cp0sel_names and mips_cp0sel_names_len as appropriate. Remove now-unnecessary checks for NULL register name arrays. (parse_mips_dis_option): Likewise. (print_insn_arg): Handle "+D" operand type. * mips-opc.c (mips_builtin_opcodes): Add new "+D" variants of mfc0, mtc0, dmfc0, and dmtc0 to print CP0+sel register names symbolically.
* [ gas/testsuite/ChangeLog ]Chris Demetriou2002-12-3113-4/+96
| | | | | | | | | | | | | | | | | | 2002-12-30 Chris Demetriou <cgd@broadcom.com> * gas/mips/elf_arch_mips1.d: New test. * gas/mips/elf_arch_mips2.d: New test. * gas/mips/elf_arch_mips3.d: New test. * gas/mips/elf_arch_mips4.d: New test. * gas/mips/elf_arch_mips5.d: New test. * gas/mips/elf_arch_mips32.d: New test. * gas/mips/elf_arch_mips32r2.d: New test. * gas/mips/elf_arch_mips64.d: New test. * gas/mips/empty.s: New test source file. * gas/mips/mips.exp: Run new tests. * gas/mips/elf_ase_mips16.d: Change to use empty.s * gas/mips/elf_ase_mips16.s: Remove.
* oops - omitted from previous deltaNick Clifton2002-12-313-0/+119
|
* fix date on last entry. *sigh*Chris Demetriou2002-12-311-1/+1
|
* [ bfd/ChangeLog ]Chris Demetriou2002-12-3110-0/+398
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-30 Chris Demetriou <cgd@broadcom.com> * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mipsisa32r2 case. * archures.c (bfd_mach_mipsisa32r2): New define. * bfd-in2.h: Regenerate. * cpu-mips.c (I_mipsisa32r2): New enum value. (arch_info_struct): Add entry for I_mipsisa32r2. * elfxx-mips.c (elf_mips_isa, _bfd_elf_mips_mach) (_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_32R2. (_bfd_mips_elf_final_write_processing): Add bfd_mach_mipsisa32r2 case. (_bfd_mips_elf_merge_private_bfd_data): Handle merging of binaries marked as using MIPS32 Release 2. [ binutils/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register) changes in MIPS -M options. [ gas/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * configure.in: Recognize mipsisa32r2, mipsisa32r2el, and CPU variants. * configure: Regenerate. * config/tc-mips.c (ISA_HAS_DROR, ISA_HAS_ROR): New defines. (macro_build): Handle "K" operand. (macro2): Use ISA_HAS_DROR and ISA_HAS_ROR in the places where CPU_HAS_DROR and CPU_HAS_ROR are currently used. (mips_ip): New variable "lastpos", and implement "+A", "+B", and "+C" operands for MIPS32 Release 2 ins/ext instructions. Implement "K" operand for MIPS32 Release 2 rdhwr instruction. (validate_mips_insn): Implement "+" as a way to extend the allowed operands, and implement "K", "+A", "+B", and "+C" operands. (OPTION_MIPS32R2): New define. (md_longopts): Add entry for OPTION_MIPS32R2. (OPTION_ELF_BASE): Adjust to accomodate OPTIONS_MIPS32R2. (md_parse_option): Handle OPTION_MIPS32R2. (s_mipsset): Reimplement handling of ".set mipsN" options and add support for ".set mips32r2". (mips_cpu_info_table): Add entry for "mips32r2" (MIPS32 Release 2). (md_show_usage): Document "-mips32r2" option. * doc/as.texinfo: Document "-mips32r2" option. * doc/c-mips.texi: Likewise. [ gas/testsuite/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * gas/mips/cp0-names-mips32r2.d: New test. * gas/mips/hwr-names-mips32r2.d: New test. * gas/mips/hwr-names-numeric.d: New test. * gas/mips/hwr-names.s: New test source file. * gas/mips/mips32r2.d: New test. * gas/mips/mips32r2.s: New test source file. * gas/mips/mips32r2-ill.l: New test. * gas/mips/mips32r2-ill.s: New test source file. * gas/mips/mips.exp: Add mips32r2 architecture data array entry. Run new tests mentioned above. [ include/elf/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * mips.h (E_MIPS_ARCH_32R2): New define. [ include/opcode/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * mips.h: Document "+" as the start of two-character operand type names, and add new "K", "+A", "+B", and "+C" operand types. (OP_MASK_INSMSB, OP_SH_INSMSB, OP_MASK_EXTMSB) (OP_SH_EXTMSB, INSN_ISA32R2, ISA_MIPS32R2, CPU_MIPS32R2): New defines. [ opcodes/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * mips-dis.c (mips_cp0_names_mips3264r2, mips_hwr_names_numeric) (mips_hwr_names_mips3264r2): New arrays. (mips_arch_choice): New "hwr_names" member. (mips_arch_choices): Adjust for structure change, and add a new entry for "mips32r2" ISA. (mips_hwr_names): New variable. (set_default_mips_dis_options): Set mips_hwr_names. (parse_mips_dis_option): New "hwr-names" option which sets mips_hwr_names, and adjust "reg-names=ARCH" to set mips_hwr_names. (print_insn_arg): Change return type to "int" and use that to indicate number of characters consumed. Add support for "+" operand extension character, "+A", "+B", "+C", and "K" operands. (print_insn_mips): Adjust for changes to print_insn_arg. (print_mips_disassembler_options): Adjust for "hwr-names" addition and "reg-names" change. * mips-opc (I33): New define (shorthand for INSN_ISA32R2). (mips_builtin_opcodes): Note that "nop" and "ssnop" are special forms of "sll". Add new MIPS32 Release 2 instructions: ehb, di, ei, ext, ins, jr.hb, jalr.hb, mfhc1, mfhc2, mthc1, mthc2, rdhwr, rdpgpr, seb, seh, synci, wrpgpr, wsbh. Note that hardware rotate instructions (ror, rorv) can be used on MIPS32 Release 2, and add the official mnemonics for them (rotr, rotrv) and the similar "rotl" mnemonic for left-rotate.