aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2007-03-022007-03-02 Paul Brook <paul@codesourcery.com>Paul Brook2-0/+30
gas/ * config/tc-arm.c (relax_immediate): Always return positive values. (relaxed_symbol_addr): New function. (relax_adr, relax_branch): Use it. (arm_relax_frag): Pass strect argument. Adjust infinite loop check. gas/testsuite/ * gas/arm/relax_branch_align.d: New test. * gas/arm/relax_branch_align.s: New test.
2007-03-022007-03-02 Paul Brook <paul@codesourcery.com>Paul Brook3-18/+58
gas/ * config/tc-arm.c (relax_immediate): Always return positive values. (relaxed_symbol_addr): New function. (relax_adr, relax_branch): Use it. (arm_relax_frag): Pass stretch argument. Adjust infinite loop check. gas/testsuite/ * gas/arm/relax_branch_align.d: New test. * gas/arm/relax_branch_align.s: New test.
2007-03-01bfd:Joseph Myers2-1/+5
* Makefile.am (bfdver.h): Use "." not " " between version number and date. * Makefile.in: Regenerate. * configure.in (PKGVERSION): Default to "(GNU Binutils) ". * configure: Regenerate. binutils: * version.c (print_version): Update copyright date. gas: * as.c (parse_args): Update copyright date. gprof: * gprof.c: Include bfdver.h (main): Use BFD_VERSION_STRING for version number and package name. * Makefile.am (PKGVERSION): Remove. (INCLUDES): Update. Regenerate dependencies. * Makefile.in: Regenerate. * configure.in (PKGVERSION): Remove. * configure: Regenerate. ld: * ldver.c (ldversion): Remove word "version" from output. Update copyright date.
2007-02-28PR gas/3797Nick Clifton42-57/+93
* config/tc-d10v.c (do_assemble): Do not generate error messages, just return -1 whenever a problem is encoun$ (md_assemble): If do_assemble returns -1 generate a non-fatal error message and return. * gas/lns/lns.exp: Do not run the lns-common test for the d10v port. * gas/d10v/address-002.l: Update expected assembler output. * gas/d10v/address-003.l, gas/d10v/address-004.l, gas/d10v/address-005.l, gas/d10v/address-006.l, gas/d10v/address-007.l, gas/d10v/address-008.l, gas/d10v/address-009.l, gas/d10v/address-010.l, gas/d10v/address-011.l, gas/d10v/address-012.l, gas/d10v/address-013.l, gas/d10v/address-014.l, gas/d10v/address-015.l, gas/d10v/address-016.l, gas/d10v/address-017.l, gas/d10v/address-018.l, gas/d10v/address-019.l, gas/d10v/address-020.l, gas/d10v/address-021.l, gas/d10v/address-022.l, gas/d10v/address-023.l, gas/d10v/address-024.l, gas/d10v/address-025.l, gas/d10v/address-026.l, gas/d10v/address-027.l, gas/d10v/address-030.l, gas/d10v/address-031.l, gas/d10v/address-032.l, gas/d10v/address-033.l, gas/d10v/address-034.l, gas/d10v/address-035.l, gas/d10v/address-036.l, gas/d10v/address-037.l, gas/d10v/address-038.l, gas/d10v/address-039.l, gas/d10v/address-040.l, gas/d10v/address-041.l: Likewise.
2007-02-28PR 3729: Fix unexpected failures in ARM GAS testsuite results.Nick Clifton10-17/+78
2007-02-28 bfd/Nathan Sidwell2-1/+5
* config.bfd (sh-*-uclinux, sh[12]-*-uclinux): New stanza. gas/ * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf. ld/ * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o (eshelf_uclinux.c): New target. * Makefile.in: Rebuilt. * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza. * emulparams/shelf_uclinux.sh: New.
2007-02-28PR gas/2623Nick Clifton2-1/+6
* config/tc-msp430.c (line_separator_char): Change to '{'.
2007-02-27 * config/tc-m68hc11.c (fixup24): Correct fixup size.Alan Modra2-7/+14
(build_jump_insn): Likewise. (build_insn): Likewise. (s_m68hc11_relax): Likewise.
2007-02-27 * config/obj-elf.c (elf_frob_file): frag_wane any new frags.Alan Modra2-0/+5
2007-02-25 * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.Mark Shinwell2-2/+6
2007-02-22 * config/tc-mn10300.c (md_convert_frag): Correct fixup size.Alan Modra2-11/+7
(md_assemble): Likewise.
2007-02-22* s390-opc.c (INSTR_SS_L2RDRD): New.DJ Delorie3-2/+7
(MASK_SS_L2RDRD): New. * s390-opc.txt (pka): Use it. * gas/s390/esa-g5.s: Adjust for corrected PKA syntax. * gas/s390/esa-g5.d: Adjust for corrected PKA syntax.
2007-02-22 * write.c (size_seg): Always clear SEC_RELOC here.Alan Modra2-108/+66
(install_reloc): New function, extracted from.. (write_relocs): ..here. Combine RELOC_EXPANSION_POSSIBLE code with !RELOC_EXPANSION_POSSIBLE code. Don't add fr_offset when testing frag size. Set SEC_RELOC here.
2007-02-20 PR 4082Alan Modra2-1/+10
* config/tc-avr.h (TC_FX_SIZE_SLACK): Define.
2007-02-20 * doc/c-mips.texi: Document 74kc, 74kf, 74kx.Thiemo Seufer2-0/+7
2007-02-20 * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.Thiemo Seufer2-2/+13
2007-02-20 [ gas/ChangeLog ]Thiemo Seufer8-19/+312
* config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2, ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support. (macro_build): Add case '2'. (macro): Expand M_BALIGN to nop, packrl.ph or balign. (validate_mips_insn): Add support for balign instruction. (mips_ip): Handle DSP R2 instructions. Support balign instruction. (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE, md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2 command line options. (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives. (md_show_usage): Add -mdspr2 and -mno-dspr2 help output. * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2, .set dspr2, .set nodspr2. [ gas/testsuite/ChangeLog ] * gas/mips/mips32-dspr2.s, gas/mips/mips32-dspr2.d: New test for DSP R2. * gas/mips/mips.exp: Run new test. [ include/opcode/Changelog ] * mips.h (OP_SH_BP, OP_MASK_BP): Add support for balign instruction. (INSN_DSPR2): Add flag for DSP R2 instructions. (M_BALIGN): New macro. [ opcodes/ChangeLog ] * mips-dis.c (mips_arch_choices): Add DSP R2 support. (print_insn_args): Add support for balign instruction. * mips-opc.c (D33): New shortcut for DSP R2 instructions. (mips_builtin_opcodes): Add DSP R2 instructions. [ sim/mips/ChangeLog ] * Makefile.in (IGEN_INCLUDE): Add dsp2.igen. * configure.ac (mips*-sde-elf*, mipsisa32r2*-*-*, mipsisa64r2*-*-*): Add dsp2 to sim_igen_machine. * configure: Regenerate. * dsp.igen (do_ph_op): Add MUL support when op = 2. (do_ph_mulq): New function to support mulq_rs.ph and mulq_s.ph. (mulq_rs.ph): Use do_ph_mulq. (MFHI, MFLO, MTHI, MTLO): Move these instructions to mips.igen. * mips.igen: Add dsp2 model and include dsp2.igen. (MFHI, MFLO, MTHI, MTLO): Extend these instructions for for *mips32r2, *mips64r2, *dsp. (MADD, MADDU, MSUB, MSUBU, MULT, MULTU): Extend these instructions for *mips32r2, *mips64r2, *dsp2. * dsp2.igen: New file for MIPS DSP REV 2 ASE. [ sim/testsuite/sim/mips/ChangeLog ] * basic.exp: Run the dsp2 test. * utils-dsp.inc (dspckacc_astio, dspck_tsimm): New macro. * mips32-dsp2.s: New test.
2007-02-20 * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.Nathan Sidwell2-0/+28
(m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.
2007-02-192007-02-19 Andreas Krebbel <krebbel1@de.ibm.com>Martin Schwidefsky5-24/+33
* s390-opc.c (INSTR_RRF_U0FR, MASK_RRF_U0FR): Removed. (INSTR_RRF_U0RF, MASK_RRF_U0RF): Added. * s390-opc.txt (cfxbr, cfdbr, cfebr, cgebr, cgdbr, cgxbr, cger, cgdr, cgxr, cfxr, cfdr, cfer): Instruction type set to INSTR_RRF_U0RF. 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com> * gas/s390/esa-g5.d (cfxbr, cfebr, cfdbr): Exchanged floating point and fixed point operands. * gas/s390/esa-g5.s: Likewise. * gas/s390/zarch-z900.d (cfdr, cfer, cfxr, cgdbr, cgebr, cgxbr, cgdr, cger, cgxr): Likewise. * gas/s390/zarch-z900.s: Likewise.
2007-02-17 * write.c (TC_FX_SIZE_SLACK): Define.Alan Modra7-8/+59
(write_relocs): Reinstate check for fixup within frag. * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define. * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define. * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define. * config/tc-sh.h (TC_FX_SIZE_SLACK): Define. * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define.
2007-02-17top level:Joseph Myers9-27/+90
2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix quoting. * configure: Regenerate. bfd: 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * configure.in (--with-pkgversion): New option. * configure: Regenerate. * Makefile.am (bfdver.h): Substitute for @bfd_version_package@. * Makefile.in: Regenerate. * version.h (BFD_VERSION_STRING): Define using @bfd_version_package@. bfd/doc: 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * Makefile.in: Regenerate. binutils: 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * configure.in (--with-bugurl): New option. * configure: Regenerate. * Makefile.am (REPORT_BUGS_TO): Define. (INCLUDES): Define REPORT_BUGS_TO. Regenerate dependencies. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. * bucomm.h: Remove include of bin-bugs.h. * addr2line.c (usage): Don't print empty REPORT_BUGS_TO. * ar.c (usage): Pass s to list_supported_targets. Don't print empty REPORT_BUGS_TO. * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO. * cxxfilt.c (usage): Print bug url when giving help. * dlltool.c (usage): Likewise. * dllwrap.c (usage): Likewise. * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO. * nm.c (usage): Likewise. * objcopy.c (copy_usage, strip_usage): Likewise. * objdump.c (usage): Likewise. * readelf.c ((usage): Likewise. Add STREAM argument. Adjust callers. * size.c (usage): Don't print empty REPORT_BUGS_TO. * srconv.c (show_usage): Likewise. * strings.c (usage): Likewise. * sysdymp.c (show_usage): Likewise. * windres.c (usage): Likewise. gas: 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * configure.in (--with-bugurl): New option. * configure: Regenerate. * dep-in.sed: Remove bin-bugs.h. * Makefile.am (REPORT_BUGS_TO): Define. (INCLUDES): Define REPORT_BUGS_TO. (DEP_INCLUDES): Likewise. ($(OBJS)): No longer depend on bin-bugs.h. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. * as.c (show_usage): Don't print empty REPORT_BUGS_TO. * as.h: Remove include of bin-bugs.h. gprof: 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * configure.in (--with-pkgversion, --with-bugurl): New options. * configure: Regenerate. * Makefile.am (PKGVERSION, REPORT_BUGS_TO): Define. (INCLUDES): Define PKGVERSION and REPORT_BUGS_TO. Regenerate dependencies. * Makefile.in: Regenerate. * gprof.c (usage): Don't print empty REPORT_BUGS_TO. (main): Include PKGVERSION in version output. * gprof.h: Remove include of bin-bugs.h. include: 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * bin-bugs.h: Remove. ld: 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * configure.in (--with-bugurl): New option. * configure: Regenerate. * Makefile.am (REPORT_BUGS_TO): Define. (INCLUDES): Define REPORT_BUGS_TO. Regenerate dependencies. * Makefile.in: Regenerate. * ld.h: Remove include of bin-bugs.h. * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
2007-02-17remove unused varAlan Modra1-1/+0
2007-02-17remove unused varAlan Modra1-1/+0
2007-02-17 * write.c: White space fixes.Alan Modra2-65/+31
(fixup_segment): Move symbol_mri_common_p adjustments.. (write_relocs): ..and symbol_equated_reloc_p adjustments.. (adjust_reloc_syms): ..to here.
2007-02-16 * subsegs.c (subseg_change, subseg_get): Use xcalloc rather thanAlan Modra3-289/+268
xmalloc, memset. Don't bother assigning NULL to known zero mem. (subseg_set_rest): Remove unnecessary cast. * write.c: Include libbfd.h. Replace PTR with void * throughout. Remove unnecessary forward declarations and casts. (set_symtab): Delete extern bfd_alloc. (fixup_segment): Move.
2007-02-15 * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID.Nathan Sidwell3-18/+61
* config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names. (mcf5475_ctrl, mcf5485_ctrl): New. (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families. (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling. (init_table): Add asid, mmubar, adjust rombar0.
2007-02-13gas/Alan Modra3-96/+168
* config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete. * config/tc-i386.c: Wrap overly long lines, whitespace fixes. (process_operands): Move old Seg2ShortForm and Seg3ShortForm code, and test for these insns using a combination of opcode_modifier and operand_types. include/opcode/ * i386.h (i386_optab): Replace all occurrences of Seg2ShortForm and Seg3ShortFrom with Shortform.
2007-02-12gas/testsuite/H.J. Lu5-2/+24
2007-02-11 H.J. Lu <hongjiu.lu@intel.com> PR gas/4027 * gas/i386/opcode.s: Add more tests for "test". * i386/opcode-intel.d: Updated. * gas/i386/opcode-suffix.d: Likewise. * gas/i386/opcode.d: Likewise. include/opcode/ 2007-02-11 H.J. Lu <hongjiu.lu@intel.com> PR gas/4027 * i386.h (i386_optab): Put the real "test" before the pseudo one.
2007-02-09Fix ChangeLog entry.Paul Brook1-1/+1
2007-02-072007-02-07 Paul Brook <paul@codesourcery.com>Paul Brook2-0/+5
ld/ * configure.tgt: Add arm*-*-uclinux-*eabi. gas/ * configure.tgt: Ditto.
2007-02-06Fix entries for MeP submission and complex relocations.Dave Brolley1-88/+46
2007-02-06PR gas/3810 gas/3800Nick Clifton3-2/+20
* gas/elf/elf.exp: Expect the redef test to fail on targets which do not convert fixups against ordinary symbols into relocs against section symbols. * gas/all/gas.exp: Likewise.
2007-02-05Support for Toshiba MeP and for complex relocations.Dave Brolley34-2/+11498
2007-02-05Fix year.H.J. Lu1-1/+1
2007-02-052076-02-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-17/+22
PR gas/3961 * gas/i386/secrel.d: Support 64bit host.
2007-02-04* config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3DJ Delorie3-0/+42
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 Wilson2-4/+9
(xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
2007-02-02 * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.Bob Wilson2-51/+107
(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 Wilson3-15/+7
(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 Wilson3-131/+82
* 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-02Fix typos in year.H.J. Lu1-1/+1
2007-02-02 * config/xtensa-relax.c (build_transition): Remove code after as_fatal.Bob Wilson2-59/+31
(build_transition_table): Likewise.
2007-02-02PR gas/3812Nick Clifton2-1/+7
* gas/v850/v850e1.d: Correct expected disassembly of cmov insn to account for sign extension.
2007-02-01 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use ofBob Wilson3-13/+8
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 Modra16-43/+58
(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-30* as.c (main): Mark symbols created via the --defsym command lineNick Clifton3-2/+18
option as volatile so that they can be overridden later on by a .set directive. This maintains compatibility with the behaviour of earlier versions of the assembler. * doc/as.texinfo (--defsym): Document that the defined symbol's value can be overridden via a .set directive.
2007-01-282076-01-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-37/+17
* 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 Delorie2-0/+5
2007-01-22Corrent PR # for PR 3830.H.J. Lu1-1/+1
2007-01-22Mention bug #.H.J. Lu1-0/+2