aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2004-01-09 * gas/config/tc-arm.c (do_vfp_reg2_from_sp2): Rename fromPaul Brook6-9/+83
do_vfp_sp_reg2. (do_vfp_sp2_from_reg2): New function. (insns): Use them. (do_vfp_dp_from_reg2): Check return values properly. * opcodes/arm-opc.h (arm_opcodes): Move generic mcrr after known specific opcodes. * gas/testsuite/gas/arm/vfp2.s, gas/arm/vfp2.d: New test. * gas/testsuite/gas/arm/arm.exp: Add them.
2004-01-09 * config/tc-mips.c (warn_nops): Remove static variable.Ian Lance Taylor5-28/+19
(macro): Remove test of warn_nops. (md_shortops): Remove 'n'. (md_parse_option): Remove 'n' case. (md_show_usage): Remove -n. * doc/as.texinfo (Overview): Remove MIPS -n option. * doc/c-mips.texi (MIPS Opts): Remove mention -n. * NEWS: Mention removal of MIPS -n option.
2004-01-09 * gas/mips/ldstla-n64.d: Pass -64 to assembler, not -n64.Ian Lance Taylor3-2/+7
* gas/mips/ldstla-n64-shared.d: Likewise.
2004-01-09 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.Ian Lance Taylor2-79/+80
(cop_interlocks): Check ISA level. (cop_mem_interlocks): Define. (reg_needs_delay): Check cop_interlocks rather than ISA_HAS_COPROC_DELAYS. (append_insn): Likewise. Use cop_mem_interlocks rather than directly checking mips_opts.isa. (mips_emit_delays): Likewise.
2004-01-072004-01-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-105/+133
* config/tc-ia64.c (unwind): Move next_slot_number and next_slot_frag to ... (unw_rec_list): Here. (free_list_records): Removed. (output_unw_records): Likewise. (generate_unwind_image): Make it void. (alloc_record): Initialize next_slot_number and next_slot_frag. (slot_index): Take .org, .space and .align into account. (fixup_unw_records): Don't set slot_number to 0. Use list->next_slot_number and list->next_slot_frag instead of unwind.next_slot_number and unwind.next_slot_frag. (ia64_convert_frag): New. (generate_unwind_image): Generate a rs_machine_dependent frag for unwind record. (emit_one_bundle): Use list->next_slot_number and list->next_slot_frag instead of unwind.next_slot_number and unwind.next_slot_frag. * config/tc-ia64.h (md_convert_frag): Defined as ia64_convert_frag. (md_estimate_size_before_relax): Defined as (f)->fr_var.
2004-01-07Fix initialisation of debug_line_pointer_sizes array so that it is done as ↵Nick Clifton2-0/+5
needed
2004-01-062003-12-19 Alexandre Oliva <aoliva@redhat.com>Alexandre Oliva3-5/+77
* config/tc-frv.h (md_apply_fix3): Don't define. * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo operands. * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define. 2003-10-07 Alexandre Oliva <aoliva@redhat.com> * config/tc-frv.c (line_separator_chars): Add `!'. 2003-09-19 Alexandre Oliva <aoliva@redhat.com> * config/tc-frv.c (md_assemble): Clear insn upfront. 2003-09-18 Alexandre Oliva <aoliva@redhat.com> * config/tc-frv.c (OPTION_FDPIC): New macro. (md_longopts): Add mfdpic. (md_parse_option): Handle it. 2003-08-04 Alexandre Oliva <aoliva@redhat.com> * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12, FRV_OPERAND_S12>: Use reloc type encoded in fix-up. (frv_pic_ptr): Parse funcdesc.
2004-01-062003-11-05 Alexandre Oliva <aoliva@redhat.com>Alexandre Oliva5-1/+109
* lib/gas-defs.exp (is_elf_format): Match frv-uclinux. 2003-09-18 Alexandre Oliva <aoliva@redhat.com> * gas/frv/fdpic.s, gas/frv/fdpic.d: Renamed from ucpic*. 2003-09-15 Alexandre Oliva <aoliva@redhat.com> * gas/frv/ucpic.s, gas/frv/ucpic.d: Use gr15 as PIC register. Use gprel12 for rodata symbol and gotoff12 for sdata symbol. 2003-08-08 Alexandre Oliva <aoliva@redhat.com> * gas/frv/ucpic.d: Test gotoff and gotofffuncdesc. 2003-08-04 Alexandre Oliva <aoliva@redhat.com> * gas/frv/ucpic.d, gas/frv/ucpic.s: New. * gas/frv/allinsns.exp: Run it.
2004-01-05* doc/as.texinfo: Let texi2pod parse asconfig.texi andMaciej W. Rozycki2-39/+8
gasver.texi. Remove duplicate symbol definitions for texi2pod.
2004-01-05* Makefile.am (Makefile): Move the dependency onMaciej W. Rozycki3-2/+19
$(BFDDIR)/configure.in to... (CONFIG_STATUS_DEPENDENCIES): ... here. (AUTOMAKE_OPTIONS): Require automake 1.8. * Makefile.in: Regenerate. * doc/Makefile.am (BASEDIR, BFDDIR): Define. (CONFIG_STATUS_DEPENDENCIES): Add a dependency on $(BFDDIR)/configure.in here as well. * doc/Makefile.in: Regenerate.
2004-01-05* Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.Maciej W. Rozycki3-9/+12
* Makefile.in: Regenerate. * aclocal.m4: Regenerate. * doc/Makefile.am (install, install-info): Remove. (install-data-local): A new hook for install-info. (AUTOMAKE_OPTIONS): Require automake 1.8. * doc/Makefile.in: Regenerate.
2004-01-02Update description of FP behaviourNick Clifton2-4/+23
2004-01-02Catch a bug in the msp430 disassembler where an add instruction was confusedNick Clifton3-1/+8
with an rla instruction. Add a test for this to the testsuite.
2004-01-02Add m68k-uclinux targetNick Clifton3-0/+6
2004-01-02Split ChangeLog files.Alan Modra4-14398/+14423
2003-12-29 * gas/config/tc-arm.c (arm_cpus): Add 926ejs and 1026ejs.Paul Brook3-1/+11
* gas/doc/c-arm.texi: Document them.
2003-12-23 * doc/c-arm.texi: Document -march=armv6.Paul Brook2-0/+2
2003-12-23 * config/tc-arm.c (arm_archs): Add armv6.Paul Brook2-0/+5
2003-12-22Fix tests to eliminated unexpected failuresNick Clifton5-14/+22
2003-12-22For v6 tests use -march=armv6jNick Clifton3-2/+7
2003-12-20(md_apply_fix3): Handle the case where a .byte directive generates aNick Clifton2-4/+18
pc-relative relocation.
2003-12-19Fix calls to as_perror() so that the errno system message will be printed.Nick Clifton5-148/+152
Fix as_perror() so that errno is not corrupted.
2003-12-19Add support for m32r-linux target, including a RELA ABI and PIC.Nick Clifton18-36/+341
2003-12-18(input_file_open): Remove call to stat(). Add a check for getc() failing, andNick Clifton2-18/+29
catch the case where the failure is due to an attempt to read a directory.
2003-12-18bfd/Richard Sandiford8-118/+65
* elf32-mips.c (elf_mips_howto_table_rel): Replace all uses of mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use _bfd_mips_elf_hi16_reloc for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16, _bfd_mips_elf_lo16_reloc for R_MIPS_LO16 and R_MIPS_GNU_REL_LO16, and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16. Change rightshift to 16 for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16. (mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc) (mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete. (_bfd_mips_elf32_gprel16_reloc): Remove special case. (mips_elf_gprel32_reloc, mips32_64bit_reloc): Likewise. * elf64-mips.c (mips_elf64_howto_table_rel): Replace all uses of mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use _bfd_mips_elf_hi16_reloc for R_MIPS_HI16, _bfd_mips_elf_lo16_reloc for R_MIPS_LO16 and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16. Change R_MIPS_HI16's rightshift to 16. (mips_elf64_howto_table_rela): Replace all uses of mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use _bfd_mips_elf_generic_reloc for R_MIPS_GOT16 as well. (mips_elf64_hi16_reloc, mips_elf64_got16_reloc): Delete. (mips_elf64_shift6_reloc): Remove special case. Use _bfd_mips_elf_generic_reloc instead of returning bfd_reloc_continue. * elfn32-mips.c (prev_reloc_section): Delete. (prev_reloc_address, prev_reloc_addend): Delete. (elf_mips_howto_table_rel, elf_mips_howto_table_rela): As for elf64-mips.c (GET_RELOC_ADDEND, SET_RELOC_ADDEND): Delete. (mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc) (mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete. (mips_elf_gprel16_reloc): Delete use of GET_RELOC_ADDEND. (mips_elf_literal_reloc, mips_elf_gprel32_reloc): Likewise. (mips16_jump_reloc, mips16_gprel_reloc): Likewise. (mips_elf_shift6_reloc): Likewise. Delete use of SET_RELOC_ADDEND. * elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp): Use _bfd_relocate_contents to install an in-place addend. (mips_hi16): New structure. (mips_hi16_list): Moved from elf32-mips.c. (_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_got16_reloc): New functions. (_bfd_mips_elf_lo16_reloc, _bfd_mips_elf_generic_reloc): New functions. (mips_elf_calculate_relocation): Assume addend is unshifted. (_bfd_mips_elf_relocate_section): Don't apply the howto rightshift on top of the usual high-part shift. Don't shift the addend right before calling mips_elf_calculate_relocation. * elfxx-mips.h (_bfd_mips_elf_hi16_reloc): Declare. (_bfd_mips_elf_got16_reloc, _bfd_mips_elf_lo16_reloc): Declare. (_bfd_mips_elf_generic_reloc): Declare. gas/ * config/tc-mips.c (mips_need_elf_addend_fixup): Delete. (md_apply_fix3): Remove bfd_install_relocation workarounds. (tc_gen_reloc): Likewise. Factor handling of pc-relative relocations and treat fx_addnumber as relative to the relocation address. gas/testsuite/ * gas/mips/mips16-jalx.d: Use -mabi=o64. * gas/mips/mips16.d: Likewise. * gas/mips/elf-rel17.[sd]: New test. * gas/mips/mips.exp: Run it.
2003-12-18 * config/tc-mips.c (s_change_section): When parsing the MIPS-specificRichard Sandiford2-0/+21
.section syntax, map SHT_MIPS_DWARF to SHT_PROGBITS.
2003-12-18 * config/tc-arm.c (arm_archs): Change "armv6" to "armv6j".Mark Mitchell3-2/+7
* doc/c-arm.texi (ARM Options): Likewise.
2003-12-17Replace --error-explicit-parallel-conflicts with --ignore-parallel-conflitcs.Nick Clifton6-65/+97
Add test of parallel constraint checking.
2003-12-16Remove -8 bias on PC-relative load instructions for arm-wince-pe targetNick Clifton8-6/+386
2003-12-15 * gas/z8k/eidi.s: Add uppercase forms. Add forms with commaChristian Groessler2-0/+25
separated parameters.
2003-12-15 * config/tc-z8k.c (struct z8k_exp): Remove, not used anywhere.Christian Groessler2-26/+80
(ctrl_table): Add "flags" keyword and some comments. (flag_table): Convert to uppercase. (get_flags_operand): Be case insensitive. (get_interrupt_operand): Be case insensitive. Support notation where the inperrupt arguments are separated by commas. (get_operands): Check whether get_flags_operand consumed all arguments. Return failure if get_ctrl_operand didn't recognize a valid control register. (get_specific): Add case CLASS_CTRL: Test for valid control register for ldctlb opcode. (build_bytes): Check for valid control registers.
2003-12-15(obj_crawl_symbol_chain): Skip defined symbols which resolve to symbolic values.Nick Clifton2-2/+11
2003-12-15 * gas/arm/thumbv6.s: Add nops.Mark Mitchell3-1/+17
* gas/arm/thumbv6.d: Use -M force-thumb option to objdump. Add nops.
2003-12-13 * gas/mmix/basep-8.d: Update for lcomm symbol type change.Alan Modra3-4/+9
* gas/mmix/basep-9.d: Likewise.
2003-12-13 * config/obj-elf.c: Convert to C90, remove unneeded prototypes andAlan Modra3-214/+142
casts. Formatting. * config/obj-elf.h: Remove PARAMS.
2003-12-13 * read.c (s_lcomm_internal): Make global.Alan Modra4-12/+31
* read.h (s_lcomm_internal): Declare. * config/obj-elf.c (elf_pseudo_table): Handle lcomm. (obj_elf_lcomm): New function.
2003-12-13 * read.c: Remove unneeded prototypes.Alan Modra5-368/+236
(s_comm): Split out code to.. (s_comm_internal): ..here. Tidy error returns. Rearrange so that "name" from input line may be used in more places. Merge code testing for valid size from elf_common. Merge code from s_lcomm_internal. Call comm_parse_extra. (bss_alloc): New function, split out of s_lcomm_internal and elf_common. (parse_align): Likewise. (s_lcomm_internal): Rewrite. (s_lcomm, s_lcomm_bytes): Use s_comm_internal. * read.h (bss_alloc, parse_align, s_comm_internal): Declare. * config/obj-elf.c (elf_common): Split out code to.. (elf_common_parse): ..here. Remove code common to s_comm_internal, parse_align and bss_alloc. Rearrange and Tidy. * config/tc-alpha.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Define.
2003-12-10opcodes:Zack Weinberg5-80/+103
* ppc-opc.c (MO): Make optional. (RAO, RSO, SHO): New optional forms of RA, RS, SH operands. (tlbwe): Accept for both PPC403 and BOOKE. Make all operands optional. gas: * tc-ppc.c (md_assemble): Rewrite comment about optional operands to indicate that 'all or none' is also handled. Pluralize a word in another comment. gas/testsuite: * gas/ppc/booke.s: Add two more forms of the mbar instruction and three forms of the tlbwe instruction. * gas/ppc/booke.d: Update to match.
2003-12-10 * gas/arm/arm.exp: Add r15-bad.Paul Brook4-0/+140
* gas/arm/r15-bad.s: New file. * gas/arm/r15-bad.l: New file.
2003-12-10 * config/tc-arm.c (FPU_MAVERICK): Define.Paul Brook4-9/+96
(FPU_ARCH_MAVERICK): Define. (arm_float_abi): Define. (mfloat_abi_opt): New variable. (md_begin): Use them. (arm_opts): Add msoft-float and mhard-float. (arm_cpus): Use FPU_ARCH_MAVERICK. (arm_fpus): Add maverick. (arm_float_abis): Add. (arm_parse_float_abi): New function. (arm_long_options): Add mfloat-abi. * doc/as.texinfo: Document -mfloat-abi=. * doc/c-arm.text: Ditto. Menution -fpu=maverick.
2003-12-10Remove redundant returns in void functions.Ben Elliston11-124/+0
2003-12-09 * config/tc-arm.c (do_umaal): Fix typo.Paul Brook2-1/+5
2003-12-06 * dwarf2dbg.c: Convert to ISO-C.Kazu Hirata4-162/+115
* write.c: Likewise. * write.h: Likewise.
2003-12-06gas/Richard Sandiford8-9/+44
* config/tc-mips.c (macro): Switch misordered call to frag_grow() and setting of tc_fr_offset. gas/testsuite/ * gas/mips/elf-rel16.[sd]: New test. * gas/mips/mips.exp: Run it. * gas/mips/elf-rel-xgot-n32.d: Fix addends for "lw $5,dl1+34($5)". * gas/mips/elf-rel-xgot-n64.d: Likewise.
2003-12-06 * gas/arm/arm.exp: Add archv6 and thumbv6.Mark Mitchell10-14/+1714
* gas/arm/archv6.d: New file. * gas/arm/archv6.s: Likewise. * gas/arm/thumbv6.d: Likewise. * gas/arm/thumbv6.s: Likewise. Add V6 support. * config/tc-arm.c (ARM_EXT_V6): New macro. (ARM_ARCH_V6): Likewise. (SHIFT_IMMEDIATE): Likewise. (SHIFT_LSL_OR_ASR_IMMEDIATE): Likewise. (SHIFT_ASR_IMMEDIATE): Likewise. (SHIFT_LSL_IMMMEDIATE): Likewise. (do_cps): New function. (do_cpsi): Likewise. (do_ldrex): Likewise. (do_pkhbt): Likewise. (do_pkhtb): Likewise. (do_qadd16): Likewise. (do_rev): Likewise. (do_rfe): Likewise. (do_sxtah): Likewise. (do_sxth): Likewise. (do_setend): Likewise. (do_smlad): Likewise. (do_smlald): Likewise. (do_smmul): Likewise. (do_ssat): Likewise. (do_usat): Likewise. (do_srs): Likewise. (do_ssat16): Likewise. (do_usat16): Likewise. (do_strex): Likewise. (do_umaal): Likewise. (do_cps_mode): Likewise. (do_cps_flags): Likewise. (do_endian_specifier): Likewise. (do_pkh_core): Likewise. (do_sat): Likewise. (do_sat16): Likewise. (insns): Add V6 instructions. (do_t_cps): New function. (do_t_cpy): Likewise. (do_t_setend): Likewise. (THUMB_CPY): New macro. (tinsns): Add V6 instructions. (decode_shift): Handle V6 restricted-shift options. (thumb_mov_compare): Support CPY. (arm_cores): Add arm1136js and arm1136jfs. (arm_archs): Add armv6. (arm_fpus): Add arm1136jfs. * doc/c-arm.texi (ARM Options): Mention arm1136js, arm1136jfs, and armv6 options. * gas/arm/arm.exp: Add archv6 and thumbv6. * gas/arm/archv6.d: New file. * gas/arm/archv6.s: Likewise. * gas/arm/thumbv6.d: Likewise. * gas/arm/thumbv6.s: Likewise. * arm-dis.c (print_arm_insn): Add 'W' macro. * arm-opc.h (arm_opcodes): Add V6 instructions. (thumb_opcodes): Likewise.
2003-12-05 * config/tc-z8k.c (parse_reg): Be case insensitive when checkingChristian Groessler2-24/+25
register names. (get_ctrl_operand): Be case insensitive when checking ctrl names.
2003-12-05 * gas/z8k/ctrl-names.d: New file.Christian Groessler4-0/+86
* gas/z8k/ctrl-names.s: New file. * gas/z8k/z8k.exp: Run new tests.
2003-12-05Don't blame aoliva for my work.Michael Snyder1-2/+7
2003-12-05Fix SH compilation problems introduced by previous deltaNick Clifton2-10/+17
2003-12-052003-12-03 Alexandre Oliva <aoliva@redhat.com>Michael Snyder17-18/+822
* config/tc-sh.c: Add support for sh4a and no-fpu variants, with appropriate additions to md_show_usage. * testsuite/gas/sh/basic.exp: Call tests for sh4a. * testsuite/gas/sh/{err-sh4a-fp.s, err-sh4a.s, err-sh4al-dsp.s, sh4a-dsp.d, sh4a-dsp.s, sh4a-fp.d, sh4a-fp.s, sh4a.d, sh4a.s, sh4al-dsp.d, sh4al-dsp.s: New files, tests for sh4a and related variants. * doc/c-sh.texi: Document new -isa options. * doc/c-sh64.texi: Ditto. * NEWS: Mention new support for sh4a.