summaryrefslogtreecommitdiff
path: root/gas
Commit message (Collapse)AuthorAgeFilesLines
* Rename ms1 to mt, part 1Nathan Sidwell2005-12-1211-10/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config.sub: Replace ms1 arch with mt. Allow ms1 as alias. * configure.in: Replace ms1 arch with mt. * configure: Rebuilt. * bfd/Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES, BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Replace ms1 with mt. (cpu_mt.lo, elf32-mt.lo): Update target and dependency names. * bfd/Makefile.in: Rebuilt. * bfd/config.bfd: Replace ms1 arch with mt. * bfd/configure.in: Replace ms1 files with mt files. * bfd/configure: Rebuilt. * bfd/elf32-mt.c: Renamed from elf32-ms1.c. Update include files. * bfd/cpu-mt.c: Renamed from cpu-ms1.c. * cpu/mt.cpu: Rename from ms1.cpu. * cpu/mt.opc: Rename from ms1.opc. * binutils/Makefile.am: Replace ms1 files with mt files. * binutils/Makefile.in: Rebuilt. * binutils/readelf.c (elf/mt.h): Adjust #include. * gas/configure.in: Replace ms1 arch with mt arch. * gas/configure: Rebuilt. * gas/configure.tgt: Replace ms1 arch with mt arch. * gas/config/tc-mt.c: Renamed from tc-ms1.c: Update include files. * gas/doc/Makefile.am (CPU_DOCS): Replace ms1 files with mt files. * gas/doc/Makefile.in: Rebuilt. * gas/testsuite/gas/mt: Renamed from ms1 dir. Update file names as needed. * gas/testsuite/gas/mt/errors.exp: Replace ms1 arch with mt arch. * gas/testsuite/gas/mt/mt.exp: Replace ms1 arch with mt arch. * gas/testsuite/gas/mt/relocs.exp: Replace ms1 arch with mt arch. * gdb/configure.tgt: Replace ms1 arch with mt arch. * gdb/config/mt: Renamed from ms1 dir. Update file names as needed. * gdb/config/mt/mt.mt (TDEPFILES): Replace ms1 file with mt file. * include/elf/mt.h: Renamed from ms1.h * ld/Makefile.am (ALL_EMULATIONS): Replace ms1 files with mt files. (eelf32mt.c): Update target name and dependencies. * ld/Makefile.in: Rebuilt. * ld/configure.tgt: Replace ms1 arch with mt arch. * ld/emulparams/elf32mt.sh: Renamed from elf32ms1.sh. Update comment. * libgloss/configure.in: Replace ms1 arch with mt arch. * libgloss/configure: Rebuilt. * libgloss/mt: Renamed from ms1 dir. * newlib/configure.host: Replace ms1 arch with mt arch. * newlib/libc/machine/mt: Renamed from ms1 dir. * opcodes/Makefile.am (CLEANFILES, CGEN_CPUS, MT_DEPS): Replace ms1 with mt. * opcodes/Makefile.in: Rebuilt. * opcodes/configure.in: Replace ms1 files with mt files. * opcodes/configure: Rebuilt. * sid/component/cgen-cpu/mt: Renamed from ms1 dir. Update file names as appropriate. * sid/component/cgen-cpu/mt/Makefile.am: Replace ms1 files with mt files. * sid/component/cgen-cpu/mt/Makefile.in: Rebuilt.
* Rename ms1 files to mt files (part 1 -- renames only)Nathan Sidwell2005-12-1232-0/+0
|
* * gas/cris/rd-bcnst-pic.d, gas/cris/rd-branch-pic.d,Hans-Peter Nilsson2005-12-077-0/+782
| | | | | gas/cris/rd-brokw-pic-1.d, gas/cris/rd-brokw-pic-2.d, gas/cris/rd-brokw-pic-3.d, gas/cris/rd-fragtest-pic.d: New tests.
* Change 32-bit-branch expansion for --pic.Hans-Peter Nilsson2005-12-072-12/+81
| | | | | | | | | | | | * config/tc-cris.c (STATE_COND_BRANCH_PIC): New relaxation state. (md_cris_relax_table): Add entry for STATE_COND_BRANCH_PIC. (cris_any_v0_v10_long_jump_size_pic): New macro. (md_estimate_size_before_relax): Handle STATE_COND_BRANCH_PIC. (md_convert_frag): Similar. (md_create_long_jump): Change 32-bit-branch expansion for --pic. (md_assemble, gen_cond_branch_32): Adjust similarly. (md_parse_option) <case OPTION_PIC>: Adjust md_long_jump_size. <case OPTION_ARCH>: Similar, if --pic.
* gas/H.J. Lu2005-12-068-11/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-06 H.J. Lu <hongjiu.lu@intel.com> PR gas/1874 * config/tc-i386.c (match_template): Handle monitor. (process_suffix): Likewise. gas/testsuite/ 2005-12-06 H.J. Lu <hongjiu.lu@intel.com> PR gas/1874 * gas/i386/i386.exp: Add x86-64-prescott for 64bit. * gas/i386/prescott.s: Test address size override for monitor. * gas/i386/prescott.d: Updated. * gas/i386/x86-64-prescott.d: New file. * gas/i386/x86-64-prescott.s: Likewise. include/opcode/ 2005-12-06 H.J. Lu <hongjiu.lu@intel.com> PR gas/1874 * i386.h (i386_optab): Add 64bit support for monitor and mwait. opcodes/ 2005-12-06 H.J. Lu <hongjiu.lu@intel.com> PR gas/1874 * i386-dis.c (address_mode): New enum type. (address_mode): New variable. (mode_64bit): Removed. (ckprefix): Updated to check address_mode instead of mode_64bit. (prefix_name): Likewise. (print_insn): Likewise. (putop): Likewise. (print_operand_value): Likewise. (intel_operand_size): Likewise. (OP_E): Likewise. (OP_G): Likewise. (set_op): Likewise. (OP_REG): Likewise. (OP_I): Likewise. (OP_I64): Likewise. (OP_OFF): Likewise. (OP_OFF64): Likewise. (ptr_reg): Likewise. (OP_C): Likewise. (SVME_Fixup): Likewise. (print_insn): Set address_mode. (PNI_Fixup): Add 64bit and address size override support for monitor and mwait.
* * gas/cris/rd-pcplus.s, gas/cris/rd-pcplus.d: New test.Hans-Peter Nilsson2005-12-053-0/+30
|
* Bug gas/1948Dave Anglin2005-12-052-0/+7
| | | | | * symbols.c (colon): Also check if now_seg is bss_section when a symbol is being redefined.
* config/tc-z80.c (emit_ldreg): fix bug in ld rr,<xx>Arnold Metselaar2005-12-022-1/+5
|
* gas/ acinclude.m4 aclocal.m4 app.c app.o as.c as.h as.h.cvs asintl.h as-new ↵Arnold Metselaar2005-11-264-9/+23
| | | | as.o atof-generic.c atof-generic.o atof-ieee.o autom4te.cache bignum.h bit_fix.h cgen.c cgen.h ChangeLog ChangeLog-0001 ChangeLog-0203 ChangeLog.~1.2755.~ ChangeLog-9295 ChangeLog-9697 ChangeLog-9899 cond.c cond.o config config.cache config.h config.in config.log config.status configure configure.in configure.tgt CONTRIBUTORS COPYING CVS debug.c DEP2 DEPDIR depend.c depend.o dep-in.sed DEPOBJ dep.sed DEPTC doc dw2gencfi.c dw2gencfi.h dw2gencfi.o dwarf2dbg.c dwarf2dbg.h dwarf2dbg.o ecoff.c ecoff.h ecoff.o ehopt.c ehopt.o emul.h emul-target.h expr.c expr.c.cvs expr.h expr.o flonum-copy.c flonum-copy.o flonum.h flonum-konst.c flonum-konst.o flonum-mult.c flonum-mult.o frags.c frags.h frags.o gdbinit.in hash.c hash.h hash.o input-file.c input-file.h input-file.o input-scrub.c input-scrub.o itbl-cpu.h itbl-lex.h itbl-lex.l itbl-ops.c itbl-ops.h itbl-parse.y libtool listing.c listing.h listing.o literal.c literal.o long.s macro.c macro.c.bak macro.h macro.o MAINTAINERS Makefile Makefile.am Makefile.in messages.c messages.o NEWS obj-coff.o obj-format.h obj.h output-file.c output-file.h output-file.o po read.c read.h README read.o sb.c sb.h sb.o site.bak site.exp stabs.c stabs.o stamp-h1 stamp-h.in struc-symbol.h subsegs.c subsegs.h subsegs.o symbols.c symbols.h symbols.o targ-cpu.h targ-env.h tc.h tc-z80.o testsuite write.c write.h write.o config/tc-z80.c (z80_start_line_hook): issue an error when redefining a symbol with equ acinclude.m4 aclocal.m4 app.c app.o as.c as.h as.h.cvs asintl.h as-new as.o atof-generic.c atof-generic.o atof-ieee.o autom4te.cache bignum.h bit_fix.h cgen.c cgen.h ChangeLog ChangeLog-0001 ChangeLog-0203 ChangeLog.~1.2755.~ ChangeLog-9295 ChangeLog-9697 ChangeLog-9899 cond.c cond.o config config.cache config.h config.in config.log config.status configure configure.in configure.tgt CONTRIBUTORS COPYING CVS debug.c DEP2 DEPDIR depend.c depend.o dep-in.sed DEPOBJ dep.sed DEPTC doc dw2gencfi.c dw2gencfi.h dw2gencfi.o dwarf2dbg.c dwarf2dbg.h dwarf2dbg.o ecoff.c ecoff.h ecoff.o ehopt.c ehopt.o emul.h emul-target.h expr.c expr.c.cvs expr.h expr.o flonum-copy.c flonum-copy.o flonum.h flonum-konst.c flonum-konst.o flonum-mult.c flonum-mult.o frags.c frags.h frags.o gdbinit.in hash.c hash.h hash.o input-file.c input-file.h input-file.o input-scrub.c input-scrub.o itbl-cpu.h itbl-lex.h itbl-lex.l itbl-ops.c itbl-ops.h itbl-parse.y libtool listing.c listing.h listing.o literal.c literal.o long.s macro.c macro.c.bak macro.h macro.o MAINTAINERS Makefile Makefile.am Makefile.in messages.c messages.o NEWS obj-coff.o obj-format.h obj.h output-file.c output-file.h output-file.o po read.c read.h README read.o sb.c sb.h sb.o site.bak site.exp stabs.c stabs.o stamp-h1 stamp-h.in struc-symbol.h subsegs.c subsegs.h subsegs.o symbols.c symbols.h symbols.o targ-cpu.h targ-env.h tc.h tc-z80.o testsuite write.c write.h write.o doc/as.texinfo(equ<z80>): mention difference with .equiv acinclude.m4 aclocal.m4 app.c app.o as.c as.h as.h.cvs asintl.h as-new as.o atof-generic.c atof-generic.o atof-ieee.o autom4te.cache bignum.h bit_fix.h cgen.c cgen.h ChangeLog ChangeLog-0001 ChangeLog-0203 ChangeLog.~1.2755.~ ChangeLog-9295 ChangeLog-9697 ChangeLog-9899 cond.c cond.o config config.cache config.h config.in config.log config.status configure configure.in configure.tgt CONTRIBUTORS COPYING CVS debug.c DEP2 DEPDIR depend.c depend.o dep-in.sed DEPOBJ dep.sed DEPTC doc dw2gencfi.c dw2gencfi.h dw2gencfi.o dwarf2dbg.c dwarf2dbg.h dwarf2dbg.o ecoff.c ecoff.h ecoff.o ehopt.c ehopt.o emul.h emul-target.h expr.c expr.c.cvs expr.h expr.o flonum-copy.c flonum-copy.o flonum.h flonum-konst.c flonum-konst.o flonum-mult.c flonum-mult.o frags.c frags.h frags.o gdbinit.in hash.c hash.h hash.o input-file.c input-file.h input-file.o input-scrub.c input-scrub.o itbl-cpu.h itbl-lex.h itbl-lex.l itbl-ops.c itbl-ops.h itbl-parse.y libtool listing.c listing.h listing.o literal.c literal.o long.s macro.c macro.c.bak macro.h macro.o MAINTAINERS Makefile Makefile.am Makefile.in messages.c messages.o NEWS obj-coff.o obj-format.h obj.h output-file.c output-file.h output-file.o po read.c read.h README read.o sb.c sb.h sb.o site.bak site.exp stabs.c stabs.o stamp-h1 stamp-h.in struc-symbol.h subsegs.c subsegs.h subsegs.o symbols.c symbols.h symbols.o targ-cpu.h targ-env.h tc.h tc-z80.o testsuite write.c write.h write.o doc/as.texinfo(err): fix typo acinclude.m4 aclocal.m4 app.c app.o as.c as.h as.h.cvs asintl.h as-new as.o atof-generic.c atof-generic.o atof-ieee.o autom4te.cache bignum.h bit_fix.h cgen.c cgen.h ChangeLog ChangeLog-0001 ChangeLog-0203 ChangeLog.~1.2755.~ ChangeLog-9295 ChangeLog-9697 ChangeLog-9899 cond.c cond.o config config.cache config.h config.in config.log config.status configure configure.in configure.tgt CONTRIBUTORS COPYING CVS debug.c DEP2 DEPDIR depend.c depend.o dep-in.sed DEPOBJ dep.sed DEPTC doc dw2gencfi.c dw2gencfi.h dw2gencfi.o dwarf2dbg.c dwarf2dbg.h dwarf2dbg.o ecoff.c ecoff.h ecoff.o ehopt.c ehopt.o emul.h emul-target.h expr.c expr.c.cvs expr.h expr.o flonum-copy.c flonum-copy.o flonum.h flonum-konst.c flonum-konst.o flonum-mult.c flonum-mult.o frags.c frags.h frags.o gdbinit.in hash.c hash.h hash.o input-file.c input-file.h input-file.o input-scrub.c input-scrub.o itbl-cpu.h itbl-lex.h itbl-lex.l itbl-ops.c itbl-ops.h itbl-parse.y libtool listing.c listing.h listing.o literal.c literal.o long.s macro.c macro.c.bak macro.h macro.o MAINTAINERS Makefile Makefile.am Makefile.in messages.c messages.o NEWS obj-coff.o obj-format.h obj.h output-file.c output-file.h output-file.o po read.c read.h README read.o sb.c sb.h sb.o site.bak site.exp stabs.c stabs.o stamp-h1 stamp-h.in struc-symbol.h subsegs.c subsegs.h subsegs.o symbols.c symbols.h symbols.o targ-cpu.h targ-env.h tc.h tc-z80.o testsuite write.c write.h write.o doc/c-z80.texi(equ): redefining a symbol with equ is no longer allowed
* * gas/macros/purge.l: Increment line numbers.Dave Anglin2005-11-253-3/+7
| | | | * gas/macros/purge.s: Add ".data" line.
* Bug gas/1896Dave Anglin2005-11-256-32/+30
| | | | | | | | * config/tc-hppa.c (hppa_fix_adjustable): Don't reject for reduction R_HPPA relocations that are 32-bits wide. * gas/all/redef2.d: Allow "$DATA$" as well as ".data" in matches. * gas/all/weakref1.d: Allow "$CODE$" as well as ".text" in matches. * gas/hppa/reloc/reloc.exp: Adjust regexp for new output.
* bfd/Daniel Jacobowitz2005-11-2320-249/+364
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf32-mips.c (elf_mips_howto_table_rel): Use rightshift 2 for R_MIPS_PC16. (mips_reloc_map): Map BFD_RELOC_16_PCREL_S2 to R_MIPS_PC16. (bfd_elf32_bfd_reloc_type_lookup): Don't handle BFD_RELOC_16_PCREL_S2. * elf64-mips.c (mips_elf64_howto_table_rel): Use rightshift 2 for R_MIPS_PC16. (mips_elf64_howto_table_rela): Likewise. (mips_reloc_map): Map BFD_RELOC_16_PCREL_S2 to R_MIPS_PC16. (bfd_elf64_bfd_reloc_type_lookup): Don't handle BFD_RELOC_16_PCREL_S2. * elfn32-mips.c (elf_mips_howto_table_rel): Use rightshift 2 for R_MIPS_PC16. (elf_mips_howto_table_rela): Likewise. (mips_reloc_map): Map BFD_RELOC_16_PCREL_S2 to R_MIPS_PC16. (bfd_elf32_bfd_reloc_type_lookup): Don't handle BFD_RELOC_16_PCREL_S2. * elfxx-mips.c: Formatting fixes. (mips_elf_calculate_relocation): Handle R_MIPS_GNU_REL16_S2 and R_MIPS_PC16 identically. gas/ * config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL_S2. (macro_build): Complain for invalid branch displacements. (mips_validate_fix): Delete. (md_apply_fix): Re-add pcrel support for branches. Use consistent text for misaligned branch targets. (tc_gen_reloc: Re-add pcrel support for branches. Handle strange BFD pcrel processing. Remove error for unresolved branches. * config/tc-mips.h (TC_VALIDATE_FIX, mips_validate_fix): Delete. gas/testsuite/ * gas/mips/bge.d, gas/mips/bge.s, gas/mips/bgeu.d, gas/mips/bgeu.s, gas/mips/blt.d, gas/mips/blt.s, gas/mips/bltu.d, gas/mips/bltu.s: Reactivate external branch tests. * gas/mips/branch-misc-2.d, gas/mips/branch-misc-2pic.d, gas/mips/branch-misc-2-64.d, gas/mips/branch-misc-2pic-64.d: New tests. * gas/mips/branch-misc-2.l, gas/mips/branch-misc-2pic.l, gas/testsuite/gas/mips/branch-misc-2pic.s: Remove. * gas/mips/mips.exp: Adjust branch-misc-2 tests. Add 64-bit variants.
* Fix PR 994, core dump with section switching.Jim Wilson2005-11-232-17/+7
| | | | | * config/tc-ia64.c (slot_index): Emit an error instead of a warning when the frag chain is broken by section switching.
* Fix PR 1889, infinite loop compiling code with bad user template.Jim Wilson2005-11-232-13/+22
| | | | | * config/tc-ia64.c (emit_one_bundle): Perform last_slot < 0 check even when manual_bundling isn't set.
* * gas/all/quad.d: Add -j "\$DATA\$". Modify regexp to check forDave Anglin2005-11-233-4/+10
| | | | | "$DATA$" as well as ".data". * gas/all/sleb128.d: Likewise.
* Bug gas/1894 Bug gas/1895Dave Anglin2005-11-214-6/+12
| | | | | | | * gas/all/gas.exp (redef3): xfail on hppa*-*-hpux*. * gas/all/redef.d: Add -j "\$DATA\$". Modify regexp to check for "$DATA$" as well as ".data". * gas/all/redef2.d: Likewise.
* Bug gas/1879Dave Anglin2005-11-209-37/+49
| | | | | | | | | | | * gas/all/weakref1.d: Check for "$CODE$" as well as ".text". * gas/all/weakref1.s: Indent "-ld1 = l". * gas/all/weakref1g.d: Remove --no-sort option. * gas/all/weakref1l.d: Likewise. * gas/all/weakref1u.d: Likewise. Sort expected results. * gas/all/weakref1w.d: Likewise. * gas/all/weakref2.s: Indent directives. * gas/all/weakref3.s: Likewise.
* * config/bfin-defs.h (IS_BREG, IS_LREG): New macros.Jie Zhang2005-11-183-0/+18
| | | | | * config/bfin-parse.y (asm_1): Check register type for load immediate instruction.
* * config/tc-ppc.c (ppc_frob_file_before_adjust): Do not referenceAlexandre Oliva2005-11-173-2/+9
| | | | | dotname. * write.c (write_object_file): Do not remove used weakrefd.
* gas/Jan Beulich2005-11-172-4/+23
| | | | | | | 2005-11-17 Jan Beulich <jbeulich@novell.com> * dw2gencfi.c (dot_cfi): Put argument parsing for cases DW_CFA_restore and DW_CFA_undefined in a loop.
* gas/Jan Beulich2005-11-1718-19/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-17 Jan Beulich <jbeulich@novell.com> * symbols.h (S_CLEAR_VOLATILE): Declare. * symbols.c (colon): Also accept redefinable symbols for redefinition. Clone them before modifying. (S_CLEAR_VOLATILE): Define. * cond.c (s_ifdef): Also test for equated symbols. * read.c (s_comm_internal): Also exclude non-redefinable equated symbols. Clone redefinable ones before modifying. (s_weakref): Clone redefinable symbols before modifying. * doc/internals.texi: Document sy_volatile, sy_forward_ref, S_IS_VOLATILE, S_SET_VOLATILE, S_CLEAR_VOLATILE, S_IS_FORWARD_REF, and S_SET_FORWARD_REF. gas/testsuite/ 2005-11-17 Jan Beulich <jbeulich@novell.com> * gas/all/cond.s: Also check ifdef works on equates and commons. * gas/all/cond.l: Adjust. * gas/all/redef2.s: Also test redefining equate to label. * gas/all/redef2.d: Adjust. * gas/all/redef3.[sd]: New. * gas/all/redef4.s: New. * gas/all/redef5.s: New. * gas/elf/redef.s: New, copied from original gas/all/redef2.s. * gas/elf/redef.d: Remove #source. * gas/all/gas.exp: Remove exclusion of iq2000-*-* from and adjust xfails for redefinition tests. Run new tests. Exclude alpha*-*-*, mips*-*-*, *c54x*-*-* from weakref tests.
* * gas/all/weakref1.s: Use "=" instead of ".set" for equivalence.Richard Henderson2005-11-162-1/+5
|
* * config/tc-hppa.c (pa_comm): Set bfd_com_section segment.Alan Modra2005-11-162-1/+5
|
* * configure.tgt (i386-*-gnu*): Set em=gnu.Alan Modra2005-11-164-1/+12
| | | | | * config/te-gnu.h: New file. * config/tc-i386.c: Don't use '/' as comment char for TE_GNU.
* * config/tc-ppc.c (ppc_pe_comm): Set bfd_com_section segment.Alan Modra2005-11-164-11/+11
| | | | | | * config/tc-alpha.c (s_alpha_comm): Likewise. Also, remove redundant check. * read.c (s_lsym): Remove non-BFD assembler sym handling.
* * read.c (s_comm_internal): Set bfd_com_section segment.Alan Modra2005-11-153-6/+9
| | | | | | (s_mri_common): Likewise. * write.c (write_object_file): Remove non-BFD assembler common sym handling.
* gas/Daniel Jacobowitz2005-11-156-26/+49
| | | | | | | | * config/tc-arm.c (s_arm_unwind_save_core): Don't emit an extra opcode if r4-r15 are not saved. gas/testsuite/ * gas/arm/unwind.s, gas/arm/unwind.d, gas/arm/unwind_vxworks.d: Add a test for saving only the low registers.
* * symbols.c (S_GET_VALUE): Remove non-BFD assembler recursion guard.Alan Modra2005-11-142-9/+4
|
* * gas/testsuite/gas/mips/mips16e-jrc.d: Tighten file formatThiemo Seufer2005-11-142-9/+16
| | | | check, relax whitespace checking.
* gas/Jan Beulich2005-11-142-40/+71
| | | | | | | | | | | 2005-11-14 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (AR_FCR, AR_EFLAG, AR_CSD, AR_SSD, AR_CFLG, AR_FSR, AR_FIR, AR_FDR, AR_CCV, AR_EC): Define. (ar): Use AR_* instead of literals. (CR_DCR, CR_ITM, CR_IVA, CR_PTA, CR_GPTA, CR_LID, CR_ITV, CR_PMV, CR_CMCV): Define. (cr): Use CR_* instead of literals.
* gas/Jan Beulich2005-11-142-72/+62
| | | | | | | | | | | | | | | | | | | | | 2005-11-14 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (md): Rename regsym to indregsym and move it to the end of the structure. (ar): Field regnum is unsigned. (cr): Likewise: (indirect_reg): Likewise. (declare_register_set): Parameter regnum is unsigned. (declare_register): Parameter numregs and base_regnum are unsigned. So is the local loop variable. (md_begin): Restrict scope of local variable regnum, which also is unsigned. Replace loops with function calls where possible. Re-order things so that register groups are kept together. Remove all uses of regsym except for indirect registers. Replace use of regsym by indregsym for indirect registers. (ia64_optimize_expr): Replace use of regsym by indregsym for indirect registers, with appropriate bias.
* * mips.h: Assign 'm'/'M' codes to MIPS16e save/restoreThiemo Seufer2005-11-146-1/+294
| | | | | | | | | | | | | | | | | instructions. Define MIPS16_ALL_ARGS and MIPS16_ALL_STATICS for save/restore encoding of the args field. * mips16-opc.c: Add MIPS16e save/restore opcodes. * mips-dis.c (print_mips16_insn_arg): Handle printing of 'm'/'M' codes for save/restore. * config/tc-mips.c (mips16_ip): Add handling of 'm' and 'M' codes for the MIPS16e save/restore instructions. * gas/mips/mips.exp: Run new save/restore tests. * gas/testsuite/gas/mips/mips16e-save.s: New test for generating different styles of save/restore instructions. * gas/testsuite/gas/mips/mips16e-save.d: New.
* gas/Jan Beulich2005-11-113-2/+10
| | | | | | | | 2005-11-11 Jan Beulich <jbeulich@novell.com> * doc/Makefile.am: Make asconfig.texi writeable before trying to write to it. * doc/Makefile.in: Refresh.
* gas/Jan Beulich2005-11-105-10/+61
| | | | | | | | | | | | | 2005-11-10 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (intel_e11): Don't special-case segment registers in brackets. gas/testsuite/ 2005-11-10 Jan Beulich <jbeulich@novell.com> * gas/i386/intelbad.d: Add tests for ill registers in brackets. * gas/i386/intelbad.l: Adjust.
* * config/tc-arm.c (BAD_ADDR_MODE): Define.Nick Clifton2005-11-106-14/+55
| | | | | | | | | | | | | | | | (arm_reg_parse_multi): Return NULL rather than FAIL. (arm_reg_parse): Fix comment, the function returns FAIL rather than NULL if it is unable to parse the register name. (do_ldrex): Use BAD_ADDR_MODE. Change error message for PC-relative addressing. (do_strex): Likewise. (do_t_ldrex): Use BAD_ADDR_MODE. (do_t_strex): Likewise. * gas/arm/archv6t2-bad.s: Add tests of badly composed ldrex and strex instructions. * gas/arm/archv6t2-bad.l: Add expected error messages. * gas/arm/r15-bad.l: Adjust error messages for r15 usage in ldrex and strex instructions.
* * config/tc-sparc.c (isoctal): Fix thinko.Nick Clifton2005-11-082-1/+5
|
* * gas/all/cofftag.s: Convert numbers in .type directives to decimal.Nick Clifton2005-11-083-7/+15
| | | | * gas/all/gas.exp: enable cofftag-test for z80-*-coff.
* * expr.c (operand <case '$'>): Use DOLLAR_AMBIGU rather than flag_mri_m68kNick Clifton2005-11-083-3/+14
| | | | | as condition for parsing the '$' as a prefix. * as.h (DOLLAR_AMBIGU): Define if needed.
* Document ms2 additionNathan Sidwell2005-11-081-0/+2
|
* bfd:Nathan Sidwell2005-11-0816-19/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ms2. * archures.c (bfd_mach_ms2): Define. * cpu-ms1.c (arch_info_struct): Add ms2 stanza. * elf32-ms1.c (elf32_ms1_machine): Add ms2 case. (ms1_elf_merge_private_bfd_data): Remove unused variables. Add correct merging logic, with workaround. (ms1_elf_print_private_bfd_data): Add ms2 case. * reloc.c (BFD_RELOC_MS1_PCINSN8): Add ms2 specific reloc. * libbfd.h: Regenerated. * bfd-in2.h: Regenerated. cpu: Add ms2 * ms1.cpu (ms2, ms2bf): New architecture variant, cpu, machine and model. (f-uu8, f-uu1, f-imm16l, f-loopo, f-cb1sel, f-cb2sel, f-cb1incr, f-cb2incr, f-rc3): New fields. (LOOP): New instruction. (JAL-HAZARD): New hazard. (imm16o, loopsize, imm16l, rc3, cb1sel, cb2sel, cb1incr, cb2incr): New operands. (mul, muli, dbnz, iflush): Enable for ms2 (jal, reti): Has JAL-HAZARD. (ldctxt, ldfb, stfb): Only ms1. (fbcb): Only ms1,ms1-003. (wfbinc, mefbinc, wfbincr, mwfbincr, fbcbincs, mfbcbincs, fbcbincrs, mfbcbincrs): Enable for ms2. (loop, loopu, dfbc, dwfb, fbwfb, dfbr): New ms2 insns. * ms1.opc (parse_loopsize): New. (parse_imm16): hi16/lo16 relocs are applicable to IMM16L. (print_pcrel): New. gas: Add ms2. * config/tc-ms1.c (ms1_mach_bitmask): Initialize to MS1. (ms1_architectures): Add ms2. (md_parse_option): Add ms2. (md_show_usage): Add ms2. (md_assemble): Add JAL_HAZARD detection logic. (md_cgen_lookup_reloc): Add MS1_OPERAND_LOOPSIZE case. * doc/c-ms1.texi: New. * doc/all.texi: Add MS1. * doc/Makefile.am (CPU_DOCS): Add c-ms1.texi. * doc/Makefile.in: Rebuilt. * doc/Makefile: Rebuilt. gas/testsuite: Add ms2. * gas/ms1/allinsn.d: Adjust pcrel disassembly. * gas/ms1/errors.exp: Fix target triplet. * gas/ms1/ms1-16-003.d: Adjust pcrel disassembly. * gas/ms1/ms1-16-003.s: Tweak label. * gas/ms1/ms1.exp: Adjust target triplet. Add ms2 test. * gas/ms1/ms2.d, gas/ms1/ms2.s: New. * gas/ms1/relocs.d: Adjust expected machine name and pcrel disassembly. * gas/ms1/relocs.exp: Adjust target triplet. include: Add ms2. * elf/ms1.h (EF_MS1_CPU_MS2): New. opcodes: Add ms2. * ms1-asm.c, ms1-desc.c, ms1-desc.h, ms1-dis.c, ms1-ibld.c, ms1-opc.c, ms1-opc.h: Regenerated.
* * configure: Regenerate after modifying bfd/warning.m4.Steve Ellcey2005-11-072-6/+16
|
* PR gas/1804Dave Anglin2005-11-072-6/+19
| | | | | * config/tc-hppa.c (md_apply_fix): Use number_to_chars_bigendian to output constant data.
* * doc/Makefile.am (asconfig.texi): Set top_srcdir.Mark Mitchell2005-11-074-8/+15
| | | | | * doc/Makefile.in: Regenerated. * doc/as.texinfo: Document "@FILE".
* PR binutils/1568Nick Clifton2005-11-072-18/+68
| | | | | | * config/obj-coff.c (obj_coff_section): Set readonly flag with the 'x' attribute. Remember the actions of the 'w' and 'n' attributes and do not allow the 'x','s' or 'd' attributes to change them.
* gas/testsuite/Jan Beulich2005-11-076-0/+57
| | | | | | | | | 2005-11-07 Jan Beulich <jbeulich@novell.com> * gas/all/redef2.[sd]: New. * gas/all/gas.exp: Run new test. * gas/elf/redef.d: New. * gas/elf/elf.exp: Run new test.
* * gas/i386/divide.s: Test line comment starting with '/'.Alan Modra2005-11-075-14/+13
| | | | | | * gas/i386/divide.d: Pass --divide to gas. * gas/i386/intelok.d: Likewise. * gas/i386/i386.exp (divide): Run for all targets.
* * config/tc-i386.h (tc_comment_chars): Define.Alan Modra2005-11-074-18/+64
| | | | | | | | * config/tc-i386.c (line_comment_chars): Use '/' unconditionally. (i386_comment_chars): Add. (md_parse_options): Process OPTION_DIVIDE. (md_show_usage): Describe --divide option. * doc/c-i386.texi: Document --divide option.
* * expr.c (op_encoding): Map '=' to O_SINGLE_EQ, if defined.Alan Modra2005-11-073-3/+13
| | | | * config/tc-z80.h: Define O_SINGLE_EQ as O_eq.
* * macro.c (buffer_and_nest): Skip labels regardless ofAlan Modra2005-11-072-41/+43
| | | | NO_PSEUDO_DOT and flag_m68k_mri.
* * gas/z80/z80.exp: Added "suffix" test.Alan Modra2005-11-064-2/+37
| | | | | * gas/z80/suffix.s: New file. * gas/z80/suffix.d: New file.