aboutsummaryrefslogtreecommitdiff
path: root/gas/config
AgeCommit message (Collapse)AuthorFilesLines
2007-02-05Support for Toshiba MeP and for complex relocations.Dave Brolley3-0/+2009
2007-02-04* config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3DJ Delorie2-0/+35
byte relocs. * config/tc-m32c.h (TC_CONS_FIX_NEW): Define. (m32c_cons_fix_new): Prototype.
2007-02-03 * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.Bob Wilson1-4/+4
(xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
2007-02-02 * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.Bob Wilson1-51/+97
(xtensa_elf_suffix): Use suffix_relocs instead of local mapping table. (map_suffix_reloc_to_operator): New. (map_operator_to_reloc): New. (expression_maybe_register): Fix incorrect test of return value from xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator. (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
2007-02-02 * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.Bob Wilson2-15/+1
(tinsn_get_tok): Delete prototype. * config/tc-xtensa.c (tinsn_get_tok): Delete.
2007-02-02 * config/xtensa-relax.h (struct build_instr): Delete id field.Bob Wilson2-131/+72
* config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL and LABEL tokens. (append_literal_op, append_label_op): Remove litnum/labnum arguments; set op_data fields to zero. (parse_id_constant): Delete. (build_transition): Remove code to handle numbered literals and labels.
2007-02-02 * config/xtensa-relax.c (build_transition): Remove code after as_fatal.Bob Wilson1-59/+26
(build_transition_table): Likewise.
2007-02-01 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use ofBob Wilson2-13/+2
fx_tcbit. * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
2007-02-01 * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.Alan Modra12-22/+21
(struct fix <fx_plt>): Rename to tcbit2. * write.c (fix_new_internal): Adjust. (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt. * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise. * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise. * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise. * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise. * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise. * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise. * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise. * config/tc-msp430.c (msp430_force_relocation_local): Likewise. * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt. * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt. Instead, compare fx_r_type. * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use fx_tcbit in place of fx_plt. * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define. * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference to fx_plt.
2007-01-282076-01-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-37/+10
* config/tc-i386.c (swap_imm_operands): Renamed to ... (swap_2_operands): This. Take 2 ints. (md_assemble): Updated. (swap_operands): Call swap_2_operands to swap 2 operands.
2007-01-24* config/tc-m32c.c (md_pseudo_table): Add .3byte.DJ Delorie1-0/+1
2007-01-22* tc-score.c: Remove unnecessary uses of _().Nick Clifton1-57/+49
Make the err_msg[] a file level local array in order to save storage space. Remove unnecessary sprintf()s.
2007-01-182007-01-18 Mei Ligang <ligang@sunnorth.com.cn>Mei Ligang1-79/+69
* config/tc-score.c : Using _() for const string. Do not assign inst.error with a local string pointer. (md_section_align): Pad section.
2007-01-132007-01-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-15/+15
* config/tc-i386.c (build_modrm_byte): Check number of operands when procssing memory/register operand.
2007-01-12 * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.Alan Modra4-34/+15
* config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. (TC_FORCE_RELOCATION): Define. (TC_FORCE_RELOCATION_LOCAL): Define. * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
2007-01-112007-01-11 Paul Brook <paul@codesourcery.com>Paul Brook1-2/+2
gas/ * config/tc-arm.c (do_t_add_sub): Use Rd and Rs. gas/testsuite/ * gas/arm/thumb2_add.d: Add test for missing operand. * gas/arm/thumb2_add.s: Ditto.
2007-01-11PR gas/3707Nick Clifton1-2/+2
* config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt variable.
2007-01-11* config/tc-mcore.c (md_number_to_chars): Use ↵Nick Clifton1-18/+4
number_to_chars_{big|little}endian.
2007-01-08bfd/Kazu Hirata1-7/+5
* archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido. * bfd-in2.h: Regenerate. * cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of bfd_mach_cpu32_fido. (m68k_arch_features): Use fido_a instead of cpu32. (bfd_m68k_compatible): Reject the combination of Fido and ColdFire. Accept the combination of CPU32 and Fido with a warning. * elf32-m68k.c (elf32_m68k_object_p, elf32_m68k_merge_private_bfd_data, elf32_m68k_print_private_bfd_data): Treat Fido as an architecture by itself. binutils/ * readelf.c (get_machine_flags): Treat Fido as an architecture by itself. gas/ * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an architecture by itself. (m68k_ip): Don't issue a warning for tbl instructions on fido. (m68k_elf_final_processing): Treat Fido as an architecture by itself. include/elf/ * m68k.h (EF_M68K_FIDO): New. (EF_M68K_ARCH_MASK): OR EF_M68K_FIDO. (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): Remove. include/opcode/ * m68k.h (m68010up): OR fido_a. opcodes/ * m68k-opc.c (m68k_opcodes): Replace cpu32 with cpu32 | fido_a except on tbl instructions.
2007-01-052007-01-05 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-7/+2
* config/tc-i386.c (set_intel_syntax): Update set_intel_syntax depending on allow_naked_reg.
2007-01-042007-01-04 Paul Brook <paul@codesourcery.com>Paul Brook1-1/+6
gas/ * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form. gas/testsuite/ * gas/arm/archv6.s: Add more cpsie tests. * gas/arm/archv6.d: Ditto. opcodes/ * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
2007-01-042007-01-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-11/+20
PR gas/3826 * config/tc-i386.c (register_prefix): New. (set_intel_syntax): Set set_intel_syntax to "" if register prefix is needed. (check_byte_reg): Use register_prefix for error message. (check_long_reg): Likewise. (check_qword_reg): Likewise. (check_word_reg): Likewise.
2007-01-04 * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.Julian Brown1-4/+37
(do_neon_qshl_imm): Likewise. (do_neon_rshl): New function. Handle rounding variants of v{q}shl-by-register. (insns): Use do_neon_rshl for vrshl, vqrshl.
2007-01-042007-01-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-29/+20
* config/tc-i386.c (swap_operands): Remove branches.
2007-01-042007-01-04 Paul Brook <paul@codesourcery.com>Paul Brook1-6/+6
gas/ * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt and vacle. gas/testsuite/ * gas/arm/neon-cov.d: Adjust expected output. * gas/arm/neon-omit.s: Add tests for vcgt and vcle. Reorder vacle and vacle. * gas/arm/neon-omit.d: Adjust expected output.
2007-01-032007-01-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+2
* config/tc-i386.c: Update copyright year. * config/tc-i386.h: Likewise.
2007-01-032007-01-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-1/+1
* config/tc-i386.c (smallest_imm_type): Return unsigned int instead of int.
2007-01-032007-01-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-194/+124
* config/tc-i386.c: Convert to ISO C90 formatting * config/tc-i386.h: Likewise.
2007-01-03 * config/tc-mips.c (md_show_usage): Clean up -mno-sharedDavid Daney1-2/+1
documentation.
2006-12-302006-12-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-1/+1
* config/tc-i386.h (ShiftCount): Fix a comment typo.
2006-12-302006-12-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-0/+4
* config/tc-i386.c (md_show_usage): Mention --32/--64.
2006-12-29gas/H.J. Lu1-4/+7
2006-12-29 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (build_modrm_byte): Handle shift count register with 3 operands. gas/testsuite/ 2006-12-29 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/intel.s: Add tests for "shrd %cl,%edx,%eax" and "shld %cl,%edx,%eax". * gas/i386/opcode.s: Likewise. * gas/i386/intel.d: Updated. * gas/i386/opcode-intel.d: Likewise. * gas/i386/opcode-suffix.d: Likewise. * gas/i386/opcode.d: Likewise.
2006-12-292006-12-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-11/+27
* config/tc-i386.c (process_operands): Check i.reg_operands and increment i.operands when adding a register operand. (build_modrm_byte): Fix 4 operand instruction handling.
2006-12-282006-12-27 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-3/+12
* config/tc-i386.c (disp_expressions): Use MAX_MEMORY_OPERANDS for array size instead of 2. (im_expressions): Use MAX_IMMEDIATE_OPERANDS for for array size instead of 2. (i386_immediate): Update immediate operand overflow error message. (i386_displacement): Check displacement operand overflow.
2006-12-272006-12-27 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-1/+1
* config/tc-i386.c: Document tc-i386.c, not i386.c.
2006-12-27gas/Kazu Hirata2-3/+18
* config/m68k-parse.h (m68k_register): Add CAC and MBB. * config/tc-m68k.c (fido_ctrl): New. (m68k_archs): Use fido_ctrl for -mfidoa. (m68k_cpus): Use fido_ctrl on fido-*-*. (m68k_ip): Add support for CAC and MBB. (init_table): Add CAC and MBB. opcodes/ * m68k-dis.c (print_insn_arg): Add support for cac and mbb.
2006-12-262006-12-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-4/+1
* config/tc-i386.c (i386_immediate): Remove prototype.
2006-12-25bfd/Kazu Hirata1-2/+9
* archures.c (bfd_mach_cpu32_fido): New. (bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_a, bfd_mach_mcf_isa_a_mac, bfd_mach_mcf_isa_a_emac, bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac, bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_b_nousp, bfd_mach_mcf_isa_b_nousp_mac, bfd_mach_mcf_isa_b_nousp_emac, bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac, bfd_mach_mcf_isa_b_emac, bfd_mach_mcf_isa_b_float, bfd_mach_mcf_isa_b_float_mac, bfd_mach_mcf_isa_b_float_emac): Increment the defined values. * bfd-in2.h: Regenerate. * cpu-m68k.c (arch_info_struct): Add en entry for bfd_mach_cpu32_fido. * elf32-m68k.c (elf32_m68k_object_p): Handle EF_M68K_CPU32_FIDO_A. (elf32_m68k_merge_private_bfd_data): Use EF_M68K_CPU32_MASK. (elf32_m68k_print_private_bfd_data): Handle EF_M68K_CPU32_FIDO_A. binutils/ * readelf.c (get_machine_flags): Handle EF_M68K_CPU32_FIDO_A. gas/ * config/tc-m68k.c (cpu_of_arch): Add fido. (m68k_archs, m68k_cpu): Add entries for fido. (m68k_elf_final_processing): Handle EF_M68K_CPU32_FIDO_A. include/elf/ * m68k.h (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): New. include/opcode/ * m68k.h (fido_a): New.
2006-12-25 * config/tc-score.c (build_lw_pic): Rename as build_lwst_pic.Mei Ligang1-93/+71
Delete the code handling large constant for PIC. Modify some comments. (score_relax_frag): Decrease insn_addr in certain situation. (s_score_cprestore): Change .cprestore syntax from ".cprestore offset" to ".cprestore reg, offset".
2006-12-152006-12-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-0/+2
* config/tc-i386.c: Add a blank line bewteen function bodies.
2006-12-152006-12-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-5/+10
* config/tc-i386.c (build_modrm_byte): Reformat to 72 columns.
2006-12-142006-12-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-4/+8
* config/tc-i386.c (match_template): Simplify 3 and 4 operand match.
2006-12-132006-12-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-1/+1
* config/tc-i386.c (build_modrm_byte): Set the Operand_PCrel bit only.
2006-12-132006-12-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-9/+6
* config/tc-i386.c (match_template): Use a for loop to set operand_types array.
2006-12-13gas/H.J. Lu1-17/+44
2006-12-13 H.J. Lu <hongjiu.lu@intel.com> PR gas/3712 * config/tc-i386.c (match_template): Use MAX_OPERANDS for the number of operands. Issue an error if MAX_OPERANDS != 4. Add the 4th operand check. gas/testsuite/ 2006-12-13 H.J. Lu <hongjiu.lu@intel.com> PR gas/3712 * gas/i386/inval.s: Add invalid insertq. * gas/i386/x86-64-inval.s: Likewise. * gas/i386/inval.l: Updated. * gas/i386/x86-64-inval.l: Likewise.
2006-12-132006-12-13 Paul Brook <paul@codesourcery.com>Paul Brook1-0/+5
gas/ * config/tc-arm.c (arm_arch_option_table): Add v7-{a,r,m}. * doc/c-arm.texi: Fix spelling of ARMv7 profile variants.
2006-12-122006-12-12 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-1/+1
* config/tc-i386.h (WordMem): Document it for 64 bit memory reference.
2006-12-092006-12-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-1/+1
* config/tc-i386.h (template): Use MAX_OPERANDS instead of 4 operand_types array.
2006-12-08 * config/tc-z8k.c (whatreg): Add comment describing function.Christian Groessler1-10/+35
Return NULL if symbol name characters follow the register number. (parse_reg): Use NULL instead of 0 for pointer values. Stop processing if whatreg returned NULL.
2006-12-07bfd/Kazu Hirata1-8/+8
* elf32-m68k.c: Update uses of EF_M68K_*. binutils/ * readelf.c: Update uses of EF_M68K_*. gas/ * config/tc-m68k.c: Update uses of EF_M68K_*. include/elf * m68k.h (EF_M68K_ISA_MASK, EF_M68K_ISA_A_NODIV, EF_M68K_ISA_A, EF_M68K_ISA_A_PLUS, EF_M68K_ISA_B_NOUSP, EF_M68K_ISA_B, EF_M68K_ISA_C, EF_M68K_MAC_MASK, EF_M68K_MAC, EF_M68K_EMAC, EF_M68K_EMAC_B, EF_M68K_FLOAT): Rename to EF_M68K_CF_ISA_MASK, EF_M68K_CF_ISA_A_NODIV, EF_M68K_CF_ISA_A, EF_M68K_CF_ISA_A_PLUS, EF_M68K_CF_ISA_B_NOUSP, EF_M68K_CF_ISA_B, EF_M68K_CF_ISA_C, EF_M68K_CF_MAC_MASK, EF_M68K_CF_MAC, EF_M68K_CF_EMAC, EF_M68K_CF_EMAC_B, EF_M68K_CF_FLOAT, respectively.