aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2003-10-05Revert -f changeNick Clifton2-8/+6
2003-10-042003-10-04 Christian Groessler <chris@groessler.org>Christian Groessler16-13/+171
* gas/z8k/calr-backf.s: New file. * gas/z8k/calr-forwf.s: New file. * gas/z8k/calr.d: New file. * gas/z8k/calr.s: New file. * gas/z8k/djnz-backf.s: New file. * gas/z8k/djnz-backf2.s: New file. * gas/z8k/djnz.d: New file. * gas/z8k/djnz.s: New file. * gas/z8k/jr-back.d: New file. * gas/z8k/jr-forw.d: New file. * gas/z8k/jr-back.s: Fix displacement length. Add some more jumps for jr-back.d. * gas/z8k/jr-backf.s: Fix displacement length. * gas/z8k/jr-forw.s: Fix displacement length. Add some more jumps for jr-forw.d. * gas/z8k/jr-forwf.s: Fix displacement length. * gas/z8k/z8k.exp: Run new tests.
2003-10-042003-10-04 Christian Groessler <chris@groessler.org>Christian Groessler2-10/+59
* tc-z8k.c (newfix): Tell fix_new_exp about pc relativeness. (md_apply_fix3): Fix R_JR, R_DISP7, and R_CALLR cases. (md_pcrel_from): This function now gets called. Supply return value.
2003-10-04Convert to ISO C90Nick Clifton2-261/+254
2003-10-04(std_shortopts): Remove 'f'.Nick Clifton2-1/+13
(std_longopts): Add 'f'. Doing this prevents -f<foo> being acecpted as an alias for -f
2003-10-04(obj_coff_section [BEF_ASSEMBLER]): Make 'r' mean readonly data.Nick Clifton2-1/+6
2003-10-01 * config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):Thiemo Seufer2-9/+15
Unbreak overflow checks.
2003-10-012003-10-01 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-2/+6
* config/tc-mips.c (s_cpreturn): Correct errors in comment.
2003-10-01 * config/tc-mips.c (macro_build_ldst_constoffset): Fix sign extensionThiemo Seufer13-10/+972
tests. (load_register): Likewise. (macro): Likewise. * gas/mips/ldstla-32-shared.d: New file. * gas/mips/ldstla-32.d: New file. * gas/mips/ldstla-32.s: New file. * gas/mips/ldstla-n32-shared.d: New file. * gas/mips/ldstla-n32.d: New file. * gas/mips/ldstla-n32.s: New file. * gas/mips/ldstla-n64-shared.d: New file. * gas/mips/ldstla-n64.d: New file. * gas/mips/ldstla-n64.s: New file. * gas/mips/mips.exp: Add ld-st-la tests.
2003-09-30[ gas/ChangeLog ]Chris Demetriou11-4/+71
2003-09-30 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (mips_ip): Capitalize first word of existing condition code warning, and add condition code warnings for .ps instructions, and for bc1any[24][tf]. [ gas/testsuite/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * lib/gas-defs.exp (run_dump_test): If stderr file is specified and there was no stderr output, compare anyway (i.e., cause a test failure). * gas/mips/mips64-mips3d.s: Add some new instructions to test warnings. * gas/mips/mips64-mips3d.l: New file. * gas/mips/mips64-mips3d.d: Use mips64-mips3d.l, and update for changes to mips64-mips3d.s. * gas/mips/mips64-mips3d-incl.d: Likewise. * gas/mips/set-arch.l: New file. * gas/mips/set-arch.d: Specify set-arch.l as stderr output to check. * gas/mips/mips5.l: Make error messages match source.
2003-09-302003-09-30 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+6
* NEWS: Mention support for MIPS64 Release 2.
2003-09-30[ binutils/ChangeLog ]Chris Demetriou2-0/+6
2003-09-30 Chris Demetriou <cgd@broadcom.com> * NEWS: Add an indication of the cutoff for 2.14. [ gas/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * NEWS: Add an indication of the cutoff for 2.14. [ ld/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * NEWS: Add an indication of the cutoff for 2.14.
2003-09-30[ bfd/ChangeLog ]Chris Demetriou18-15/+1016
2003-09-30 Chris Demetriou <cgd@broadcom.com> * archures.c (bfd_mach_mipsisa64r2): New define. * bfd-in2.h: Regenerate. * aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mipsisa64r2. * cpu-mips.c (I_mipsisa64r2): New enum value. (arch_info_struct): Add entry for I_mipsisa64r2. * elfxx-mips.c (_bfd_elf_mips_mach) (_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_64R2. (mips_set_isa_flags): Add bfd_mach_mipsisa64r2 case. (mips_mach_extensions): Add entry for bfd_mach_mipsisa64r2. [ binutils/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2. [ gas/Changelog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * configure.in (mipsisa64r2, mipsisa64r2el, mipsisa64r2*): New CPUs. * configure: Regenerate. * config/tc-mips.c (imm2_expr): New variable. (md_assemble, mips16_ip): Initialize imm2_expr. (ISA_HAS_64BIT_REGS, ISA_HAS_DROR, ISA_HAS_ROR): Add ISA_MIPS64R2. (macro_build): Handle +A, +B, +C, +E, +F, +G, and +H format operands. (macro): Handle M_DEXT and M_DINS. (validate_mips_insn): Handle +E, +F, +G, +H, and +I format operands. (mips_ip): Likewise. (OPTION_MIPS64R2): New define. (md_longopts): New entry for -mips64r2 (OPTION_MIPS64R2). OPTION_ASE_BASE): Increase to compensate for OPTION_MIPS64R2. (md_parse_option): Handle OPTION_MIPS64R2. (s_mipsset): Handle setting "mips64r2" ISA. (mips_cpu_info_table): Add mips64r2. (md_show_usage): Document -mips64r2 option. * doc/as.texinfo: Docuemnt -mips64r2 option. * doc/c-mips.texi: Likewise. [ gas/testsuite/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * gas/mips/cp0-names-mips64r2.d: New file. * gas/mips/cp0sel-names-mips64r2.d: New file. * gas/mips/elf_arch_mips64r2.d: New file. * gas/mips/hwr-names-mips64r2.d: New file. * gas/mips/mips32r2-ill-fp64.l: New file. * gas/mips/mips32r2-ill-fp64.s: New file. * gas/mips/mips64r2-ill.l: New file. * gas/mips/mips64r2-ill.s: New file. * gas/mips/mips64r2.d: New file. * gas/mips/mips64r2.s: New file. * gas/mips/mips.exp: Define "mips64r2" arch, and run new tests. [ include/elf/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * mips.h (E_MIPS_ARCH_64R2): New define. [ include/opcode/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * mips.h: Document +E, +F, +G, +H, and +I operand types. Update documentation of I, +B and +C operand types. (INSN_ISA64R2, ISA_MIPS64R2, CPU_MIPS64R2): New defines. (M_DEXT, M_DINS): New enum values. [ ld/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * ldmain.c (get_emulation): Ignore "-mips64r2". [ ld/testsuite/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * ld-mips-elf/mips-elf-flags.exp: Add tests for combinations with MIPS64r2. [ opcodes/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * mips-dis.c (mips_arch_choices): Add entry for "mips64r2" (print_insn_args): Add handing for +E, +F, +G, and +H. * mips-opc.c (I65): New define for MIPS64r2. (mips_builtin_opcodes): Add "dext", "dextm", "dextu", "dins", "dinsm", "dinsu", "drotl", "drotr", "drotr32", "drotrv", "dsbh", and "dshd" for MIPS64r2. Adjust "dror", "dror32", and "drorv" to be supported on MIPS64r2.
2003-09-292003-09-29 Dave Brolley <brolley@redhat.com>Dave Brolley3-5/+10
* gas/frv/allinsn.s (nldqi): Removed. Replaced with nop. * gas/frv/allinsn.d (nldqi): Ditto.
2003-09-27 * config/tc-hppa.c (pa_ip): Check for invalid 64-bit conditions.Dave Anglin2-7/+9
2003-09-262003-09-26 Matt Thomas <matt@3am-software.com>Jason Thorpe2-2/+13
* config/tc-vax.c (md_shortopts): Fix a typo. Remove 'K'. (OPTION_PIC): Define. (md_longopts): Add "pic" option. (md_parse_option): Change 'K' to OPTION_PIC.
2003-09-262003-09-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu22-32/+111
* gas/ia64/alias-ilp32.d: New file. * gas/ia64/secname-ilp32.d: Likewise. * gas/ia64/unwind-ilp32.d: Likewise. * gas/ia64/dependency-1.d: Support ILP32. * gas/ia64/dv-branch.d: Likewise. * gas/ia64/dv-imply.d: Likewise. * gas/ia64/dv-mutex.d: Likewise. * gas/ia64/dv-safe.d: Likewise. * gas/ia64/dv-srlz.d: Likewise. * gas/ia64/global.d: Likewise. * gas/ia64/ldxmov-1.d: Likewise. * gas/ia64/ltoff22x-1.d:Likewise. * gas/ia64/opc-a.d: Likewise. * gas/ia64/opc-b.d: Likewise. * gas/ia64/opc-f.d: Likewise. * gas/ia64/opc-i.d: Likewise. * gas/ia64/opc-m.d: Likewise. * gas/ia64/opc-x.d: Likewise. * gas/ia64/order.d: Likewise. * gas/ia64/regs.d: Likewise. * gas/ia64/tls.d: Likewise. * gas/ia64/ia64.exp: Run "secname-ilp32", "unwind-ilp32" and "alias-ilp32" for ia64-*-hpux*.
2003-09-25 * gas/cris/rd-pcrel2.d: Update for changes in section flagHans-Peter Nilsson2-0/+17
defaults.
2003-09-23 * config/obj-elf.c (obj_elf_change_section): Adjust forAlan Modra2-16/+31
_bfd_elf_get_sec_type_attr changes. Allow SHF_MERGE and SHF_STRINGS to be set when defaults are not. Don't set attr from defaults if old_sec.
2003-09-19 * gas/mips/elfel-rel.d: Add ABI specification.Thiemo Seufer4-0/+9
* gas/mips/elfel-rel2.d: Likewise. * gas/mips/elfel-rel3.d: Likewise.
2003-09-19 * gas/mips/rm7000.s: Let objdump print trailing dots.Thiemo Seufer2-0/+6
2003-09-19 * gas/mips/empic3_e.s: Fix typo.Thiemo Seufer2-2/+6
2003-09-18 * config/tc-mips.c (macro_build_ldst_constoffset): Don't silentlyThiemo Seufer2-0/+25
truncate values which won't fit im 32 bits. (load_register): Likewise. (macro): Likewise.
2003-09-17 * config/tc-msp430.c (MAX_OP_LEN): Set to 256.Alan Modra2-16/+20
(msp430_operands): Remove redundant l2[16] within switch-case.
2003-09-16 * configure.in: Handle arm-*-rtems* and thumb-*rtems*.Alan Modra3-3/+8
* configure: Regenerate.
2003-09-14 * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): Remove.Thiemo Seufer2-30/+49
(macro_build_ldst_constoffset): Sign-extend 32-bit constants. Change the function prototype. (load_register): Likewise. Simplify the checks for sign-extended constants. (macro): Likewise. Fix code generation for 64-bit address constants outside the 32-bit compatibility space. Adjust macro_build_ldst_constoffset calls. (s_cprestore): Adjust macro_build_ldst_constoffset call.
2003-09-12 * config/tc-xtensa.c (insn_labels, free_insn_labels, saved_insn_labels,Bob Wilson3-243/+223
literal_syms): New global variables. (xtensa_define_label, add_target_symbol, xtensa_find_label, map_over_defined_symbols, is_loop_target_label, xtensa_mark_target_fragments, xtensa_move_frag_symbol, xtensa_move_frag_symbols, defined_symbols, branch_targets): Delete. (xtensa_begin_directive): Call md_flush_pending_output. Move symbols from insn_labels to saved_insn_labels when entering a literal region. (xtensa_end_directive): Call md_flush_pending_output. Restore insn_labels list when leaving a literal region. (xtensa_literal_position): Call xtensa_clear_insn_labels. (xtensa_literal_pseudo): Add check to disallow .literal inside a literal region. Move insn_labels to saved_insn_labels and then restore insn_labels on exit. (xg_add_branch_and_loop_targets): Replace add_target_symbol calls with code to set is_loop_target or is_branch_target flag on the symbol (xtensa_create_literal_symbol): Call xtensa_add_literal_sym. (xtensa_add_literal_sym, xtensa_add_insn_label, xtensa_clear_insn_labels): New functions. (xtensa_move_labels): Remove old_frag and old_offset arguments. Add loops_ok argument. Rewrite to use insn_labels list instead of calling xtensa_find_label and to check the is_loop_target flag on symbols when loops_ok is false. (xtensa_frob_label): Remove call to xtensa_define_label. Add call to either xtensa_add_literal_sym or xtensa_add_insn_label. Adjust call to xtensa_move_labels. Propagate is_branch_target and is_loop_target flags from symbols to frags. (xtensa_flush_pending_output): Call xtensa_clear_insn_labels. (md_assemble): Use xtensa_move_labels with loops_ok = FALSE when aligning a loop instruction. Adjust call to xtensa_move_labels for aligning entry instructions. Add call to xtensa_clear_insn_labels. (xtensa_end): Remove call to xtensa_mark_target_fragments. (xtensa_move_literals): Replace xtensa_move_frag_symbols call with code to use new literal_syms list. * config/tc-xtensa.h (xtensa_symfield_type): Add is_loop_target and is_branch_target flags.
2003-09-10 * config/tc-xtensa.c (xtensa_mark_literal_pool_location): RemoveBob Wilson2-50/+45
"move_labels" argument and corresponding call to xtensa_move_labels. (md_assemble): Add a separate call to xtensa_move_labels and remove argument for call to xtensa_mark_literal_pool_location. (xtensa_literal_position, xtensa_switch_to_literal_fragment): Fix calls to xtensa_mark_literal_pool_location. (xtensa_create_local_symbol): Delete and inline the code into... (xtensa_create_literal_symbol): ...here. (xtensa_frob_label): Combine conditionals. (expression_maybe_register, xtensa_symbol_new_hook, fix_new_exp_in_seg): Use symbol_get_tc.
2003-09-09 * config/tc-xtensa.c (xtensa_literal_pseudo): Remove code forBob Wilson2-196/+9
combining identical literals. (expression_maybe_register): Remove call to find_lit_sym_translation. (is_duplicate_expression, cache_literal, is_duplicate_literal, add_lit_sym_translation, find_lit_sym_translation): Delete.
2003-09-07Fix description of comment character for PPC.Nick Clifton2-1/+5
2003-09-06 PR savannah/4358:Stephane Carrez2-1/+7
* config/tc-m68hc11.c (s_m68hc11_relax): Use 2 for size to avoid overflow complain.
2003-09-05gas/Richard Sandiford6-9/+49
* config/tc-frv.c (md_pcrel_from_section): Heed TC_FORCE_RELOCATION. gas/testsuite/ * gas/frv/reloc1.[sd]: New test. * gas/frv/allinsn.exp: Run it.
2003-09-04Add binutils support for v850e1 processorNick Clifton8-3/+133
2003-09-04 * config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ANY to existingAlan Modra2-8/+19
ppc_cpu selection rather than replacing. (ppc_set_cpu): Ignore and preserve PPC_OPCODE_ANY in ppc_cpu. (md_begin): When PPC_OPCODE_ANY, insert all opcodes in ppc_hash.
2003-09-03Add *kfreebsd-gnu configuration supportNick Clifton5-15/+31
2003-09-03Use bfd_map_over_sections to walk section chain.Nick Clifton64-89/+88
Do not dump the contents of an empty section.
2003-09-02 * configure.in: Update AC_PREREQ to 2.57. Use AC_CONFIG_FILESDaniel Jacobowitz6-4058/+9706
and AC_CONFIG_COMMANDS instead of the three-argument AC_OUTPUT. Specify AC_CONFIG_AUX_DIR. * aclocal.m4: Regenerated with aclocal-1.7. * configure: Regenerated with autoconf 2.57. * Makefile.in, doc/Makefile.in: Regenerated with automake-1.7.
2003-09-01* gas/mips/elf-rel-got-n32.d: Fix ulw and usw patterns forMaciej W. Rozycki5-192/+200
little-endian. * gas/mips/elf-rel-got-n64.d: Likewise. * gas/mips/elf-rel-xgot-n32.d: Likewise. * gas/mips/elf-rel-xgot-n64.d: Likewise.
2003-08-29s/.cfi_gnu_window_save/.cfi_window_save/gJakub Jelinek5-6/+6
2003-08-29 * dw2gencfi.c (cfi_pseudo_table): Add cfi_gnu_window_save.Jakub Jelinek11-4/+251
(dot_cfi, output_cfi_insn): Handle DW_CFA_GNU_window_save. (output_cie): Don't use DW_EH_PE_pcrel if neither DIFF_EXPR_OK nor tc_cfi_emit_pcrel_expr are defined. (output_fde): Use tc_cfi_emit_pcrel_expr if available and DIFF_EXPR_OK is not defined. * config/tc-sparc.h (TARGET_USE_CFIPOP): Define. (tc_cfi_frame_initial_instructions, tc_regname_to_dw2regnum, tc_cfi_emit_pcrel_expr): Define. (sparc_cfi_frame_initial_instructions, sparc_regname_to_dw2regnum, sparc_cfi_emit_pcrel_expr): New prototypes. (sparc_cie_data_alignment): New decl. (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Define. * config/tc-sparc.c: Include dw2gencfi.h. (sparc_cie_data_alignment): New variable. (md_begin): Initialize it. (sparc_cfi_frame_initial_instructions): New function. (sparc_regname_to_dw2regnum): Likewise. (sparc_cfi_emit_pcrel_expr): Likewise. * doc/as.texinfo: Document .cfi_gnu_window_save. * config/tc-sparc.c (s_common): Cast last argument to long and change format string to shut up warning. testsuite/ * gas/cfi/cfi-sparc-1.s: New test. * gas/cfi/cfi-sparc-1.d: New test. * gas/cfi/cfi-sparc64-1.s: New test. * gas/cfi/cfi-sparc64-1.d: New test. * gas/cfi/cfi.exp: Run them.
2003-08-262003-08-25 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2-2/+6
* doc/c-i860.texi: Update text about relocatable address expansions.
2003-08-252003-08-24 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2-2/+8
* config/tc-i860.c (md_assemble): Use isrc2 from the original instruction when expanding E_ADDR.
2003-08-21Updated translationsNick Clifton2-156/+132
2003-08-19 * config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ISEL andAlan Modra2-1/+6
PPC_OPCODE_RFMCI to -m440 selected ppc_cpu.
2003-08-19Add support for unindexed form of Addressing Mode 5Nick Clifton6-9/+150
2003-08-19 * config/tc-ppc.c (md_parse_option): Handle -m440.Alan Modra3-1/+15
(md_apply_fix3): Warning fix. (md_show_usage): Add -m440. * doc/c-ppc.texi: Document -m440.
2003-08-17include/opcode/ChangeLog:Jason Eckhardt5-3/+32
2003-08-16 Jason Eckhardt <jle@rice.edu> * i860.h (fmov.ds): Expand as famov.ds. (fmov.sd): Expand as famov.sd. (pfmov.ds): Expand as pfamov.ds. gas/testsuite/ChangeLog: 2003-08-16 Jason Eckhardt <jle@rice.edu> * gas/i860/pseudo-ops01.{s,d}: New files. * gas/i860/i860.exp: Execute the new test above. * gas/i860/README.i860: Mention that pseudo-ops need more testing and remove the align fill defect from the list.
2003-08-16 * read.c (s_print): Check for NULL.Alan Modra2-53/+58
2003-08-16 * write.c (fixup_segment): When handling an expression involvingAlan Modra2-9/+9
the subtraction of two symbols in the same segment, don't clear fx_pcrel except for TC_M68K.
2003-08-14Update regexp for destination address of unrelocated branch instructions soNick Clifton3-5/+11
that they point to themselves.