summaryrefslogtreecommitdiff
path: root/gas
Commit message (Collapse)AuthorAgeFilesLines
* [ bfd/ChangeLog ]Chris Demetriou2003-09-3018-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-29 Dave Brolley <brolley@redhat.com>Dave Brolley2003-09-293-5/+10
| | | | | * gas/frv/allinsn.s (nldqi): Removed. Replaced with nop. * gas/frv/allinsn.d (nldqi): Ditto.
* * config/tc-hppa.c (pa_ip): Check for invalid 64-bit conditions.Dave Anglin2003-09-272-7/+9
|
* 2003-09-26 Matt Thomas <matt@3am-software.com>Jason Thorpe2003-09-262-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-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2003-09-2622-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*.
* * gas/cris/rd-pcrel2.d: Update for changes in section flagHans-Peter Nilsson2003-09-252-0/+17
| | | | defaults.
* * config/obj-elf.c (obj_elf_change_section): Adjust forAlan Modra2003-09-232-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.
* * gas/mips/elfel-rel.d: Add ABI specification.Thiemo Seufer2003-09-194-0/+9
| | | | | * gas/mips/elfel-rel2.d: Likewise. * gas/mips/elfel-rel3.d: Likewise.
* * gas/mips/rm7000.s: Let objdump print trailing dots.Thiemo Seufer2003-09-192-0/+6
|
* * gas/mips/empic3_e.s: Fix typo.Thiemo Seufer2003-09-192-2/+6
|
* * config/tc-mips.c (macro_build_ldst_constoffset): Don't silentlyThiemo Seufer2003-09-182-0/+25
| | | | | | truncate values which won't fit im 32 bits. (load_register): Likewise. (macro): Likewise.
* * config/tc-msp430.c (MAX_OP_LEN): Set to 256.Alan Modra2003-09-172-16/+20
| | | | (msp430_operands): Remove redundant l2[16] within switch-case.
* * configure.in: Handle arm-*-rtems* and thumb-*rtems*.Alan Modra2003-09-163-3/+8
| | | | * configure: Regenerate.
* * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): Remove.Thiemo Seufer2003-09-142-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.
* * config/tc-xtensa.c (insn_labels, free_insn_labels, saved_insn_labels,Bob Wilson2003-09-123-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.
* * config/tc-xtensa.c (xtensa_mark_literal_pool_location): RemoveBob Wilson2003-09-102-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.
* * config/tc-xtensa.c (xtensa_literal_pseudo): Remove code forBob Wilson2003-09-092-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.
* Fix description of comment character for PPC.Nick Clifton2003-09-072-1/+5
|
* PR savannah/4358:Stephane Carrez2003-09-062-1/+7
| | | | | * config/tc-m68hc11.c (s_m68hc11_relax): Use 2 for size to avoid overflow complain.
* gas/Richard Sandiford2003-09-056-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.
* Add binutils support for v850e1 processorNick Clifton2003-09-048-3/+133
|
* * config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ANY to existingAlan Modra2003-09-042-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.
* Add *kfreebsd-gnu configuration supportNick Clifton2003-09-035-15/+31
|
* Use bfd_map_over_sections to walk section chain.Nick Clifton2003-09-0364-89/+88
| | | | Do not dump the contents of an empty section.
* * configure.in: Update AC_PREREQ to 2.57. Use AC_CONFIG_FILESDaniel Jacobowitz2003-09-026-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.
* * gas/mips/elf-rel-got-n32.d: Fix ulw and usw patterns forMaciej W. Rozycki2003-09-015-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.
* s/.cfi_gnu_window_save/.cfi_window_save/gJakub Jelinek2003-08-295-6/+6
|
* * dw2gencfi.c (cfi_pseudo_table): Add cfi_gnu_window_save.Jakub Jelinek2003-08-2911-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-25 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2003-08-262-2/+6
| | | | * doc/c-i860.texi: Update text about relocatable address expansions.
* 2003-08-24 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2003-08-252-2/+8
| | | | | * config/tc-i860.c (md_assemble): Use isrc2 from the original instruction when expanding E_ADDR.
* Updated translationsNick Clifton2003-08-212-156/+132
|
* * config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ISEL andAlan Modra2003-08-192-1/+6
| | | | PPC_OPCODE_RFMCI to -m440 selected ppc_cpu.
* Add support for unindexed form of Addressing Mode 5Nick Clifton2003-08-196-9/+150
|
* * config/tc-ppc.c (md_parse_option): Handle -m440.Alan Modra2003-08-193-1/+15
| | | | | | (md_apply_fix3): Warning fix. (md_show_usage): Add -m440. * doc/c-ppc.texi: Document -m440.
* include/opcode/ChangeLog:Jason Eckhardt2003-08-175-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.
* * read.c (s_print): Check for NULL.Alan Modra2003-08-162-53/+58
|
* * write.c (fixup_segment): When handling an expression involvingAlan Modra2003-08-162-9/+9
| | | | | the subtraction of two symbols in the same segment, don't clear fx_pcrel except for TC_M68K.
* Update regexp for destination address of unrelocated branch instructions soNick Clifton2003-08-143-5/+11
| | | | that they point to themselves.
* * config/tc-i386.h: Remove BFD_ASSEMBLER tests and all !BFD_ASSEMBLERAlan Modra2003-08-143-241/+29
| | | | | | code. * config/tc-i386.c: Likewise. (RELOC_ENUM): Don't define. Replace throughout with enum.
* fix typoAlan Modra2003-08-141-28/+28
|
* * dep-in.sed: Remove libintl.h. Ignore include/fpoen-*.hAlan Modra2003-08-144-60/+76
| | | | | | * Makefile.am (POTFILES.in): Unset LC_COLLATE. Run "make dep-am". * Makefile.in: Regenerate.
* gas/Andreas Schwab2003-08-087-1/+160
| | | | | | | | | | | | | | * config/tc-m68k.h (TARGET_USE_CFIPOP) (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT) (tc_regname_to_dw2regnum, tc_cfi_frame_initial_instructions): Define. * config/tc-m68k.c: Include "dw2gencfi.h". (tc_m68k_regname_to_dw2regnum) (tc_m68k_frame_initial_instructions): New functions. gas/testsuite/ * gas/cfi/cfi-m68k.s, gas/cfi/cfi-m68k.d: New test. * gas/cfi/cfi.exp (run_list_test): Run it.
* Add MSP430 variantsNick Clifton2003-08-082-20/+40
|
* 2003-08-07 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2003-08-073-0/+27
| | | | | | * config/tc-i860.c (i860_check_label): New function. * config/tc-i860.h (i860_check_label): New prototype. (tc_check_label): Define macro as i860_check_label.
* 2003-08-01 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2003-08-073-7/+53
| | | | | | | | * config/tc-i860.c (s_align_wrapper): New function and prototype. (md_pseudo_table): Change s_align_bytes to s_align_wrapper, remove surrounding OBJ_ELF ifdef, and re-format slightly. * doc/c-i860.texi: Document the special .align syntax available in Intel mode.
* gas:Jason Eckhardt2003-08-067-0/+79
| | | | | | | | | | | | | | 2003-08-06 Jason Eckhardt <jle@rice.edu> * config/tc-i860.c (i860_handle_align): New function. * config/tc-i860.h (HANDLE_ALIGN): Define macro. (MAX_MEM_FOR_RS_ALIGN_CODE): Define macro. gas/testsuite: 2003-08-06 Jason Eckhardt <jle@rice.edu> * gas/i860/dir-align01.{s,d}: New files. * gas/i860/i860.exp: Execute the new test above.
* gas:Jason Eckhardt2003-08-065-4/+22
| | | | | | | | | | | | | 2003-08-06 Jason Eckhardt <jle@rice.edu> * config/tc-i860.c (i860_process_insn): Check that instructions with their dual-bit set are 8-byte aligned. gas/testsuite: 2003-08-06 Jason Eckhardt <jle@rice.edu> * gas/i860/dual02-err.l: Update expected error message. * gas/i860/README.i860: Remove dual02-err from known failure list.
* Updated French translationsNick Clifton2003-08-062-591/+70
|
* 2003-08-05 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2003-08-062-3/+5
| | | | * gas/i860/README.i860: Remove dual01 from the known failures.
* 2003-08-05 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2003-08-062-6/+21
| | | | | | * config/tc-i860.c (i860_process_insn): Don't handle dual-bit setting during flop argument parsing. Instead, do it after instruction is fully parsed.