aboutsummaryrefslogtreecommitdiff
path: root/gas/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2006-10-20* config/tc-i386.c (md_parse_option): Use CONST_STRNEQ.Mike Frysinger1-0/+5
(x86_64_section_letter): Likewise.
2006-10-19Fix score bugsNick Clifton1-0/+5
2006-10-182006-10-18 Roy Marples <uberlord@gentoo.org>Mike Frysinger1-0/+9
* bfd/elf64-sparc.c: Add FreeBSD support. (elf64_sparc_fbsd_post_process_headers): New function. * bfd/targets.c (_bfd_target_vector): Add bfd_elf64_sparc_freebsd_vec. * bfd/config.bfd (sparc64-*-freebsd*): Set targ_defvec to bfd_elf64_sparc_freebsd_vec. * bfd/configure.in: Add entry for bfd_elf64_sparc_freebsd_vec. * bfd/configure: Regenerate. * gas/config/tc-sparc.c (md_parse_option): Treat any target starting with elf32-sparc as a viable target for the -32 switch and any target starting with elf64-sparc as a viable target for the -64 switch. (sparc_target_format): For 64-bit ELF flavoured output use ELF_TARGET_FORMAT64 while for 32-bit ELF flavoured output use ELF_TARGET_FORMAT. * gas/config/tc-sparc.h (ELF_TARGET_FORMAT, ELF_TARGET_FORMAT64): Define. * ld/emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as elf64-sparc-freebsd.
2006-10-172006-10-17 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-0/+4
* configure: Regenerated.
2006-10-16 * input-scrub.c (input_scrub_next_buffer): Use TC_EOL_IN_INSNBernd Schmidt1-0/+6
in addition to testing for '\n'. (TC_EOL_IN_INSN): Provide a default definition if necessary.
2006-10-13* dwarf2dbg.c (out_debug_info): Use TC_DWARF2_EMIT_OFFSET to emit a disjoint ↵Nick Clifton1-0/+5
DW_AT range.
2006-10-13 * config/tc-score.c (md_show_usage): Print -KPIC option usage.Nick Clifton1-0/+4
2006-10-082006-10-08 Paul Brook <paul@codesourcery.com>Paul Brook1-0/+8
gas/ * config/tc-arm.c (parse_big_immediate): 64-bit host fix. (parse_operands): Use parse_big_immediate for OP_NILO. (neon_cmode_for_logic_imm): Try smaller element sizes. (neon_cmode_for_move_imm): Ditto. (do_neon_logic): Handle .i64 pseudo-op. gas/testsuite/ * testsuite/gas/arm/neon-cov.s: Test pseudo-instruction forms of vmov, vmvn and logic immediate instructions. * testsuite/gas/arm/neon-cov.d: ditto.
2006-09-29Regenerate.Alan Modra1-0/+4
2006-09-28gas/H.J. Lu1-0/+12
2006-09-28 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.h (CpuMNI): Renamed to ... (CpuSSSE3): This. (CpuUnknownFlags): Updated. (processor_type): Replace PROCESSOR_YONAH with PROCESSOR_CORE and PROCESSOR_MEROM with PROCESSOR_CORE2. * config/tc-i386.c: Updated. * doc/c-i386.texi: Likewise. * config/tc-i386.c (cpu_arch): Add ".ssse3", "core" and "core2". include/opcode/ 2006-09-28 H.J. Lu <hongjiu.lu@intel.com> * i386.h: Replace CpuMNI with CpuSSSE3.
2006-09-28* config/tc-arm.c (md_apply_fix): do not clear write_back bitNick Clifton1-0/+4
* gas/arm/iwmmxt-wldstbh.s: New file. * gas/arm/iwmmxt-wldstbh.d: New file.
2006-09-27* output-file.c (output_file_close): Prevent an infinite loop reporting that ↵Nick Clifton1-0/+5
stdoutput could not be closed.
2006-09-26bfd/Joseph Myers1-0/+22
2006-09-26 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> Ian Lance Taylor <ian@wasabisystems.com> Ben Elliston <bje@wasabisystems.com> * archures.c: Add definition for bfd_mach_arm_iWMMXt2. * cpu-arm.c (processors): Add bfd_mach_arm_iWMMXt2. (arch_info_struct, bfd_arm_update_notes): Likewise. (architectures): Likewise. (bfd_arm_merge_machines): Check for iWMMXt2. * bfd-in2.h: Rebuild. gas/ 2006-09-26 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> Ian Lance Taylor <ian@wasabisystems.com> Ben Elliston <bje@wasabisystems.com> * config/tc-arm.c (arm_cext_iwmmxt2): New. (enum operand_parse_code): New code OP_RIWR_I32z. (parse_operands): Handle OP_RIWR_I32z. (do_iwmmxt_wmerge): New function. (do_iwmmxt_wldstd): Handle iwmmxt2 case where second operand is a register. (do_iwmmxt_wrwrwr_or_imm5): New function. (insns): Mark instructions as RIWR_I32z as appropriate. Also add torvsc<b,h,w>, wabs<b,h,w>, wabsdiff<b,h,w>, waddbhus<l,m>, waddhc, waddwc, waddsubhx, wavg4{r}, wmaddu{x,n}, wmadds{x,n}, wmerge, wmiaxy{n}, wmiawxy{n}, wmul<sm,um>{r}, wmulw<um,sm,l>{r}, wqmiaxy{n}, wqmulm{r}, wqmulwm{r}, wsubaddhx. (md_begin): Handle IWMMXT2. (arm_cpus): Add iwmmxt2. (arm_extensions): Likewise. (arm_archs): Likewise. gas/testsuite/ 2006-09-26 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> Ian Lance Taylor <ian@wasabisystems.com> Ben Elliston <bje@wasabisystems.com> * gas/arm/iwmmxt2.s: New file. * gas/arm/iwmmxt2.d: New file. include/opcode/ 2006-09-26 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> Ian Lance Taylor <ian@wasabisystems.com> Ben Elliston <bje@wasabisystems.com> * arm.h (ARM_CEXT_IWMMXT2, ARM_ARCH_IWMMXT2): Define. opcodes/ 2006-09-26 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> Ian Lance Taylor <ian@wasabisystems.com> Ben Elliston <bje@wasabisystems.com> * arm-dis.c (coprocessor_opcodes): The X-qualifier to WMADD may only be used with the default multiply-add operation, so if N is set, don't bother printing X. Add new iwmmxt instructions. (IWMMXT_INSN_COUNT): Update. (iwmmxt_wwssnames): Qualify "wwss" names at index 2, 6, 10 and 14 with a 'c' suffix. (print_insn_coprocessor): Check for iWMMXt2. Handle format specifiers 'r', 'i'.
2006-09-25 * doc/as.texinfo (Overview): Revise description of --keep-locals.Bob Wilson1-0/+10
Add xref to "Symbol Names". (L): Refer to "local symbols" instead of "local labels". Move definition to "Symbol Names" section; add xref to that section. (Symbol Names): Use "Local Symbol Names" section to define local symbols. Add "Local Labels" heading for description of temporary forward/backward labels, and refer to those as "local labels".
2006-09-23gas/H.J. Lu1-0/+7
2006-09-23 H.J. Lu <hongjiu.lu@intel.com> PR binutils/3235 * config/tc-i386.c (match_template): Check address size prefix to turn Disp64/Disp32/Disp16 operand into Disp32/Disp16/Disp32 operand. gas/testsuite/ 2006-09-23 H.J. Lu <hongjiu.lu@intel.com> PR binutils/3235 * gas/i386/addr16.d: New file. * gas/i386/addr16.s: Likewise. * gas/i386/addr32.d: Likewise. * gas/i386/addr32.s: Likewise. * gas/i386/i386.exp: Add "addr16" and "addr32". * gas/i386/x86-64-addr32.s: Add tests for "add32 mov". * gas/i386/x86-64-addr32.d: Updated. opcodes/ 2006-09-23 H.J. Lu <hongjiu.lu@intel.com> PR binutils/3235 * i386-dis.c (OP_OFF64): Get 32bit offset if there is an address size prefix.
2006-09-22 * config/tc-ppc.c (ppc_symbol_chars): Remove '+' and '-'.Alan Modra1-0/+4
2006-09-22 * as.h (as_perror): Delete declaration.Alan Modra1-0/+13
* gdbinit.in (as_perror): Delete breakpoint. * messages.c (as_perror): Delete function. * doc/internals.texi: Remove as_perror description. * listing.c (listing_print: Don't use as_perror. * output-file.c (output_file_create, output_file_close): Likewise. * symbols.c (symbol_create, symbol_clone): Likewise. * write.c (write_contents): Likewise. * config/obj-som.c (obj_som_version, obj_som_copyright): Likewise. * config/tc-tic54x.c (tic54x_mlib): Likewise.
2006-09-22 * config/tc-ppc.c (md_section_align): Don't round up address for ELF.Alan Modra1-0/+7
(ppc_handle_align): New function. * config/tc-ppc.h (HANDLE_ALIGN): Use ppc_handle_align. (SUB_SEGMENT_ALIGN): Define as zero.
2006-09-20 * doc/as.texinfo: Fix cross reference usage, typos and grammar.Bob Wilson1-0/+5
(Overview): Skip cross reference in man page.
2006-09-20Add x86_64-mingw64 targetNick Clifton1-0/+14
2006-09-18 * config/bfin-parse.y (binary): Change sub of const to add of negatedBernd Schmidt1-0/+5
const.
2006-09-16Add support for Score target.Nick Clifton1-0/+9
2006-09-162006-09-16 Paul Brook <paul@codesourcery.com>Paul Brook1-0/+5
gas/ * config/tc-arm.c (s_arm_unwind_movsp): Add offset argument. * doc/c-arm.texi (movsp): Document offset argument. gas/testsuite/ * gas/arm/unwind.s: Test two argument form of .movsp. * gas/arm/unwind.d: Update expected output. * gas/arm/unwind_vxworks.d: Ditto.
2006-09-162006-09-16 Paul Brook <paul@codesourcery.com>Paul Brook1-0/+5
* config/tc-arm.c (thumb32_negate_data_op): Consistently use unsigned int to avoid 64-bit host problems.
2006-09-15 * config/bfin-parse.y (binary): Do some more constant folding forBernd Schmidt1-0/+5
additions.
2006-09-132006-09-13 Jan Beulich <jbeulich@novell.com>Jan Beulich1-0/+5
* input-file.c (input_file_give_next_buffer): Demote as_bad to as_warn.
2006-09-13 PR gas/3165Alan Modra1-0/+6
* config/tc-sh (DWARF2_CIE_DATA_ALIGNMENT): Wrap negative number in parens.
2006-09-13 * input-file.h: Update comment.Alan Modra1-0/+1
2006-09-12 * input-file.c (input_file_open): Replace as_perror with as_badAlan Modra1-0/+7
so that gas exits with error on file errors. Correct error message. (input_file_get, input_file_give_next_buffer): Likewise.
2006-09-11PR gas/3172Nick Clifton1-0/+6
* config/tc-arm.c (parse_typed_reg_or_scalar): Accept wCg class registers as a sub-class of wC registers.
2006-09-11 PR gas/3165Alan Modra1-0/+8
* config/tc-mips.h (enum dwarf2_format): Forward declare. (DWARF2_CIE_DATA_ALIGNMENT): Wrap negative number in parens. * config/tc-alpha.h (DWARF2_CIE_DATA_ALIGNMENT): Likewise. * config/tc-arm.h (DWARF2_CIE_DATA_ALIGNMENT): Likewise.
2006-09-08PR gas/3129Nick Clifton1-0/+6
* doc/as.texinfo (Macro): Improve documentation about separating macro arguments from following text.
2006-09-082006-09-08 Paul Brook <paul@codesourcery.com>Paul Brook1-0/+4
gas/ * config/tc-arm.c (insns): Allow ARM IT pseudo-insn on all cores. gas/testsuite/ * gas/arm/arm-it.s: New test. * gas/arm/arm-it.d: New test.
2006-09-072006-09-07 Paul Brook <paul@codesourcery.com>Paul Brook1-0/+4
gas/ * config/tc-arm.c (parse_operands): Mark operand as present. gas/testsuite/ * gas/arm/neon-omit.s: Test three-argument variants. * gas/arm/neon-omit.d: Update expected output.
2006-09-052006-09-04 Paul Brook <paul@codesourcery.com>Paul Brook1-0/+8
gas/ * config/tc-arm.c (do_neon_dyadic_if_i): Remove. (do_neon_dyadic_if_i_d): Avoid setting U bit. (do_neon_mac_maybe_scalar): Ditto. (do_neon_dyadic_narrow): Force operand type to NT_integer. (insns): Remove out of date comments. gas/testsuite/ * gas/arm/neon-cov.s: Test .u and .s aliases for .i suffixes. * gas/arm/neon-cov.d: Adjust expected output. opcodes/ * arm-dis.c (neon_opcode): Fix suffix on VMOVN.
2006-08-29* read.c (s_align): Initialize the 'stopc' variable to preventNick Clifton1-0/+8
compiler complaints about it being used without being initialized. (s_comm_internal, s_mri_common, s_fail, s_globl, s_space, s_float_space, s_struct, cons_worker, equals): Likewise.
2006-08-29 * ecoff.c (ecoff_directive_val): Fix message typo.Alan Modra1-0/+6
* config/tc-ns32k.c (convert_iif): Likewise. * config/tc-sh64.c (shmedia_check_limits): Likewise.
2006-08-25 * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Do not checkBob Wilson1-0/+7
the state of the absolute_literals directive. Remove align frag at the start of the literal pool position.
2006-08-25 * doc/c-xtensa.texi: Add @group commands in examples.Bob Wilson1-0/+4
2006-08-25bfd/Bob Wilson1-0/+39
* elf32-xtensa.c (xtensa_get_property_section_name): Delete. (xtensa_get_property_section): New. (xtensa_read_table_entries): Use xtensa_get_property_section. (relax_property_section, xtensa_get_property_predef_flags): Handle group name suffixes in property section names. (match_section_group): New. gas/ * config/tc-xtensa.c (FINI_LITERAL_SECTION_NAME): Delete. (INIT_LITERAL_SECTION_NAME): Delete. (lit_state struct): Remove segment names, init_lit_seg, and fini_lit_seg. Add lit_prefix and current_text_seg. (init_literal_head_h, init_literal_head): Delete. (fini_literal_head_h, fini_literal_head): Delete. (xtensa_begin_directive): Move argument parsing to xtensa_literal_prefix function. (xtensa_end_directive): Deallocate lit_prefix field of lit_state. (xtensa_literal_prefix): Parse the directive argument here and record it in the lit_prefix field. Remove code to derive literal section names. (linkonce_len): New. (get_is_linkonce_section): Use linkonce_len. Check for any ".gnu.linkonce.*" section, not just text sections. (md_begin): Remove initialization of deleted lit_state fields. (xtensa_reorder_segments, xtensa_post_relax_hook): Remove references to init_literal_head and fini_literal_head. (xtensa_move_literals): Likewise. Skip literals for .init and .fini when traversing literal_head list. (match_section_group): New. (cache_literal_section): Rewrite to determine the literal section name on the fly, create the section and return it. (xtensa_switch_to_literal_fragment): Adjust for cache_literal_section. (xtensa_switch_to_non_abs_literal_fragment): Likewise. (xtensa_create_property_segments, xtensa_create_xproperty_segments): Use xtensa_get_property_section from bfd. (retrieve_xtensa_section): Delete. * doc/c-xtensa.texi (Xtensa Options): Fix --text-section-literals description to refer to plural literal sections and add xref to the Literal Directive section. (Literal Directive): Describe new rules for deriving literal section names. Add footnote for special case of .init/.fini with --text-section-literals. (Literal Prefix Directive): Replace old naming rules with xref to the Literal Directive section. ld/ * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*. * scripttempl/elfxtensa.sc (.text): Add .literal.*.
2006-08-21gas:Joseph Myers1-0/+5
* config/tc-arm.c (s_arm_unwind_save_mmxwr): Correct condition for merging with previous long opcode. gas/testsuite: * gas/arm/unwind.s: Test not merging iWMMXt register save with previous long opcode. * gas/arm/unwind.d, gas/arm/unwind_vxworks.d: Update.
2006-08-21bfdNick Clifton1-0/+7
* Makefile.am: Add rules to build pe-arm-wince.lo and pei-arm-wince.lo objects. * Makefile.in: Regenerate. * pe-arm-wince.c: New file. * pei-arm-wince.c: New file. * pei-arm.c: Remove ARM_WINCE block. * pe-arm.c: Remove ARM_WINCE block. Rename bfd_arm_pe_allocate_interworking_sections, bfd_arm_pe_get_bfd_for_interworking, and bfd_arm_pe_process_before_allocation to bfd_armpe_allocate_interworking_sections, bfd_armpe_get_bfd_for_interworking, and bfd_armpe_process_before_allocation. Move them before including bfd.h. * bfd.c: ARM wince bfd format names were renamed. Adjust. * coff-arm.c [ARM_WINCE]: Adjust so Windows CE doesn't end up with unexpected/conflicting relocs. * targets.c: The arm-wince-pe target got its own new vector. Adjust. * config.bfd: Likewise. * configure.in: Likewise. * configure: Regenerate. binutils * configure.in: Split arm-pe and arm-wince-pe. Build dlltool with -DDLLTOOL_ARM_WINCE for Windows CE case. * configure: Regenerate. * dlltool.c: Add support for arm-wince. gas * Makefile.am (TARG_ENV_HFILES): Add te-wince-pe.h. * Makefile.in: Regenerate. * config/tc-arm.h [TARGET_FORMAT]: ARM wince bfd names were renamed. Adjust. ld * Makefile.am: Split arm-wince into its own emulation. * Makefile.in: Regenerate. * configure.tgt: Set targ_emul to arm_wince_pe for ARM Windows CE targets. * pe-dll.c : Define PE_ARCH_arm_wince. (pe_detail_list): Add PE_ARCH_arm_wince case. (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases. * emulparams/arm_wince_pe.sh: New file. * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define. Remap bfd_arm_allocate_interworking_sections, bfd_arm_get_bfd_for_interworking and bfd_arm_process_before_allocation for arm-pe and arm-wince-pe targets too. (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and arm-epoc bfd format names.
2006-08-16 * config/tc-arm.c (md_assemble): Improve diagnostic when attemptingJulian Brown1-0/+8
to use ARM instructions on non-ARM-supporting cores. (autoselect_thumb_from_cpu_variant): New function. Switch on Thumb mode automatically based on cpu variant. (md_begin): Call above function.
2006-08-16 * config/tc-arm.c (opcode_lookup): Allow Neon type suffixes to beJulian Brown1-0/+5
recognized in non-unified syntax mode.
2006-08-15 [ ChangeLog ]Thiemo Seufer1-0/+6
* config.sub: Add support for sde as alias of mipsisa32-sde-elf. [ bfd/ChangeLog ] * config.bfd: Add configurations for mips*el-sde-elf* and mips*-sde-elf*. [ binutils/testsuite/ChangeLog ] * binutils-all/readelf.exp (readelf_test): Handle mips*-sde-elf*. [ gas/ChangeLog ] * configure.tgt: Handle mips*-sde-elf*. [ gas/testsuite/ChangeLog ] * gas/mips/mips.exp: Handle mips*-sde-elf*.
2006-08-12 [ gas/ChangeLog ]Thiemo Seufer1-0/+5
* config/tc-mips.c (mips16_ip): Fix argument register handling for restore instruction. [ gas/testsuite/ChangeLog ] * gas/mips/mips16-save.d: Fix testcase.
2006-08-08gas/ChangeLog:Bob Wilson1-0/+9
* dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): New. (out_sleb128): New. (out_fixed_inc_line_addr): New. (process_entries): Use out_fixed_inc_line_addr when DWARF2_USE_FIXED_ADVANCE_PC is set. * config/tc-xtensa.h (DWARF2_USE_FIXED_ADVANCE_PC): Define. gas/testsuite/ChangeLog: * gas/lns/lns-common-1-alt.d: New file. * gas/lns/lns.exp: Use lns-common-1-alt.d for xtensa targets.
2006-08-08* config/tc-sh.c (sh_frob_section): Canonicalize pointers to localDJ Delorie1-0/+6
vs full symbols so that we never have more than one pointer value for any given symbol in our symbol table.
2006-08-08* dwarf2dbg.c (out_debug_info): Add new parameter ranges_seg and emitNick Clifton1-0/+11
DW_AT_ranges when code in compilation unit is not contiguous. (out_debug_abbrev): Emit DW_AT_ranges abbreviation if code in is not contiguous. (dwarf2_finish): Create and pass ranges_seg to out_debug_info. (out_debug_ranges): New function to emit .debug_ranges section when code is not contiguous.
2006-08-08* config/tc-arm.c (WARN_DEPRECATED): Enable.Nick Clifton1-0/+4