aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
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
2007-10-17 opcodes/Nathan Sidwell4-0/+35
* m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for coldfire. gas/testsuite/ * gas/m68k/mcf-movsr.s: New. * gas/m68k/mcf-movsr.d: New. * gas/m68k/all.exp: Add mcf-movsr test.
2007-10-16 * doc/as.texinfo (Overview): Add Xtensa --rename-section option.Bob Wilson2-0/+8
2007-10-16Support the use of the STT_COMMON type. (In source and object files only at ↵Nick Clifton7-8/+47
the moment)
2007-10-16gas/Peter Bergner2-0/+17
* config/tc-ppc.c (ppc_setup_opcodes): Verify instructions are sorted according to major opcode number. opcodes/ * ppc-opc.c (TE): Correct signedness. (powerpc_opcodes): Sort psq_st and psq_stu according to major opcode number.
2007-10-15 * read.c (do_s_func): Check asprintf return status.Alan Modra3-5/+19
* stabs.c (stabs_generate_asm_func): Likewise. (stabs_generate_asm_endfunc): Likewise.
2007-10-122007-10-12 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-9/+18
* config/tc-i386.c (process_operands): Simplify implicit xmm0 handling.
2007-10-12gas/H.J. Lu2-52/+53
2007-10-12 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (process_operands): Check the firstxmm0 field in opcode_modifier for instruction with a implicit xmm0 as the first operand. opcodes/ 2007-10-12 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (opcode_modifiers): Add FirstXmm0. * i386-opc.h (FirstXmm0): New. (IsPrefix): Updated. (i386_opcode_modifier): Add firstxmm0. * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0. (blendvps): Likewise. (pblendvb): Likewise. * i386-tbl.h: Regenerated.
2007-10-12* config/tc-avr.c (mcu_types): Add new devices: AT90PWM2B, AT90PWM3B.Nick Clifton4-2/+11
* doc/c-avr.texi: Document new devices.
2007-10-12* elf32-cr16.c (elf32_cr16_relax_section): Fix condition check typo.Nick Clifton2-1/+6
* config/tc-cr16.c: Update the md_relax_table for 1 word b<cc> instruction range information.
2007-10-12 * doc/as.texinfo (Object Attributes): New chapter.Daniel Jacobowitz2-3/+151
(Pseudo Ops): Document .gnu_attribute. (LNS directives): Correct .loc_mark_labels documentation.
2007-10-11* config/obj-elf.c (obj_elf_section): When pushing a section, if there is aNick Clifton6-3/+48
comma then the following argument must be a subsection number. * testsuite/gas/elf/elf.exp (run_elf_list_test): Run section6 test. * testsuite/gas/elf/section6.s: New file: Check behaviour of .pushsection with a subsection argument. * testsuite/gas/elf/section6.d: New file: Expected disassembly.
2007-10-11PR gas/5161Nick Clifton3-183/+824
* config/tc-ia64.c: Allow for translations of error and warning messages. * po/gas.pot: Regenerate.
2007-10-11PR gas/5158Nick Clifton8-15646/+37059
* config/tc-h8300.c (tc_gen_reloc): Allow for translation of error message. * po/gas.pot: Regenerate.
2007-10-112007-10-11 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-3/+8
* doc/c-i386.texi: Update which instruction's operands are swapped.
2007-10-11PR gas/5155Nick Clifton2-20/+22
* config/tc-msp430.c: Fix spelling typos.
2007-10-11* doc/as.texinfo (Type): Fix typo: STT_FUNC not STT_FUNCTION.Nick Clifton2-12/+30
2007-10-08gas/testsuite/H.J. Lu6-56/+426
2007-10-08 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Run simd-suffix and x86-64-simd-suffix. * gas/i386/simd-suffix.d: New. * gas/i386/x86-64-simd-suffix.d: Likewise. * gas/i386/x86-64-opcode.d: Updated. * gas/i386/x86-64-simd.d: Likewise. opcodes/ 2007-10-08 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c: Updated comments for 'Y'. (putop): Don't add 'q' for 'Y' if suffix_always isn't true.
2007-10-08opcodes/:Maciej W. Rozycki4-1/+100
* opcodes/mips-dis.c (mips_cp0_names_r3000): New definition. (mips_cp0_names_r4000): Likewise. (mips_arch_choices): Link to the above as appropriate. gas/testsuite/: * gas/mips/cp0-names-r3000.d: New test for R3000 CP0 symbolic disassembly. * gas/mips/cp0-names-r4000.d: New test for R4000/R4400 symbolic CP0 disassembly. * mips/mips.exp: Run the new tests.
2007-10-08gas/:Maciej W. Rozycki8-24/+1431
* config/tc-mips.c (AT): Rename to... (ATREG): ... this. (AT): New definition. (mips_set_options): Rename "noat" to "at"; change the type. (mips_opts): Update accordingly. (append_insn): Likewise. (macro_build_ldst_constoffset): Likewise. (load_address): Likewise. (macro, macro2): Likewise. (s_mipsset): Handle ".set at=REG". Update handling of ".set at" and ".set noat". gas/testsuite/: * gas/mips/at-1.d, gas/mips/at-2.l: New tests to check the ".set at=REG" directive. * gas/mips/at-1.s, gas/mips/at-2.s: Sources for the new tests. * gas/mips/mips.exp: Run the new tests.
2007-10-08PR 5142: Allow for translation of error messagesNick Clifton2-4/+6
2007-10-08* doc/as.texinfo (Previous): Clarify explanation of the behaviour of thisNick Clifton2-2/+40
pseudo-op and add a couple of examples.
2007-10-08PR gas/5121 gas/5122 gas/5123 gas/5124 gas/5125 gas/5126 gas/5129 gas/5131 ↵Nick Clifton10-1645/+1810
gas/5132 gas/5137 gas/5143 * Makefile.am (CFILES): Add cgen.c (TARGET_CPU_CFILES): Add tc-iq2000.c, tc-maxq.c, tc-mt.c, tc-tic4x.c and xtensa-relax.c. (TARGET_CPU_HFILES): Add tc-iq2000.h, tc-maxq.h, tc-mt.h, tc-tic4x.h and xtensa-relax.h. (TARG_ENV_HFILES): Remove te-aux.h, te-delta.h, te-delt88.h, te-ic960.h, te-linux.h. Add te-aix5.h, te-armeabi.h, te-freebsd.h, te-gnu.h, te-interix.h, te-vxworks.h. (CONFIG_ATOF_CFILES): New variable. (POTFILES): Add CONFIG_ATOF_CFILES to dependencies. Fix typo with dependency upon TARG_ENV_HFILES. (DEPTC): Do not put "#include opcodes/<foo>-desc.h" into cgen-desc.h when foo-desc.h does not exit. Run make dep-am. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. * po/POTFILES.in: Regenerate. * po/es.po: Regenerate. * po/fr.po: Regenerate. * po/gas.pot: Regenerate. * po/rw.po: Regenerate. * po/tr.po: Regenerate. * config/obj-elf.c (obj_elf_vtable_inherit): Allow for translation of error messages. * config/obj-som.c: Likewise. * config/tc-arc.c: Likewise. * config/tc-arm.c: Likewise. * config/tc-bfin.c: Likewise. * config/tc-frv.c: Likewise.
2007-10-08* config/tc-avr.c (mcu_types): Add new devices: AT90PWM216, AT90PWM316.Nick Clifton3-2/+5
* doc/c-avr.texi: Document new devices.
2007-10-08* config/tc-avr.c (mcu_types): Add new devices: ATtiny43U, ATtiny48.Nick Clifton3-1/+9
* doc/c-avr.texi: Document new devices.
2007-10-08PR gas/5134Nick Clifton2-2/+4
* config/tc-arm.c (md_apply_fix): Likewise.
2007-10-08PR gas/5133Nick Clifton2-1/+3
* config/tc-arm.c (md_apply_fix): Correct error message
2007-10-08PR gas/5135Nick Clifton2-2/+4
(Expr_Node_Gen_Reloc_R): Fix spelling typos in error messages.
2007-10-08PR gas/5136Nick Clifton2-1/+6
* config/tc-bfin.c (md_apply_fix): Fix error message.
2007-10-05gas/testsuite/H.J. Lu4-0/+23
2007-10-05 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Run smx. * gas/i386/smx.d: New. * gas/i386/smx.s: Likewise. opcodes/ 2007-10-05 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (dis386_twobyte): Add getsec. * i386-gen.c (cpu_flags): Add CpuSMX. * i386-opc.h (CpuSMX): New. (CpuSSSE3): Updated. (i386_cpu_flags): Add cpusmx. * i386-opc.tbl: Add getsec. * i386-init.h: Regenerated. * i386-tbl.h: Likewise.
2007-10-052007-10-05 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+10
* config/tc-i386.c (build_modrm_byte): Check the first 2 8bit immediate operands directly for instructions with 4 operands.
2007-10-04gas/testsuite/H.J. Lu7-66/+126
2007-10-04 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/simd.s: Add tests for unpckhpd and unpckhps. * gas/i386/x86-64-simd.s: Likewise. * gas/i386/simd-intel.d: Updated. * gas/i386/simd.d: Likewise. * gas/i386/x86-64-simd-intel.d: Likewise. * gas/i386/x86-64-simd.d: Likewise. opcodes/ 2007-10-04 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (dis386_twobyte): Use EXx instead of EXq on unpckhpX and unpckhpX.
2007-10-04opcodes/David Daney4-0/+22
2007-10-04 David Daney <ddaney@avtrex.com> * mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S registers. gas/testsuite/ 2007-10-04 David Daney <ddaney@avtrex.com> * gas/mips/odd-float.d, gas/mips/odd-float.s: New test. * gas/mips/mips.exp: Run it.
2007-10-04gas/H.J. Lu9-91/+558
2007-10-04 H.J. Lu <hongjiu.lu@intel.com> PR gas/5109 * config/tc-i386.c (process_suffix): Clear QWORD suffix if it is ignored in Intel mode. gas/testsuite/ 2007-10-04 H.J. Lu <hongjiu.lu@intel.com> PR gas/5109 * gas/i386/simd-intel.d: Updated. * gas/i386/simd.d: Likewise. * gas/i386/x86-64-simd-intel.d: Likewise. * gas/i386/x86-64-simd.d: Likewise. * gas/i386/simd.s: Add more tests. * gas/i386/x86-64-simd.s: Likewise.
2007-10-04* read.c (potable): Add string8, string16, string32 and string64. Add bit ↵Nick Clifton19-41/+160
size for stringer function. (stringer_append_char): New. (stringer): Use stringer_append_char(). * config/obj-coff.c (obj_coff_ident): Add bit size for stringer function. * config/obj-elf.c (obj_elf_ident): Likewise. * config/tc-alpha.c (s_alpha_stringer): Likewise. * config/tc-dlx.c (dlx_pseudo_table): Likewise. * config/tc-hppa.c (pa_stringer): Likewise. * config/tc-ia64.c (md_pseudo_table, pseudo_opcode): Likewise. * config/tc-m68hc11.c (md_pseudo_table): Likewise. * config/tc-mcore.c (md_pseudo_table): Likewise. * config/tc-mips.c (mips_pseudo_table): Likewise. * config/tc-spu.c (md_pseudo_table): Likewise. * config/tc-s390.c (md_pseudo_table): Likewise. Replace '2' by '1'. * doc/as.texinfo (ABORT): Fix identing. (String): Document new string8, string16, string32, string64 functions. * NEWS: Mention the new feature. * testsuite/gas/all/gas.exp: Include new test "strings". * testsuite/gas/all/string.s: New * testsuite/gas/all/string.d: New.
2007-10-03PR gas/5078Nick Clifton2-1/+8
* config/tc-avr.c (avr_get_constant): Extend error message to mention that the constant must be positive.
2007-10-03PR gas/5089 * config/tc-arm.c (s_arm_unwind_handlerdata): Fix spelling typo.Nick Clifton2-2/+9
PR gas/5090 (md_assemble): Fix spelling typo.