aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2007-12-03 * config/tc-ppc.c (ppc_tc): Allow a space between toc symbolAlan Modra2-0/+6
name and bracket.
2007-11-30gas/Bob Wilson4-3/+18
* config/tc-xtensa.h (md_allow_eh_opt): Define. gas/testsuite/ * gas/elf/elf.exp: Disable ehopt test for Xtensa.
2007-11-29 bfd/Mark Shinwell9-1/+610
* archures.c (bfd_mach_mips_loongson_2e): New. (bfd_mach_mips_loongson_2f): New. * bfd-in2.h (bfd_mach_mips_loongson_2e): New. (bfd_mach_mips_loongson_2f): New. * cpu-mips.c: Add I_loongson_2e and I_loongson_2f to anonymous enum. (arch_info_struct): Add Loongson-2E and Loongson-2F entries. * elfxx-mips.c (_bfd_elf_mips_mach): Handle Loongson-2E and Loongson-2F flags. (mips_set_isa_flags): Likewise. (mips_mach_extensions): Add Loongson-2E and Loongson-2F entries. binutils/ * readelf.c (get_machine_flags): Handle Loongson-2E and -2F flags. gas/ * config/tc-mips.c (mips_cpu_info_table): Add loongson2e and loongson2f entries. * doc/c-mips.texi: Document -march=loongson{2e,2f} options. gas/testsuite/ * gas/mips/mips.exp: Add loongson-2e and -2f tests. * gas/mips/loongson-2e.d: New. * gas/mips/loongson-2e.s: New. * gas/mips/loongson-2f.d: New. * gas/mips/loongson-2f.s: New. include/elf/ * mips.h (E_MIPS_MACH_LS2E): New. (E_MIPS_MACH_LS2F): New. include/opcode/ * mips.h (INSN_LOONGSON_2E): New. (INSN_LOONGSON_2F): New. (CPU_LOONGSON_2E): New. (CPU_LOONGSON_2F): New. (OPCODE_IS_MEMBER): Update for Loongson-2E and -2F flags. opcodes/ * mips-dis.c (mips_arch_choices): Add Loongson-2E and -2F entries. * mips-opc.c (IL2E): New. (IL2F): New. (mips_builtin_opcodes): Add Loongson-2E and -2F instructions. Allow movz and movn for Loongson-2E and -2F. Add movnz entry. Move coprocessor encodings to the end of the table. Allow certain MIPS V .ps instructions on the Loongson-2E and -2F.
2007-11-292007-11-29 Martin Schwidefsky <schwidefsky@de.ibm.com>Martin Schwidefsky5-10/+30
* config/tc-s390.c (md_begin): If the -mesa option is specified add zarch opcodes to the hash table only if there is no variant that is available for the esa mode as well. 2007-11-29 Martin Schwidefsky <schwidefsky@de.ibm.com> * gas/s390/esa-z9-109.d: Add check for old version of sske. * gas/s390/esa-z9-109.s: Likewise.
2007-11-272007-11-27 Andreas Krebbel <krebbel1@de.ibm.com>Andreas Krebbel3-12/+19
* s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt", "tgxt"): Removed. ("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added. 2007-11-27 Andreas Krebbel <krebbel1@de.ibm.com> * gas/s390/zarch-z9-ec.d: ("tcet", "tcdt", "tcxt", "tget", "tgdt", "tgxt"): Removed. ("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added. * gas/s390/zarch-z9-ec.s: Likewise.
2007-11-26 * config/tc-alpha.c (assemble_insn): Don't segv on NULL reloc_operand.Alan Modra2-1/+6
2007-11-19 * config/xtensa-istack.h (tinsn_struct): Replace linenum fieldBob Wilson3-31/+50
with loc_directive_seen and debug_line. * config/tc-xtensa.c: Include xtensa-istack.h after dwarf2dbg.h. (xg_build_to_insn): Copy the new fields instead of linenum. (xg_build_token_insn): Likewise. Abort on INSTR_LABEL_DEF and move common code out of the switch. (md_assemble): Set new tinsn fields from DWARF information. Call dwarf2_consume_line_info. (xg_assemble_vliw_tokens): Update the code to select the "best" line number to use new information. Call dwarf2_gen_line_info instead of dwarf2_emit_insn.
2007-11-19 * dwarf2dbg.h (dwarf2_loc_directive_seen): New.Bob Wilson3-5/+17
* dwarf2dbg.c (loc_directive_seen): Make external and rename to... (dwarf2_loc_directive_seen): ...this. (dwarf2_emit_insn, dwarf2_consume_line_info) (dwarf2_emit_label, dwarf2_directive_loc): Use new name.
2007-11-19 * dwarf2dbg.c (dwarf2_emit_label): Use dwarf2_consume_line_info.Bob Wilson2-8/+6
2007-11-19 * dwarf2dbg.c (dwarf2_consume_line_info): New.Bob Wilson7-7/+55
(dwarf2_emit_insn): Use it here. (dwarf2_directive_loc): Fix check for consecutive .loc directives when debug_type is DEBUG_DWARF2. * dwarf2dbg.h (dwarf2_consume_line_info): New prototype. * config/tc-ia64.c (ia64_flush_insns): Call dwarf2_consume_line_info. (md_assemble): Likewise. testsuite/ * gas/lns/lns.exp: Run lns-common-1 with alternate source for ia64. * gas/lns/lns-common-1-ia64.s: New file.
2007-11-17 * config/tc-mips.c (md_parse_option): Match mips_optimize to the -OThiemo Seufer2-1/+10
option supplied, but still keep mips_optimize == 2 as default value.
2007-11-17 [ld/testsuite/ChangeLog]Thiemo Seufer2-0/+8
* ld-mips-elf/attr-gnu-4-14.d, ld-mips-elf/attr-gnu-4-41.d: Adjust warning message for -mfp64 flag. * ld-mips-elf/attr-gnu-4-5.s, ld-mips-elf/attr-gnu-4-04.d, ld-mips-elf/attr-gnu-4-51.d, ld-mips-elf/attr-gnu-4-05.d, ld-mips-elf/attr-gnu-4-15.d, ld-mips-elf/attr-gnu-4-24.d, ld-mips-elf/attr-gnu-4-25.d, ld-mips-elf/attr-gnu-4-34.d, ld-mips-elf/attr-gnu-4-35.d, ld-mips-elf/attr-gnu-4-42.d, ld-mips-elf/attr-gnu-4-43.d, ld-mips-elf/attr-gnu-4-44.d, ld-mips-elf/attr-gnu-4-45.d, ld-mips-elf/attr-gnu-4-40.d, ld-mips-elf/attr-gnu-4-14.d: New testcases files. * ld-mips-elf/mips-elf.exp: Run new testcases. [binutils/ChangeLog] * readelf.c (display_mips_gnu_attribute): Recognize -mips32r2 -mfp64 objects. [include/ChangeLog] * elf/mips.h (Tag_GNU_MIPS_ABI_FP): Mention -mips32r2 -mfp64 variant in comment. [bfd/ChangeLog] * elfxx-mips.c (mips_elf_merge_obj_attributes): Handle -mips32r2 -mfp64 attribute. [gas/ChangeLog] * doc/as.texinfo: Document the new attribute value.
2007-11-162007-11-16 Eric B. Weddington <eric.weddington@atmel.com>Eric B. Weddington3-1/+7
* config/tc-avr.c (mcu_types): Add ATmega32HVB device. * doc/c-avr.texi: Likewise.
2007-11-162007-11-16 Eric B. Weddington <eric.weddington@atmel.com>Eric B. Weddington3-4/+10
* config/tc-avr.c (mcu_types): Add ATmega1284P device. * doc/c-avr.texi: Likewise.
2007-11-14gas/H.J. Lu11-2879/+2942
2007-11-14 Tristan Gingold <gingold@adacore.com> * config/tc-ia64.c (AR_RUC): Defined. (ar): Add "ar.ruc". (specify_resource): Handle AR_RUC like AR_ITC. gas/testsuite/ 2007-11-14 H.J. Lu <hongjiu.lu@intel.com> * gas/ia64/dv-raw-err.s: Add tests for ar.ruc. * gas/ia64/dv-waw-err.s: Likewise. * gas/ia64/invalid-ar.s: Likewise. * gas/ia64/regs.s: Add tests for ar.ruc and ar44. * gas/ia64/dv-raw-err.l: Updated. * gas/ia64/dv-waw-err.l: Likewise. * gas/ia64/invalid-ar.l: Likewise. * gas/ia64/regs.d: Likewise. opcodes/ 2007-11-14 H.J. Lu <hongjiu.lu@intel.com> * ia64-ic.tbl: Updated for Itanium 9100 series. * ia64-raw.tbl: Likewise. * ia64-waw.tbl: Likewise. * ia64-asmtab.c: Regenerated. 2007-11-14 Tristan Gingold <gingold@adacore.com> * ia64-dis.c (print_insn_ia64): Handle ar.ruc. * ia64-gen.c (lookup_regindex): Likewise.
2007-11-13* config/tc-mn10300.c (mn10300_force_relocation): Force a reloc to be ↵Nick Clifton3-12/+27
generated for alignment fixups. * config/tc-mn10300.h (TC_FORCE_RELOCATION): Call mn10300_force_relocation. * elf-m10300.c (mn10300_elf_final_link_relocate): Prevent the accidental termination of DWARF location list entries. (mn10300_elf_relax_delete_bytes): Stop deletion if an align reloc is encountered that is larger than or not a mutliple of the number of bytes being deleted. When adjusting symbols, any symbols inside the region being deleted must be moved to the end of the region. Move align relocs forward if there is room for them after the deletion of the region.
2007-11-12 * gas/macros/purge.s: Delete irpc loops.Alan Modra2-18/+7
2007-11-12 PR gas/5269Nick Clifton3-737/+751
* config/tc-frv.c (md_show_usage): Rewrite usage description to make it easier to translate. * gas/po/gas.pot: Regenerate.
2007-11-12 * gas/ppc/regnames.d: New.Alan Modra4-0/+18
* gas/ppc/regnames.s: Likewise. * gas/ppc/ppc.exp: Run it.
2007-11-12 * config/tc-ppc.c (md_assemble): If -mregnames, when parsingAlan Modra2-1/+8
PPC_OPERAND_CR always parse as expression to allow register name followed by an expression.
2007-11-092007-11-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-11/+15
* config/tc-i386.c (match_template): Re-order suffix check.
2007-11-08 * config/tc-xtensa.c (relaxable_section): Check for .eh_frame.Bob Wilson2-1/+6
2007-11-072007-11-07 Eric B. Weddington <eweddington@cso.atmel.com>Eric B. Weddington3-1/+7
* config/tc-avr.c (mcu_types): Add ATtiny88 device. * doc/c-avr.texi: Likewise.
2007-11-072007-11-07 Anatoly Sokolov <aesok@post.ru>Eric B. Weddington3-12/+21
* config/tc-avr.c (mcu_types): Add new devices: ATmega48P, ATmega88P, ATmega168P, Atmega328P * doc/c-avr.texi: Document new devices.
2007-11-07* ia64-dis.c (print_insn_ia64): Generate symbolic names for crTristan Gingold2-50/+55
registers instead of register number. * gas/ia64/regs.d: Expect symbolic names for cr registers due to improved disassembler.
2007-11-07* gas/elf/elf.exp (run_elf_list_test): Fix typo.Nick Clifton2-1/+5
2007-11-07* config/tc-ppc.c (md_apply_fix): For PPC_TOC16 on XCOFF, uses offsetTristan Gingold4-10/+20
within the TOC instead of the VMA. * gas/ppc/test1xcoff32.d: Updated to match RTOC bug fix.
2007-11-062007-11-06 Paul Brook <paul@codesourcery.com>Paul Brook5-3/+19
gas/ * config/tc-arm.c (do_mull): Allow overlapping Rm for armv6. gas/testsuite/ * gas/arm/mul-overlap.s: Add umull and smlal. * gas/arm/mul-overlap.l: Update expected results.
2007-11-06* ehopt.c (check_eh_frame): If md_allow_eh_opt is defined, invoke it to see ↵Nick Clifton6-1/+32
if the optimizations should be applied. * config/tc-mn10300.h (md_allow_eh_opt): Define. Only allow call frame optimization if linker relaxation is not enabled. * gas/elf/elf.exp: Disable ehopt test for mn10300.
2007-11-04includeDanny Smith2-3/+10
* coff/pe.h (COFF_ENCODE_ALIGNMENT) Define. gas * read.c (ALIGN_LIMIT): Rename to ... (TC_ALIGN_LIMIT): Guard against prior definition. * config/tc-i386.h (TC_ALIGN_LIMIT)[TE_PE]: Define. bfd * pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Let .data, .text and .bss section use the default. * pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. ld/testsuite * ld-scripts/align.exp: Enable for PECOFF. * ld-scripts/alignof.exp: Likewise.
2007-11-02 * config/tc-xtensa.c (xtensa_symbol_new_hook): New.Bob Wilson3-0/+77
(xtensa_mark_difference_of_two_symbols): New. (xtensa_post_relax_hook): Call xtensa_mark_difference_of_two_symbols. * config/tc-xtensa.h (xtensa_symfield_type): Add next_expr_symbol. (tc_symbol_new_hook): Define.
2007-11-01gas/H.J. Lu2-3/+9
2007-11-01 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (md_assemble): Replace no_xsuf with no_ldsuf. (match_template): Likewise. opcodes/ 2007-11-01 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (opcode_modifiers): Replace No_xSuf with No_ldSuf. * i386-opc.tbl: Likewise. * i386-opc.h (No_xSuf): Renamed to ... (No_ldSuf): This. (FWait): Updated.
2007-11-012007-11-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+8
* config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX): Use a non-ascii letter.
2007-11-01gas/H.J. Lu8-177/+300
2007-11-01 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (process_suffix): Check addrprefixop0 to see if the address size override prefix changes the size of the first operand. (check_byte_reg): Don't warn if byteokintel is set. (check_long_reg): Set i.suffix to QWORD_MNEM_SUFFIX if toqword is set. (check_qword_reg): Set i.suffix to LONG_MNEM_SUFFIX if todword is set. gas/testsuite/ 2007-11-01 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.d: New. * gas/i386/i386.s: Likewise. * gas/i386/i386.exp: Run i386. * gas/i386/x86_64.s: Add tests for movsx, movsbl, movsbq, movsbw, movswl, movswq, movzx, movzb, movzbl, movzbq, movzbw, movzwl and movzwq. * gas/i386/x86_64.d: Updated. opcodes/ 2007-11-01 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (opcode_modifiers): Add ByteOkIntel, ToDword, ToQword and AddrPrefixOp0. * i386-opc.h (ByteOkIntel): New. (ToDword): Likewise. (ToQword): Likewise. (AddrPrefixOp0): Likewise. (IsPrefix): Updated. (i386_opcode_modifier): Add byteokintel, todword, toqword and addrprefixop0. * i386-opc.tbl (cvtss2si): Add ToQword. (cvttss2si): Likewise. (cvtsd2si): Add ToDword. (cvttsd2si): Likewise. (monitor): Add AddrPrefixOp0. (invlpga): Likewise. (vmload): Likewise. (vmrun): Likewise. (vmsave): Likewise. (pextrb): Add ByteOkIntel. (pinsrb): Likewise. * i386-tbl.h: Regenerated.
2007-10-312007-10-31 Eric B. Weddington <eweddington@cso.atmel.com>Eric B. Weddington3-9/+11
* config/tc-avr.c (mcu_types): Remove devices that were never produced: attiny10, atmega83, atmega85, atmega603. * doc/c-avr.texi: Likewise.
2007-10-31* dwarf.c (is_relocatable): Remove definition.Nick Clifton2-5/+10
(display_debug_frames): Remove check in is_relocatable. * dwarf.h (is_relocatable): Remove declaration. * objdump.c (is_relocatable): New static definition. * readelf.c (dump_relocations): Make the function void. (is_32bit_abs_reloc): Add support for x86, Arc, Arm, D10V, Dlx, OR32 and Score. (is_32bit_pcrel_reloc): Add support for x86 and Arm. (is_16bit_abs_reloc): Add support for D10V. (debug_apply_rela_addends): Rename to debug_apply_relocations. Add code to support rel relocations. (load_debug_section): Fix call to debug_apply_relocations. (get_file_header): Remove setting of is_relocatable. * gas/cfi/cfi-common-6.d: Allow for possible relocation of the .debug.eh_frame section.
2007-10-30* mn10300.h (R_MN10300_ALIGN): Define.Nick Clifton5-16/+69
* reloc.c (BFD_RELOC_MN10300_ALIGN): Add. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * elf-m10300.h: Handle R_MN10300_ALIGN relocs. * mn10300_elf_relax_delete_bytes): Honour R_MN10300_ALIGN relocs. Re-fix off by one error in comparisons. * config/tc-mn10300.c (tc_gen_reloc): Fix test that decides when sym_diff relocs should be generated. (md_apply_fix): Skip R_MN10300_ALIGN relocs. (mn10300_fix_adjustable): Do not adjust R_MN10300_ALIGN relocs. (mn10300_handle_align): New function. Generate R_MN10300_ALIGN relocs to record alignment requests. * config/tc-mn10300.h (TC_FORCE_RELOCATION_SUB_SAME): Also force R_MN10300_ALIGN relocs. (HANDLE_ALIGN): Define. Call mn10300_handle_align. * gas/all/gas.exp: Do not run diff1.s test for mn10300. * ld-mn10300/mn10300.exp: Run new tests. Skip i126256 test if a compiler is not available. * ld-mn10300/i112045-3.s: New test. * ld-mn10300/i112045-3.d: Expected disassembly. * ld-mn10300/i135409.s: Rename to i135409-1.s. * ld-mn10300/i135409.d: Rename to i135409-1.d * ld-mn10300/i135409-2.s: New test. * ld-mn10300/i135409-2.d: Expected symbol table. * ld-mn10300/i36434.d: Adjust expected disassembly.
2007-10-30* doc/as.texinfo (Section): Replace "subsegment" with subsection".Nick Clifton2-2/+7
2007-10-27gas/H.J. Lu7-4/+96
2007-10-27 H.J. Lu <hongjiu.lu@intel.com> PR gas/5221 * config/obj-elf.c (obj_elf_section): Handle optional parameters for .pushsection. * doc/as.texinfo: Document optional parameters for .pushsection. gas/testsuite/ 2007-10-27 H.J. Lu <hongjiu.lu@intel.com> PR gas/5221 * gas/elf/elf.exp: Run section7. * gas/elf/section7.d: New. * gas/elf/section7.s: Likewise.
2007-10-24gas/H.J. Lu3-753/+758
2007-10-24 H.J. Lu <hongjiu.lu@intel.com> * configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE. * configure: Regenerated. gprof/ 2007-10-24 H.J. Lu <hongjiu.lu@intel.com> * configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE. * configure: Regenerated. ld/ 2007-10-24 H.J. Lu <hongjiu.lu@intel.com> * configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE. * configure: Regenerated.
2007-10-24 * Makefile.am (INCLUDES, DEP_INCLUDES): Remove -D_GNU_SOURCE.Alan Modra6-1624/+1558
Run "make dep-am". * configure.in: Invoke AC_GNU_SOURCE. * Makefile.in: Regenerate. * config.in: Regenerate. * configure: Regenerate.
2007-10-23gas/testsuite/H.J. Lu11-112/+184
2007-10-23 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/katmai.s: Remove cmpps opcode test. * gas/i386/simd.s: Add tests for cmpss and cmpsd. * gas/i386/x86-64-simd.s: Likewise. * gas/i386/katmai.d: Updated. * gas/i386/simd-intel.d: Likewise. * gas/i386/simd-suffix.d: Likewise. * gas/i386/simd.d: Likewise. * gas/i386/x86-64-simd-intel.d: Likewise. * gas/i386/x86-64-simd-suffix.d: Likewise. * gas/i386/x86-64-simd.d: Likewise. opcodes/ 2007-10-23 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (OP_SIMD_Suffix): Renamed to ... (CMP_Fixup): This. Rewrite. (OPSIMD): Renamed to ... (CMP): This. Updated. (prefix_table): Update PREFIX_0FC2 entry.
2007-10-19Add MN10300 linker relaxation support for symbol differencesNick Clifton9-45/+181
2007-10-19* elf-m10300.c: Convert to ISO C.Nick Clifton1-557/+279
* tc-mn10300.c: Convert to ISO C.
2007-10-19 * config/tc-ppc.c (ppc_parse_name): Skip leading '%'.Alan Modra2-1/+15
(md_assemble): When parsing PPC_OPERAND_CR, add '%' to set of chars that can start a name.
2007-10-18gas/Carlos O'Donell2-2/+7
2007-10-18 Carlos O'Donell <carlos@systemhalted.org> * config/tc-hppa.c (pa_ip): Fix comment typo. (pa_comm): Likewise.
2007-10-18PR gas/5172Nick Clifton7-176/+141
* config/tc-arc.c (md_estimate_size_before_relax): Change error message. (md_convert_frag): Just call abort. * config/tc-i860.c (md_estimate_size_before_relax): Change error message. * config/tc-i860.h (md_convert_frag): Just call abort. * config/tc-ip2k.c (md_estimate_size_before_relax): Change error message. (md_convert_frag): Just call abort. * config/tc-m68k.c (m68k_ip): Do not attempt translation of architecture names.
2007-10-18PR gas/5174Nick Clifton3-693/+687
* config/tc-arm.c: Fix formatting and spelling errors. * gas.pot: Regenerate.
2007-10-18PR gas/5175Nick Clifton3-15/+14
* config/tc-xc16x.c: Fix formatting and internationalization. * gas.pot: Regenerate.
2007-10-17Remove duplicate definitions of the md_atof() functionNick Clifton61-3845/+1813